Skip to content

Fix CIFS canonical marker updates during shallow-storage migration - #39

Merged
TorecLuik merged 1 commit into
masterfrom
fix/cifs-canonical-marker
Oct 13, 2026
Merged

TorecLuik merged 1 commit into
masterfrom
fix/cifs-canonical-marker

Conversation

@TorecLuik

@TorecLuik TorecLuik commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Atomically replace existing canonical JSON markers using a same-directory temporary file, fsync, and os.replace.
  • Keep the previous marker intact and remove the temporary file if replacement fails.

Verification

Merge order: merge this production PR before the separate test-suite PR #40. No test files are included on this deployable branch.

@TorecLuik
TorecLuik force-pushed the fix/cifs-canonical-marker branch from cf434ab to 07283e0 Compare October 13, 2026 15:06
@TorecLuik
TorecLuik merged commit 1f40e73 into master Oct 13, 2026
1 check passed
@TorecLuik
TorecLuik deleted the fix/cifs-canonical-marker branch October 13, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant