-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.14.10][#19730] docdb: added SST write retries on corruption
Summary: Added support for `rocksdb_max_sst_write_retries` flag: maximum allowed number of attempts to write SST file in case of detected corruption after write (by default 0 which means no retries). Implemented for both flushes and compactions. For now, we only support retries when sub-compaction results in single output file (which is the case for yugabyte-db as of today). If in future we detect corruption after the first output file in case of multiple sub-compaction output files and retries are enabled, DFATAL will be logged and no retry will be done. Original commit: f58c809 / D29784 Backported from 2.14 commit: daf620d / D29953 Jira: DB-8560 Test Plan: Jenkins: urgent DBTest.SstTailZerosCheckFlushRetries and DBTest.SstTailZerosCheckCompactionRetries Reviewers: bogdan, timur, rthallam Reviewed By: bogdan Subscribers: ybase Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30001
- Loading branch information
1 parent
a717259
commit 769ad57
Showing
6 changed files
with
486 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.