myxce/src
Rongsong Shen e1517bbf28 fix(ha-repl-hardening): heartbeat re-arm broken by delaymgr ms-task ordering
Root cause: task_cmp in delay.c compared nextrun (always 0 for ms-tasks)
instead of nextrun_ts, making all ms-tasks appear equal in the ordered
queue. The heartbeat task was re-enqueued correctly but stuck behind the
liveness poll task in the broken ordering.

Changes:
- delay.c: fix task_cmp to compare nextrun_ts for ms-tasks (ns precision)
- ha.c: use runcount=-1 (infinite repeat) instead of one-shot+re-arm;
  simpler and avoids the broken re-arm path entirely
- ha.c: add static atomic idempotency guard to prevent duplicate heartbeat
  tasks on re-election
2026-06-06 13:28:00 +00:00
..
.claude chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
autoscaler support shared libxce(for api server) 2026-01-19 11:02:49 +08:00
controller fix(ha-repl-hardening): heartbeat re-arm broken by delaymgr ms-task ordering 2026-06-06 13:28:00 +00:00
docs claude skills 2026-05-29 15:00:06 +08:00
frontend fix(frontend): remove conf.vcpus from cClusterConfToClusterInfo — field moved to myconf_t 2026-05-29 10:18:01 +00:00
include feat(ha-repl-hardening): standby snapshot receive handler (task 3.5c) 2026-06-05 01:43:05 +00:00
lib fix(ha-repl-hardening): heartbeat re-arm broken by delaymgr ms-task ordering 2026-06-06 13:28:00 +00:00
nixSupport Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
scheduler chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
schema feat(ha-repl-hardening): add snapshot chunk fields to capnp schema (task 1.3) 2026-06-04 13:55:45 +00:00
tools test(ha-heartbeat-liveness): SIGSTOP/SIGCONT tolerance integration test (task 4.5) 2026-06-03 04:18:56 +00:00
worker enhance xce-build skill 2026-05-30 08:13:59 +08:00
build chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
flake.lock docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
flake.nix save works 2026-03-04 18:18:53 +08:00
meson.build Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
meson.options Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00