sled icon indicating copy to clipboard operation
sled copied to clipboard

failpoints on disk reads

Open spacejam opened this issue 6 years ago • 1 comments
trafficstars

spacejam avatar May 24 '19 10:05 spacejam

This needs to be performed in a different way than how our current failpoints are being handled, as when a failpoint is triggered, all writes from that point onward until the next fsync are considered to be stable. For this work, we need to relax the assumption, and only ensure that no operation ever panics. Errors on disk reads should always return an Err, rather than panicking, so this can actually be a much simpler model than the existing failpoint test.

spacejam avatar Nov 17 '19 14:11 spacejam