8000 Clarify retraction and durability test comments on v2.x by adityamukho · Pull Request #1007 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/browser/flush_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/graph/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ pub(crate) fn filter_facts_as_of(facts: Vec<Fact>, as_of: &AsOf) -> Vec<Fact> {
/// (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
///
Expand Down
Loading
0