Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
persistent-state: Classify Corruption error as impermanent
Classify the rocksdb Corruption error as impermanent, meaning that if we encounter them we'll delete the db on disk and resnapshot the table. This has been seen in the wild as a result of changing the table format in d860f07c4 (persistent-state: Use block based SST format, 2023-06-21), which should have caused an automatic resnapshot but didn't because the error was classified as permanent Fixes: REA-2935 Change-Id: Ib0f2a85f824c4b9de84122ee4105096008fd2a50 Reviewed-on: https://gerrit.readyset.name/c/readyset/+/5239 Tested-by: Buildkite CI Reviewed-by: Luke Osborne <luke.o@readyset.io>
- Loading branch information