Repository navigation
feat(multiwrite): backport IOPS optimizations to v0.5.0-hotfix - #6648
Merged
baojun-zhang merged 1 commit intoOct 27, 2026
Merged
baojun-zhang merged 1 commit into
baojun-zhang merged 1 commit into
Conversation
1. 去除启动 checkpoint ticker,避免重复启动导致的 IOPS 峰值 2. 增加随机值设置初次 checkpoint 时机,防止多实例同时启动导致并发 IOPS 峰值 3. flush worker 使用内存缓存记录account 分区信息,而不是每个 batch 查询 account 分区信息 4. 增加部分进度日志
baojun-zhang
added a commit
that referenced
this pull request
Nov 4, 2026
…fix (#6976) * fix(ragfs): backport multiwrite hotfixes to v0.5.0 (#6607) * fix(ragfs): 在外部租约下跳过冗余加密锁 (cherry picked from commit 002b27f) * fix(multiwrite): 取消删除 v1 元数据时 glob 操作,在 import account 阶段进行删除 && 增加迁移阶段执行进度日志 (cherry picked from commit 42d99d8) (cherry picked from commit d8dd90d) * feat(ragfs): gate existing data reconciliation (#6618) Add a multi-write backup option to control whether startup scans pre-existing primary files into V2 metadata. Document the default disabled behavior and the conditions where historical backfill can be skipped. (cherry picked from commit 56e8bea) (cherry picked from commit ae29842) * fix(storage): backport PathLock sidecar protocol to v0.5.0 (#6632) * fix(storage): 修复递归删除导致 PathLock 提前失效 将目录锁迁移到父目录 sidecar,并兼容旧锁与 handoff;删除获锁后重新确认目标状态,避免并发请求沿用过期判断。 (cherry picked from commit 014bd7c) * test(storage): 补充 PathLock 路径关系矩阵 使用共享文件系统上的独立 Manager 验证祖先、后代与兄弟路径的冲突和非冲突语义,防止 sidecar 迁移引入锁范围回归。 (cherry picked from commit c60e67a) * fix(storage): 收敛 PathLock sidecar 迁移协议 拆分 Tree 路径解析并修正根路径寻址,撤回无关的 Snapshot 行为变化,同时明确新旧锁协议的切换约束,降低迁移影响范围。 (cherry picked from commit 10ec440) --------- Co-authored-by: zhanghe.1216 <@bytedance.com> (cherry picked from commit 36258b3) * refactor(session): remove legacy path compatibility Stop probing obsolete session storage paths during normal operations and reject the legacy session URI alias. Update bundled callers to use current session URIs. (cherry picked from commit 68b1ea6) (cherry picked from commit 14d622d) * feat(multiwrite): 多写 IOPS 优化 (#6648) 1. 去除启动 checkpoint ticker,避免重复启动导致的 IOPS 峰值 2. 增加随机值设置初次 checkpoint 时机,防止多实例同时启动导致并发 IOPS 峰值 3. flush worker 使用内存缓存记录account 分区信息,而不是每个 batch 查询 account 分区信息 4. 增加部分进度日志 (cherry picked from commit 3d46710) * feat(multiwrite): 降低多写元数据 IO (#6688) - 缓存账号路由快照,减少重复读取分区 manifest - 记录 dirty scope,让 catch-up 只同步已变更分区 - 使用内存快照维护多写 lag 指标,避免 metrics scrape 扫描元数据 - 降低 catch-up lease 刷新频率,并缩小 append 锁范围以减少 sidecar 写入 (cherry picked from commit b8bc624) * fix(reindex): converge user orphan vectors Backport the reindex orphan reconciliation and inventory batching from 6afd9ba to the v0.5.0 task and wait architecture. Co-authored-by: TRAE CLI <traecli@bytedance.com> (cherry picked from commit 8ae4f14) * perf(admin): 用户列表直接读取内存 (#6629) (cherry picked from commit 5e45a87) * test(session): seed canonical session path after legacy path removal 14d622d removed legacy session path compatibility; align test_session_storage_uses_canonical_uri with main (#6642), which seeds the canonical user/{id}/sessions path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: baojun-zhang <zhangbaojun.1@bytedance.com> Co-authored-by: qin-ctx <qinhaojie.exe@bytedance.com> Co-authored-by: zhoujiahui.01 <zhoujiahui.01@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
release/v0.5.0-hotfix.Test plan
git diff --check upstream/release/v0.5.0-hotfix...HEADcargo test -p ragfs delete_account_event_removes_backup_scope --libSource PR: #6646