tracking: Azure Blob Delete does not honor If-None-Match wildcard semantics
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- azure
- Ambito
- cloud
Direzione di ricerca
Esamina le issue correlate #8141 e #8157 insieme alla documentazione collegata di Azure Blob Storage e RFC 9110. L’issue non identifica alcun file o test OpenDAL da modificare; il lavoro sarebbe completato solo se i maintainer definissero tale ambito e si documentasse o testasse la limitazione del provider, oppure se si tenesse traccia di una correzione del servizio Azure.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Azure Blob Storage's Delete Blob API accepts If-None-Match, but the live service does not apply the documented wildcard semantics when the value is *. It deletes an existing blob instead of rejecting the request.
This is an Azure Blob Storage service behavior discrepancy, not an OpenDAL bug. OpenDAL forwards the standard If-None-Match header unchanged.
Live service reproduction
Reproduced against the actual Azure Blob Storage service on 2026-08-27 using raw Shared Key REST requests, without OpenDAL or Azurite. The requests used x-ms-version: 2022-11-02.
Wildcard case:
- Create a blob:
201 Created. - Delete it with
If-None-Match: *:202 Accepted. - Issue
HEADfor the blob:404 BlobNotFound.
The wildcard DELETE request ID was 91443d9d-701e-0018-5cfc-354f9c000000.
Control case using the blob's current ETag:
- Create another blob:
201 Created. - Delete it with
If-None-Match: <current-etag>:412 ConditionNotMet. - Issue
HEADfor the blob:200 OK.
The control DELETE request ID was c1929a10-701e-006a-13fc-3548d3000000.
The control confirms that Azure evaluates If-None-Match for DELETE, but does not recognize * with its documented wildcard meaning.
Expected behavior
Azure documents that If-None-Match accepts *, and that the wildcard condition fails when the target resource exists. For a DELETE request, the service should return 412 Precondition Failed and leave the blob intact.
This also follows the HTTP semantics in RFC 9110 Section 13.1.2.
OpenDAL impact
This issue tracks the external service limitation and any future Azure resolution. It does not propose an OpenDAL fix:
- OpenDAL already sends the caller-provided
If-None-Matchvalue as a standard HTTP header. - Emulating the condition with
HEADfollowed by unconditionalDELETEwould introduce a race and would not provide atomic conditional-delete semantics. - OpenDAL may document or test this provider limitation where relevant, but it should not claim that Azure honors wildcard conditional delete until the live service behavior changes.
Related to #8141 and #8157.
AI assisted with the live-service reproduction and drafting. The contributor directed the scope and conclusion.
- Lingua principale
- Rust
- Stelle
- 5.5k
- Fork
- 869
- Merge medio
- 8h 2m
- PR unite (30g)
- 862
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryForse già presa @xgbtxy l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
apache/opendal#9635 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
core enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
apache/opendal#9572 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapForse già presa @rohan4naik l’ha presa oggi. Apertabindings/nodejs bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
apache/opendal#9569 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Forse già presa @Xuanwo l’ha presa oggi. Apertabug core
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
apache/opendal#9567 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bindings/c bindings/dotnet bindings/go bindings/java bindings/python bindings/ruby core integrations/object_store release release-blocker services/azblob services/azdls services/dropbox services/gcs_grpc services/git services/hf3fs services/redis services/remotestorage services/s3 website
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
apache/opendal#9560 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/opendal
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
I maintainer di solito rispondono entro 17 giorni
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execApertabug rust SDK & CLI & REST API
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
boxlite-ai/boxlite#3292 ·
I maintainer di solito rispondono entro 1 giorno
-
Android bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
anefzaoui/misterdownloadmanager#2516 ·
I maintainer di solito rispondono entro 1 giorno
-
editor ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:triage tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 89/100
agent8-cash/ethpayserver#731 ·
I maintainer di solito rispondono entro 1 giorno