pub struct DedupEntry {
pub operation_id: OperationId,
pub verb: String,
pub request_hash: [u8; 32],
pub response: Vec<u8>,
pub created_at_secs: i64,
pub pending: bool,
}Expand description
One persisted dedup entry. Identity is (operation_id, verb).
Fields§
§operation_id: OperationId§verb: StringHosted method name or CLI verb name, including the replay encoding generation when relevant. Operation IDs remain unique across the store; reusing one under a different verb is a conflict.
request_hash: [u8; 32]BLAKE3-256 of the request body bytes. The caller is responsible for choosing a deterministic encoding and including its generation in the verb whenever an encoding change would make cached data incompatible.
response: Vec<u8>Cached response bytes in the caller-owned encoding for this verb.
Empty (Vec::new()) when pending is true —
i.e. the slot is reserved but the response hasn’t been recorded yet.
created_at_secs: i64Unix epoch seconds when this entry was created. Used by compaction.
pending: booltrue when the entry is reserved but not yet completed.
Concurrent retries with the same
(operation_id, verb) see DedupOutcome::InFlight while the
reservation is held. Cleared when the response is persisted or
the reservation is canceled after execution fails.