relate: 59268a95 --CAUSES--> b33e2316

This commit is contained in:
Cal Corum 2026-02-20 00:47:17 -06:00
parent b6737e7fd5
commit f5b4102c6f
3 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,13 @@
---
id: 6f7d12e4-b494-4aea-9be9-f43a5492719c
type: CAUSES
from_id: 59268a95-4712-48b4-bccb-6171c7885301
from_title: "Fix: Race condition in cognitive-memory _save_state loses last_reflection timestamp when daily+weekly timers collide"
to_id: b33e2316-6313-4ed9-b95a-3a469b820101
to_title: "Systemd OnCalendar=weekly and OnCalendar=daily fire simultaneously on Sundays/Mondays - always stagger shared-state timers"
strength: 0.9
created: "2026-02-20T06:47:17.701728+00:00"
updated: "2026-02-20T06:47:17.701728+00:00"
---
The systemd timer collision (insight) is the root cause of the _save_state race condition (fix)

View File

@ -6,7 +6,13 @@ tags: [cognitive-memory, fix, race-condition, systemd, state-management, atomici
importance: 0.8
confidence: 0.8
created: "2026-02-20T06:47:07.701221+00:00"
updated: "2026-02-20T06:47:07.701221+00:00"
updated: "2026-02-20T06:47:17.701728+00:00"
relations:
- target: b33e2316-6313-4ed9-b95a-3a469b820101
type: CAUSES
direction: outgoing
strength: 0.9
edge_id: 6f7d12e4-b494-4aea-9be9-f43a5492719c
---
# Race Condition in _save_state Corrupts last_reflection Timestamp

View File

@ -6,7 +6,13 @@ tags: [systemd, timer, gotcha, race-condition, cognitive-memory, scheduling]
importance: 0.5
confidence: 0.8
created: "2026-02-20T06:47:13.739265+00:00"
updated: "2026-02-20T06:47:13.739265+00:00"
updated: "2026-02-20T06:47:17.701728+00:00"
relations:
- target: 59268a95-4712-48b4-bccb-6171c7885301
type: CAUSES
direction: incoming
strength: 0.9
edge_id: 6f7d12e4-b494-4aea-9be9-f43a5492719c
---
# Systemd Timer Collision Gotcha