feat(job-array-single-wal-record): add WAL_JOB_ARRAY_SUBMIT record type
Adds the array-shaped WAL entry type (distinct from WAL_JOB_SUBMIT, value 11 in the unused WAL_JOB_* gap) and classifies it WAIT-mode via wal_classify, matching the single-job type's commit-barrier semantics. No dispatch/apply wiring yet -- foundation for task 2.x/3.x. Task 1.1 of job-array-single-wal-record.
This commit is contained in:
parent
895a204438
commit
2e62e73d84
4 changed files with 197 additions and 0 deletions
|
|
@ -110,6 +110,10 @@ typedef enum {
|
|||
WAL_JOB_RUSAGE = 8,
|
||||
WAL_JOB_CKPT = 9,
|
||||
WAL_JOB_PREASON = 10,
|
||||
WAL_JOB_ARRAY_SUBMIT = 11, /* job-array-single-wal-record: one record for
|
||||
* the whole array (base spec + index range),
|
||||
* distinct from WAL_JOB_SUBMIT's single-job
|
||||
* format, which stays unchanged. */
|
||||
WAL_QUEUE_CTRL = 20,
|
||||
WAL_WORKER_CTRL = 30,
|
||||
WAL_NOOP = 40, /* Internal: empty payload, replay no-op; appended only at promotion */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue