Émile Ré
b6d0b64224
Skip mapping when tracker pattern deleted concurrently
...
The tracker-mapping worker runs its LLM and web-search phases
between short transactions and holds no row lock across them. The
pattern-analysis worker can merge a pattern into a glob and delete
it in that window, so the final UpdateMapping then fails with
ErrResourceNotFound and the task errors out spuriously.
A vanished pattern has nothing left to map, so treat the concurrent
delete as a no-op: log it and return nil instead of failing.
Signed-off-by: Émile Ré <emile@probo.com >
2026-06-01 13:17:17 +02:00
..
2026-05-30 11:17:25 -07:00
2026-05-20 11:46:39 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 11:46:39 +04:00
2026-05-20 09:27:28 +04:00
2026-03-25 17:38:32 +01:00
2026-06-01 13:17:16 +02:00
2026-05-20 11:46:39 +04:00
2026-05-20 11:46:39 +04:00
2026-05-27 12:23:17 -07:00
2026-05-28 20:12:24 -07:00
2026-06-01 13:17:17 +02:00
2026-05-29 11:48:10 +02:00
2026-05-20 09:27:28 +04:00
2026-05-26 15:02:50 -07:00
2026-05-20 09:27:28 +04:00
2026-05-21 14:49:19 +02:00
2026-05-20 09:27:28 +04:00
2026-04-03 11:56:06 +02:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 15:36:47 -07:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-06-01 11:39:50 +02:00
2026-06-01 13:17:17 +02:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:53:09 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-28 18:19:37 -07:00
2026-05-20 15:36:47 -07:00
2026-06-01 13:17:16 +02:00
2026-06-01 13:17:16 +02:00
2026-05-20 11:46:39 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 15:05:08 +04:00
2026-05-26 11:41:33 -07:00
2026-05-20 09:27:28 +04:00
2026-04-20 09:46:44 +02:00
2026-05-29 12:56:36 +02:00
2026-05-20 16:51:15 -07:00
2026-03-25 17:38:32 +01:00
2026-04-20 09:46:44 +02:00
2026-06-01 13:17:16 +02:00
2026-05-26 15:49:17 +02:00
2026-05-29 10:07:32 +02:00
2026-05-26 15:26:22 -07:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 11:46:39 +04:00