Skip to content

Commit

Permalink
Merge #40647
Browse files Browse the repository at this point in the history
40647: rocksdb/table: Always check key ordering when inserting to an SST r=itsbilal a=itsbilal

Updates c-deps/rocksdb to point to a patch in cockroach's RocksDB fork.
Commit message for that patch:

To prevent an out-of-order SSTable insertion from ever happening, this
change updates BlockBasedTableBuilder::Add to always assert on key
ordering being maintained at the insertion point, rather than only
running with debug builds. When an out-of-order key insertion is
detected, the status is set to Corrupted to prevent the BlockBasedTable
from being written.

Release note: None

Co-authored-by: Bilal Akhtar <bilal@cockroachlabs.com>
  • Loading branch information
craig[bot] and itsbilal committed Sep 11, 2019
2 parents bdf41f7 + 7bb6277 commit 832b2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c-deps/rocksdb

0 comments on commit 832b2bd

Please sign in to comment.