Acknowledge publication and complete the turn (caller-supplied time).
(
store: &RedbChangeStore,
id: ProvenanceId,
expected_generation: u64,
manifest_hash: atomic_core::types::Hash,
completed_at: i64,
)
| 335 | |
| 336 | /// Acknowledge publication and complete the turn (caller-supplied time). |
| 337 | pub fn acknowledge_checkpoint( |
| 338 | store: &RedbChangeStore, |
| 339 | id: ProvenanceId, |
| 340 | expected_generation: u64, |
| 341 | manifest_hash: atomic_core::types::Hash, |
| 342 | completed_at: i64, |
| 343 | ) -> Result<(), JournalError> { |
| 344 | store |
| 345 | .acknowledge_provenance_checkpoint(id, expected_generation, manifest_hash, completed_at) |
| 346 | .map_err(|error| JournalError::store(ErrorCode::ProvenanceCheckpoint, error))?; |
| 347 | Ok(()) |
| 348 | } |
| 349 | |
| 350 | fn lifecycle_lookup( |
| 351 | store: &RedbChangeStore, |
no test coverage detected