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-M8.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-M8.txt` 15 lines ยท 924 bytes Raw Blame History 1 mutation M8: exclusive lock not taken (review N4) 2 test: blockdev_tests::r1_a_second_opener_of_the_device_is_refused 3 @@ -203,7 +203,7 @@ 4 // One opener at a time: an exclusive advisory lock (flock) on the opened file, on 5 // top of O_EXCL for block devices. A second store on the same device would 6 // overwrite the first one's slots and metadata. 7 - match if lock { file.try_lock() } else { Ok(()) } { 8 + match Ok::<(), fs::TryLockError>(()) { 9 Ok(()) => {} 10 Err(fs::TryLockError::WouldBlock) => { 11 return Err(refuse(format!( 12 --- 13 test blockdev_tests::r1_a_second_opener_of_the_device_is_refused ... FAILED 14 thread 'blockdev_tests::r1_a_second_opener_of_the_device_is_refused' (`2403141`) panicked at crates/synapse-store/src/blockdev_tests.rs:869:39: 15 test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 114 filtered out; finished in 0.01s