xiaowei
09c2319d7e
fix(G6): recall_count 并发递增 + cache population
问题:
1. recall goroutine 通过 id 查 _local.memories 总是 cache miss(cache key 格式不匹配)
2. Update() 用 defer unlock,IPC 调用在锁外,并发时丢失递增
3. 缓存命中时跳过 incrementRecallCount
修复:
1. recall.go: 结果写入 _local.memories(cache key=id)
2. lancedb_ipc.go: 移除 defer unlock,整个 IPC 调用在锁内
3. lancedb_ipc.go: Update 发送 cache 当前值(不是硬编码 "1")
4. lancedb_ipc.go: 支持 map[string]string 和 map[string]interface{} 两类
2026-05-31 02:14:56 +08:00
..
2026-05-29 01:07:05 +08:00
2026-05-28 17:16:52 +08:00
2026-05-31 02:14:56 +08:00
2026-05-28 17:35:25 +08:00
2026-05-30 10:31:25 +08:00
2026-05-29 02:51:46 +08:00
2026-05-29 02:51:46 +08:00
2026-05-28 18:35:19 +08:00
2026-05-30 12:44:50 +08:00