diff --git a/src/browser/flush_tests.rs b/src/browser/flush_tests.rs index 08c65b832d..b90a0b9b83 100644 --- a/src/browser/flush_tests.rs +++ b/src/browser/flush_tests.rs @@ -584,7 +584,7 @@ async fn checkpoint_does_not_wait_for_later_writes() { tick().await; let boundary = checkpoint(&db); tick().await; - // Restore admission of transactions, retaining the first held callback. + // Let new transactions start while the first callback remains paused. first_fault.restore.call0(&JsValue::NULL).unwrap(); let later_fault = Fault::for_db(&db, "hold"); let later = execute(&db, write(2, 3)); diff --git a/src/db.rs b/src/db.rs index 0a2b6d9bb8..e24d44c94b 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1917,7 +1917,7 @@ mod tests { ); } - // ── file-backed: sync mode is plumbed through to both WalWriter call sites ── + // ── Both file-backed WalWriter calls use the selected sync mode ── /// #476: an in-memory handle under the `usize::MAX` sentinel closes /// without a checkpoint and without touching any file storage. diff --git a/src/graph/storage.rs b/src/graph/storage.rs index 90aa0aba9b..b83dec6464 100644 --- a/src/graph/storage.rs +++ b/src/graph/storage.rs @@ -518,8 +518,8 @@ pub(crate) fn filter_facts_as_of(facts: Vec, as_of: &AsOf) -> Vec { /// (NaN canonicalisation, ±0.0 disambiguation) consistently with the rest of /// the storage layer. /// -/// This is the single source of truth for retraction semantics, shared by -/// `get_current_value` and `filter_facts_for_query`. +/// `get_current_value` and `filter_facts_for_query` both call this function +/// to apply the same retraction rules. /// /// # Implementation note ///