You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2026/09/19 18:15:50 UTC

[PR] feat(core): add checked namespace edits [opendal-yinyang]

Xuanwo opened a new pull request, #45:
URL: https://github.com/apache/opendal-yinyang/pull/45

   # Which issue does this PR close?
   
   Part of #19. Stack 2/3, based on #44. The next layer publishes and restores local directories.
   
   # Rationale for this change
   
   Callers currently construct complete successor trees and manually maintain node and directory generations. That spreads namespace correctness into every frontend.
   
   # What changes are included in this PR?
   
   `Observation::edit` stages checked creation, file replacement, executable attributes, subtree rename, and removal. `finish` computes generations relative to the observed state, so repeated changes in one batch advance a generation only once and reverted changes preserve it. A parent-identity name index enforces portable case-folding rules without rescanning the whole namespace for each creation.
   
   # Are there any user-facing changes?
   
   The core now provides a namespace-editing API. Rename preserves subtree identities and refuses to overwrite another entry; removal of non-empty directories is explicit. Failed operations leave the batch unchanged. Publication still uses the original observation and caller-assigned commit identity, returning conflicts without automatic rebasing. Unlinked immutable content remains readable.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat: publish indexed filesystem transactions [opendal-yinyang]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #45:
URL: https://github.com/apache/opendal-yinyang/pull/45


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org