feat(ha-single-leader-role): WAL_NOOP entry type — enum + apply no-op + RETAIN classify (task 1.2)

This commit is contained in:
Rongsong Shen 2026-06-13 07:45:21 +00:00
parent 6df1283f1a
commit e6abd7c8af
3 changed files with 13 additions and 1 deletions

View file

@ -54,5 +54,6 @@ typedef enum {
WAL_JOB_PREASON = 10,
WAL_QUEUE_CTRL = 20,
WAL_WORKER_CTRL = 30,
WAL_NOOP = 40, /* Internal: empty payload, replay no-op; appended only at promotion */
WAL_CHECKPOINT = 100, /* Local WAL marker only — never replicated */
} wal_entry_type;