Skip to content

refactor(services/hdfs): deprecate append option#7563

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/hdfs-append-capability-cleanup
May 19, 2026
Merged

refactor(services/hdfs): deprecate append option#7563
Xuanwo merged 1 commit into
mainfrom
xuanwo/hdfs-append-capability-cleanup

Conversation

@Xuanwo
Copy link
Copy Markdown
Member

@Xuanwo Xuanwo commented May 19, 2026

Which issue does this PR close?

Refs #6708.

Rationale for this change

HDFS append is a native write capability that only affects explicit append requests. Regular writes do not use the append path, so service config should not hide this capability for test selection.

What changes are included in this PR?

This PR enables write_can_append by default for HDFS and HDFS Native, keeps enable_append as a deprecated no-op compatibility option, and removes the HDFS Native runtime append gate so backend/client errors surface naturally. HDFS fixtures that previously disabled append through service config now use OPENDAL_TEST_CAPABILITY_OVERRIDES=write_can_append=false.

Are there any user-facing changes?

enable_append is deprecated because HDFS append capability is enabled by default. Deployments that do not support append will only see backend/client errors when callers explicitly request append.

AI Usage Statement

N/A.

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" labels May 19, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 19, 2026
@Xuanwo Xuanwo merged commit 9ca0ad7 into main May 19, 2026
824 of 825 checks passed
@Xuanwo Xuanwo deleted the xuanwo/hdfs-append-capability-cleanup branch May 19, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants