We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f43db40 commit c43b380Copy full SHA for c43b380
pkg/kv/kvserver/kvstorage/init.go
@@ -299,7 +299,7 @@ func IterateRangeDescriptorsFromDisk(
299
// This case shouldn't happen in practice: we have a key that isn't
300
// associated with any range descriptor.
301
if buildutil.CrdbTestBuild {
302
- panic(errors.AssertionFailedf("range local key %s outside of a known range", key.Key))
+ return errors.AssertionFailedf("range local key %s outside of a known range", key.Key)
303
}
304
iter.NextKey()
305
0 commit comments