v0.3.7-pre.011

This commit is contained in:
2026-09-02 19:50:01 +02:00
parent 313d2a1ea6
commit 618f940310
20 changed files with 682 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-job-backfill-lib/src/checkpoint.rs
// version: 2
// version: 3
/// Opaque caller-owned checkpoint for one controlled Backfill resumption.
///
@@ -43,6 +43,12 @@ impl crate::BackfillCheckpoint {
return Self { job_id, scope_fingerprint, completed_prefix, resume_before };
}
/// Reissues this opaque frontier for a new caller-owned Job identity without changing scope or progress.
pub(crate) fn reissue_for_job(mut self, job_id: ksp_job_api::JobId) -> Self {
self.job_id = job_id;
return self;
}
/// Returns the internal exclusive `before` cursor used only by controlled Before resumption.
pub(crate) const fn resume_before(&self) -> std::option::Option<&crate::BackfillSignature> {
return self.resume_before.as_ref();