Skip to content

Commit b061cfe

Browse files
author
Alan Hanson
committed
panic if write fails
1 parent df76b79 commit b061cfe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

downstairs/src/extent_inner_raw.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,10 @@ impl ExtentInner for RawInner {
397397
let r = self.write_inner(write, &writes_to_skip);
398398

399399
if r.is_err() {
400+
panic!(
401+
"This is what James warned us about, job:{} extent:{} blocks:{}",
402+
job_id.0, self.extent_number.0, num_blocks
403+
);
400404
for i in 0..write.block_contexts.len() {
401405
if !writes_to_skip.contains(&i) {
402406
// Try to recompute the context slot from the file. If this

0 commit comments

Comments
 (0)