bug(services/azblob,azdls): filter empty account keys consistently and verify multipart copy auth paths
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start with core/services/azblob/src/backend.rs and core/services/azdls/src/backend.rs, then trace azblob_put_block_from_url in core/services/azblob/src/core.rs and its caller in copier.rs. Check existing credential selection tests and related issues #8104 and #9407; done means empty credentials are handled consistently and segmented-copy support matches verified authentication paths against real Azure Blob.
Written by the indexing model from the issue text.
Description
Background
Two configuration and capability consistency issues were identified in azblob and azdls:
- Inconsistent empty
account_name/account_keyfiltering acrossConfigand connection-string paths:- Commit
#9498ensured emptysas_tokenplaceholders do not shadow other credentials, andazfilefilters emptyaccount_name/account_key. - In
azblob(core/services/azblob/src/backend.rs:531-550) andazdls(core/services/azdls/src/backend.rs:336-342), direct builder setters ignore empty strings, but config structs and connection strings (AccountKey=;) can still supplySome(""). Furthermore,azblobcheckshas_shared_key, static provider registration, anduser_delegation_account(L550) using inconsistent predicates (self.config.account_key.is_none()vs non-empty checks).
- Commit
azblobcopy_can_multiauth-path verification:core/services/azblob/src/backend.rs:628unconditionally advertisescopy_can_multi: true, whileazblob_put_block_from_url(core/services/azblob/src/core.rs:700-712, triggered fromcopier.rs:54) callsself.sign_query(which passes through onskip_signatureatL145, but uses SAS query signing rather thanx-ms-copy-source-authorizationoruser_delegation_account).- Verify segmented
PutBlockFromUrlagainst real Azure Blob across Shared Key, Azure AD / OAuth, andskip_signature(related to#8104,#9407) and ensurecopy_can_multiaccurately matches supported authentication paths.
Acceptance Criteria
- Filter empty
account_nameandaccount_keyconsistently across config, connection-string, and builder paths inazblobandazdls(unifyinghas_shared_key, static provider registration, anduser_delegation_account), with unit tests verifying credential selection. - Verify segmented copy auth modes against real Azure Blob and align
azblob'scopy_can_multicapability or auth implementation accordingly.
This issue was drafted and independently verified with AI assistance as part of the Apache OpenDAL v0.60.0 pre-release audit.
- 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