pub fn commit_pair(
intents: &mut IntentTable,
receipts: &mut ReceiptTable,
pairing: DurablePairing,
generation: Generation,
) -> Result<DurablePairing, QdnfError>Expand description
Commit the staged intent, then ACK DeliveryStage::DurableApplied.
Commit failure (including stale generation) does not ACK durable. Receipt
class stays below ReceiptClass::DurableReceipt. A second commit of an
already-committed tx is treated as already durable at the intent layer
(QdnfError::Conflict) and the durable ACK is still applied.