• Joined on 2026-04-07
dailz closed issue dailz/go-kv#14 2026-06-11 20:36:15 +08:00
[Important] publishedSequence 需要明确的内存序约束
dailz closed issue dailz/go-kv#13 2026-06-11 20:27:18 +08:00
[Important] Batch 校验缺少资源上限
dailz closed issue dailz/go-kv#12 2026-06-11 20:17:59 +08:00
[Important] 尾部截断后缺少持久化步骤
dailz closed issue dailz/go-kv#11 2026-06-11 20:09:55 +08:00
[Important] CURRENT 文件权威性与实际恢复模型不一致
dailz pushed to main at dailz/go-kv 2026-06-11 19:54:20 +08:00
5e9836c931 update MemTable arena reservation design
b037c1a382 update MemTable publish ordering design
a98c144c51 update WAL write failure design
f6a2cd979e update WAL segment boundary design
Compare 4 commits »
dailz closed issue dailz/go-kv#10 2026-06-11 19:53:25 +08:00
[Important] MemTable 写入失败(Arena 满)在 WAL 写入后未覆盖
dailz closed issue dailz/go-kv#9 2026-06-11 18:30:07 +08:00
[Critical] Go 内存模型:lock-free read 需要原子发布机制
dailz closed issue dailz/go-kv#8 2026-06-11 18:15:21 +08:00
[Critical] 恢复后未确认 Batch 可能变成已发布
dailz commented on issue dailz/go-kv#7 2026-06-11 17:52:59 +08:00
[Critical] 预创建 segment 可破坏尾部截断逻辑

已在设计文档中修复:f6a2cd9 update WAL segment boundary design 补充了 segment rotation 约束,明确新 segment 的 durable-ready 协议只能在当前 active segment 已结束于完整 WAL Batch 边界后启动,并禁…

dailz closed issue dailz/go-kv#7 2026-06-11 17:52:35 +08:00
[Critical] 预创建 segment 可破坏尾部截断逻辑
dailz closed issue dailz/go-kv#6 2026-06-11 17:33:52 +08:00
[Critical] Segment 边界跨 Batch 行为未定义
dailz closed issue dailz/logViewer#32 2026-06-11 17:23:50 +08:00
🟢 [L6] load_file 失败后 watcher 已清空但旧状态残留
dailz commented on issue dailz/logViewer#32 2026-06-11 17:23:32 +08:00
🟢 [L6] load_file 失败后 watcher 已清空但旧状态残留

已修复 — commit 967c11f

根因load_file 在第154行先清空 file_watcher,如果后续 ProgressiveFileReader::open 失败,? 提前返回导致 watcher 丢失,而 loading_statefile_path

dailz pushed to master at dailz/logViewer 2026-06-11 16:49:47 +08:00
10323ce814 fix(tui): add area offset to settings popup positioning (closes #31)
c1a931551b fix(tui): handle settings save errors and rewrite truncate_to_columns (closes #30)
Compare 2 commits »
dailz closed issue dailz/logViewer#31 2026-06-11 16:49:47 +08:00
🟢 [L5] 设置弹窗坐标未加 area 偏移
dailz closed issue dailz/logViewer#30 2026-06-11 16:10:33 +08:00
🟢 [L4] 设置保存错误被忽略
dailz commented on issue dailz/logViewer#30 2026-06-11 16:10:09 +08:00
🟢 [L4] 设置保存错误被忽略

修复方案

根因

app.rs:726 使用 let _ = self.color_config.save() 静默丢弃保存错误,用户按 Enter 退出设置后以为已保存,但磁盘写入可能失败。

修复内容

**1. 设置保存错误处理 (Oracle…

dailz commented on issue dailz/logViewer#29 2026-06-11 15:06:09 +08:00
🟢 [L3] 颜色向后循环不 wrap

已修复: dfc016c

根因: cycle_color 向后循环使用 saturating_sub(1).min(colors.len()-1),到索引 0 时被钳位为 0,无法 wrap 到最后一个颜色。

修复: 替换为 `if p == 0 { colors.len() - 1 } else…

dailz pushed to master at dailz/logViewer 2026-06-11 15:05:52 +08:00
dfc016c348 fix(tui): wrap color backward cycle at index 0 instead of clamping (closes #29)
dailz closed issue dailz/logViewer#29 2026-06-11 15:05:52 +08:00
🟢 [L3] 颜色向后循环不 wrap