Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
84449: storage: don't panic on Iterator.Close r=nicktrav,erikgrinaker a=jbowens Don't panic if Iterator.Close returns a non-nil error. Iteration errors should already be surfaced through (*pebble.Iterator).Error and (storage.EngineIterator).Valid. Panicking may crash the node for retriable, ephemeral I/O errors, especially when reading from sstables over the network. In a follow up, we should make sure we're still appropriately panicking for non-retriable errors. Fix #84396. Release note (bug fix): fix bug where an ephemeral I/O error could crash a node. Co-authored-by: Jackson Owens <jackson@cockroachlabs.com>
- Loading branch information