-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage, ccl: Gate AddSSTable()ing RocksDBv2 format SSTs on cluster v…
…ersion Change #42763 caused all SSTs written for ingestion to be written in the RocksDBv2 format as opposed to the leveldb format. This turned out to be an issue in mixed-version clusters where not all nodes can iterate over and ingest RocksDBv2 SSTs; nodes without commit 2beab58 (so 19.2.* and below) cannot iterate over these SSTs. This change reverts back to creating LevelDB SSTs for ingestion in the SSTBatcher only, unless the minimum cluster version is a 20.1 commit. Other cases where we make RocksDBv2 SSTs (eg. in replica_raftstorage) are okay and do not require this check, since those SSTs are ingested by the same node where they're written. Fixes #42081 . Release note: None.
- Loading branch information
Showing
4 changed files
with
31 additions
and
13 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
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
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
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