We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1cfa5e commit c749134Copy full SHA for c749134
1 file changed
storage/src/journal/contiguous/fixed.rs
@@ -2962,11 +2962,13 @@ mod tests {
2962
metadata.put(PRUNING_BOUNDARY_KEY, 7u64.to_be_bytes().to_vec());
2963
metadata.put(CLEAR_TARGET_KEY, 2u64.to_be_bytes().to_vec());
2964
metadata.sync().await.unwrap();
2965
+ drop(metadata);
2966
2967
// Crash Scenario 2: after the new tail blob is created, but before final metadata
2968
// replaces the clear intent.
2969
let (blob, _) = context.open(&blob_part, &0u64.to_be_bytes()).await.unwrap();
2970
blob.sync().await.unwrap(); // Ensure it exists
2971
+ drop(blob);
2972
2973
// Recovery should complete the interrupted init_at_size(2).
2974
let journal = Journal::<_, Digest>::init(
0 commit comments