mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 20:14:16 +08:00
外部进程(崩掉的脚本/中断的管道)残留 state=publishing 标记且 owner pid 已死时, recover=False 的发布器会永久抛 "another enriched publication is incomplete": - POST /api/data/clear 因此 500 (用户实测) - 实时 enriched 落盘被持续挡住, 只能等下一次盘后管道 recover 修复: clear 端点与 repository 三处 enriched 写路径 (日K分区写 + 两处 实时 merge flush) 全部改 recover=True — 死进程残留首次写入即接管自愈; 活进程的发布仍抛 "another publication is active", 写盘竞态保护不变。 测试: 僵死标记+死 pid 下 clear 正常完成且标记回 ready、实时写入接管自愈; 全量 1002 passed。