Repository navigation
fix(knowledgeBase): resolve coordinator AB-BA deadlock, implement progress heartbeat and dynamic DB proxy - #489
Merged
lioensky merged 2 commits intoOct 7, 2026
Conversation
…gress heartbeat and dynamic DB proxy
…d refresh heartbeat on recovery
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.
一、动机与背景 (Motivation)
在高并发读写与知识库摄取场景下,原架构存在两处隐患:
二、架构重构与关键方案 (Key Architecture Changes)
三、测试与验证 (Verification)
• 破坏性与混沌压测:通过 30 题红队破坏测试、50 题全景已有功能测试与 100 题大考(涵盖死锁交叉风暴、时钟跳变、TOCTOU 竞态、单点恢复崩溃自愈等Nova单测),经过对应的调整与补丁,实现 100% 全量绿灯通关;
• 零回归验证:已有 diaryIndexAtomicDelta、tagConsistencyIncrementalIndex、tagIndexGenerationalBaseline 与 associativeDiscoveryRiverMemo 全量通过,node --check 静态 AST 编译零报错。
这样改应该没啥问题,我重启后跑了一小会儿没发现问题。希望不会给一些浪潮数据库底层设计意图给改掉了。
二编:跑了一会儿,发现了个计时器逻辑小问题。已修复。