CaIon
f84b7d591f
refactor(log): simplify ClickHouse log deletion and add unit tests
...
Replace the per-batch ClickHouse mutation loop with a single
ALTER TABLE ... DELETE, since ClickHouse DELETE is a heavy mutation
that rewrites data parts and per-batch mutations are pathologically
slow. Add deterministic unit tests covering ClickHouse DSN handling,
main-database rejection, TTL DDL generation, log ordering, request_id
backfill, and display id assignment.
2026-06-22 19:32:32 +08:00
..
2026-06-22 18:41:26 +08:00
2026-06-18 20:29:24 +08:00
2026-01-26 19:57:41 +08:00
2026-06-22 18:41:26 +08:00
2026-06-22 18:41:26 +08:00
2026-06-22 19:32:32 +08:00
2026-02-22 15:41:29 +08:00
2026-06-22 18:41:26 +08:00
2026-04-12 17:39:00 +08:00
2026-06-22 19:32:32 +08:00
2026-06-22 19:16:53 +08:00
2026-02-22 16:01:19 +08:00
2025-08-10 12:11:31 +08:00
2025-08-11 14:40:01 +08:00
2026-05-21 11:16:17 +08:00
2026-05-21 11:16:17 +08:00
2026-05-22 11:00:58 +08:00
2025-10-11 15:30:09 +08:00
2026-04-24 22:16:16 +08:00
2026-06-18 12:00:03 +08:00
2025-10-11 15:30:09 +08:00
2025-08-29 23:42:33 +08:00
2025-08-10 12:11:31 +08:00
2026-04-24 16:39:12 +08:00
2026-06-22 18:41:26 +08:00
2025-04-03 18:57:15 +08:00
2026-06-22 18:41:26 +08:00
2026-06-22 19:16:53 +08:00
2026-06-22 19:16:53 +08:00
2026-06-22 19:16:53 +08:00
2026-04-28 14:19:19 +08:00
2025-10-11 15:30:09 +08:00
2026-04-23 13:29:00 +08:00
2026-06-22 18:41:26 +08:00
2026-04-12 17:39:00 +08:00
2026-06-20 18:57:47 +08:00
2026-06-20 18:57:47 +08:00
2026-06-22 18:41:26 +08:00
2026-06-20 18:57:47 +08:00
2026-04-17 23:58:45 +08:00
2026-06-18 12:16:23 +08:00
2026-06-18 12:16:23 +08:00
2026-05-27 13:23:05 +08:00
2025-10-11 15:30:09 +08:00