Skip to main content

Module resp

Module resp 

Constants§

CALL
A client’s call relayed to the worker: relay u64, method, args.
CHECKPOINTED
An asynchronous checkpoint completed: shard u32, lsn u64.
DURABLE
Log format 3: shards’ durable positions after a batch, cumulative (a later frame never lowers one): id u64 (0), position u64, segment u64, count u32, then per shard: shard u32, lsn u64, flags u8 (bit 0: the shard alone holds back retiring the oldest log segment). position is the next batch’s sequence and segment the active one, for checkpoints.
ERR
Failure; body is a UTF-8 message.
FLUSHED
An asynchronous submit completed: shard u32, lsn u64.
GRANT
More shards for a SHARD_LEASES worker: id u64 (0), count u32, then shard u32, epoch u64 each.
IO_FAILED
An asynchronous submit or checkpoint failed: shard u32, message.
LEASE
Lease granted: shards u32, epoch u64.
LIMITED
A limit acquire was answered: ticket u64, granted u8, retry_at u64.
MESSAGES
Relayed messages for a shard this worker holds: id u64 (0), to u32, from u32, epoch u64 (the sender's lease), entries bytes.
MESSAGE_ACKS
Relayed acknowledgments for shards this worker holds: id u64 (0), count u32, then shard u32, epoch u64, outbox id u64 each.
OK
Success; body is request-specific.
QUORUM_READY
STORE_APPENDED
A STORE_APPEND_AT was written: shard u32, offset u64.