fix: hashing to avoid doc with duplicate name to collide#30
Conversation
Code reviewNo issues found. Checked for bugs (race conditions, data corruption, logic errors, edge cases) — no significant problems introduced by this PR. Notes:
🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Code reviewFound 1 issue:
Lines 55 to 67 in 870c947
Lines 34 to 44 in 870c947 The cleanup call in Lines 208 to 223 in 870c947 A one-time migration (backfill 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
- 用 schema_meta 完成标记替代 DB 文件存在性判断,避免中断后永不重试 - get_registry() 只要 hashes.json 存在即传递 migrate_from,让 DbRegistry 自主判断 - 新增 get_by_path / remove_by_doc_name 到 HashRegistry 与 DbRegistry, 防止后续 PR VectifyAI#30 合并时 SQLite 后端出现 AttributeError
No description provided.