fix(persistence): 修复并发与崩溃一致性 - #59
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
基于持久化 / 并发一致性专项审查,修复已通过可执行复现确认的问题:
os.Root约束真实文件读写、rename / delete、Lifecycle 与 embedding index,阻断 symlink 越界没有新增 repository / transaction manager / provider / backend abstraction。
复现证据
修复前已在 main@9ac964c 的一次性快照中确定性复现:
EncryptedBackupOK=true验证
make check✅make web-build✅make build-nexusdock✅go test -race ./...✅git diff --check main...HEAD✅范围
基于
main@9ac964c;不包含且不修改 PR #57。