tracking: read the ledger's version, not just write it; clear owned on any block; channel-correct prune recovery
This commit is contained in:
@@ -250,9 +250,6 @@ CaptureResult captureAndIndexOne(ReaSamplerSession& session,
|
||||
// AddResult tells a fresh add from a hash-dedup collapse, so the assign path (S8) can
|
||||
// target the sample actually in the bank (the existing entry on a collapse).
|
||||
const model::AddResult addResult = session.bank().add(res.sample);
|
||||
// Record the birth at the same point the Sample is added, regardless of the index
|
||||
// AddResult — even a hash-collapse still WROTE a file the tool owns, and the ledger
|
||||
// dedups a repeat path itself (prune reconciles ledger vs index later).
|
||||
session.recordCreated(res.sample, tracking::OriginKind::Capture);
|
||||
|
||||
// Resolve the LANDED bank-index id into res.sample.id for the S8 assign path: the new
|
||||
|
||||
Reference in New Issue
Block a user