lili
2f64397719
fix(market): 系统性修 market 残余 (tenant_id,command_id) partial-index ON CONFLICT bug + 真实 PG IT
续 V22。handoff_event/appeal_material/authorization_summary/appeal_event/appeal 5 表的 (tenant_id,command_id)
在 V15 被建为部分唯一索引(WHERE command_id IS NOT NULL),而对应 mapper insertIgnore 发无谓词
ON CONFLICT (tenant_id,command_id)→PostgreSQL 无法用部分索引作仲裁器→这些链路(handoff/申诉/授权摘要)
活体时 500(潜伏,流程尚无活体触达)。grep 实证仅这 5 表 mapper 确发无谓词 ON CONFLICT;其余 market 部分
command 索引未被当 arbiter,不动。
- V23__fix_market_remaining_command_unique_index.sql:5 表 部分→完整唯一索引(对齐 command/purchase 约定)。
- P1rMarketCommandIndexFlywayMigrationIT(真实 PG):clean→迁移 V1→V23→断言 V22/V23 修复的 9 个命令索引
均为完整唯一索引(可作 ON CONFLICT 仲裁器),Tests run 1/0F。与 target=V15 的 P1rMarketFlywayMigrationIT 互补。
- V23 已应用 muse_slice_live;全新 muse_p1r_cmdidx_test 库迁移验证。
进度总账 §五C/§四 就地更新。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 03:30:11 -07:00
..
2026-05-24 23:15:08 +08:00
2026-05-24 23:15:08 +08:00
2026-05-24 23:15:08 +08:00
2026-05-24 23:15:08 +08:00
2026-05-24 23:15:08 +08:00
2026-05-24 23:15:08 +08:00
2026-05-25 12:11:27 +08:00
2026-05-25 12:11:27 +08:00
2026-05-27 02:24:48 +08:00
2026-05-28 12:30:46 +08:00
2026-05-29 13:17:19 +08:00
2026-06-01 00:37:29 +08:00
2026-06-01 00:37:29 +08:00
2026-06-02 19:36:02 +08:00
2026-06-05 10:51:58 +08:00
2026-06-05 22:20:48 +08:00
2026-06-06 20:24:01 +08:00
2026-06-07 10:00:04 +08:00
2026-06-07 22:28:39 +08:00
2026-06-08 02:49:02 +08:00
2026-06-08 23:17:41 +08:00
2026-06-15 02:10:12 -07:00
2026-06-15 03:30:11 -07:00