tracking: Azure Blob Delete does not honor If-None-Match wildcard semantics
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- azure
- Domain
- cloud
Research direction
Review related issues #8141 and #8157 alongside the linked Azure Blob Storage and RFC 9110 documentation. The issue identifies no OpenDAL file or test to change; done would require documenting or testing the provider limitation only if maintainers define that scope, or tracking an Azure service correction.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 5.5k
- Forks
- 869
- Avg merge
- 8h 2m
- Merged PRs (30d)
- 862
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryPossibly taken @xgbtxy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 81/100
apache/opendal#9635 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
core enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/opendal#9572 · 1 reaction ·
Maintainers usually reply within 1 day
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapPossibly taken @rohan4naik claimed this today. Openbindings/nodejs bug
Difficulty 3/5 1-2 days Newbie friendliness 76/100
apache/opendal#9569 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Possibly taken @Xuanwo claimed this today. Openbug core
Difficulty 5/5 Over a week Newbie friendliness 25/100
apache/opendal#9567 · 1 reaction ·
Maintainers usually reply within 1 day
-
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
Difficulty 5/5 Over a week Newbie friendliness 20/100
apache/opendal#9560 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
Android bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anefzaoui/misterdownloadmanager#2516 ·
Maintainers usually reply within 1 day
-
editor ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
state:triage tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
agent8-cash/ethpayserver#731 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day