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-M4.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-M4.txt` 20 lines ยท 1159 bytes Raw Blame History 1 mutation M4: metadata commit overwrites the active region in place 2 test: blockdev_tests::r1_power_cut_at_every_write_boundary_keeps_every_ack 3 diff --git a/crates/synapse-store/src/blockdev.rs b/crates/synapse-store/src/blockdev.rs 4 index `05850d9`..`ae7150e` 100644 5 --- a/crates/synapse-store/src/blockdev.rs 6 +++ b/crates/synapse-store/src/blockdev.rs 7 @@ -746,7 +746,7 @@ impl BlockDevice { 8 ) -> std::io::Result<()> { 9 let generation = st.generation + 1; 10 let (meta_slot, meta) = match &names { 11 - Some(n) => (1 - st.meta_slot, encode_meta(n)), 12 + Some(n) => (st.meta_slot, encode_meta(n)), 13 None => (st.meta_slot, encode_meta(&st.names)), 14 }; 15 if meta.len() as u64 > self.geo.meta_region_bytes { 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' (`1698326`) panicked at crates/synapse-store/src/blockdev_tests.rs:575:19: 19 test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 72 filtered out; finished in 9.87s 20 error: test failed, to rerun pass `-p synapse-store --lib`