Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/synapse/blob/main/evidence/r1-raw-block-store/red-green/mutation-M1.txt # synapse A component of the AienOS ecosystem. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `synapse / evidence / r1-raw-block-store / red-green / mutation-M1.txt` 20 lines ยท 1007 bytes Raw Blame History 1 mutation M1: batch flush on the device skipped (ack without fdatasync) 2 test: blockdev_tests::r1_power_cut_at_every_write_boundary_keeps_every_ack 3 diff --git a/crates/synapse-store/src/wal2.rs b/crates/synapse-store/src/wal2.rs 4 index `b163102`..`f00b681` 100644 5 --- a/crates/synapse-store/src/wal2.rs 6 +++ b/crates/synapse-store/src/wal2.rs 7 @@ -476,7 +476,7 @@ impl SegFile { 8 fn sync_data(&self) -> std::io::Result<()> { 9 match self { 10 SegFile::Fs(f) => f.sync_data(), 11 - SegFile::Block { dev, .. } => dev.flush(), 12 + SegFile::Block { .. } => Ok(()), 13 } 14 } 15 16 --- 17 test blockdev_tests::r1_power_cut_at_every_write_boundary_keeps_every_ack ... FAILED 18 thread 'blockdev_tests::r1_power_cut_at_every_write_boundary_keeps_every_ack' (`1696465`) panicked at crates/synapse-store/src/blockdev_tests.rs:547:9: 19 test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 72 filtered out; finished in 3.98s 20 error: test failed, to rerun pass `-p synapse-store --lib`