Skip to content

feat: detect remote daemon xattr capability rejection and fall back - #2586

Merged
oferchen merged 1 commit into
masterfrom
feature/xattr-capability-detect
Mar 9, 2026
Merged

oferchen merged 1 commit into
masterfrom
feature/xattr-capability-detect

Conversation

@oferchen

@oferchen oferchen commented Mar 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Detect when remote daemon lacks AVOID_XATTR_OPTIMIZATION compat flag
  • Disable xattr preservation and warn instead of failing mid-transfer
  • Matches upstream compat.c:780-785 detection pattern

Test plan

  • CI passes
  • Xattr interop with non-xattr daemon degrades gracefully

@github-actions github-actions Bot added the enhancement New feature or request label Mar 9, 2026
@oferchen
oferchen force-pushed the feature/xattr-capability-detect branch 2 times, most recently from eade640 to d68a3cf Compare March 9, 2026 07:53
When the remote daemon lacks AVOID_XATTR_OPTIMIZATION compat flag,
disable xattr preservation and warn instead of failing mid-transfer.
Matches upstream compat.c:780-785 detection pattern.
@oferchen
oferchen force-pushed the feature/xattr-capability-detect branch from d68a3cf to 3e67350 Compare March 9, 2026 08:21
@oferchen
oferchen merged commit 0503ab1 into master Mar 9, 2026
9 checks passed
@oferchen
oferchen deleted the feature/xattr-capability-detect branch March 9, 2026 08:22
oferchen added a commit that referenced this pull request May 1, 2026
…2586)

When the remote daemon lacks AVOID_XATTR_OPTIMIZATION compat flag,
disable xattr preservation and warn instead of failing mid-transfer.
Matches upstream compat.c:780-785 detection pattern.
oferchen added a commit that referenced this pull request May 5, 2026
…2586)

When the remote daemon lacks AVOID_XATTR_OPTIMIZATION compat flag,
disable xattr preservation and warn instead of failing mid-transfer.
Matches upstream compat.c:780-785 detection pattern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant