Skip to content

Commit

Permalink
c-deps: bump RocksDB to pick up perf fix
Browse files Browse the repository at this point in the history
Pick up cockroachdb#20 which fixes a performance regression
that caused range tombstones to be added to some sstables unnecessarily
which in turn could cause compactions that are larger than necessary.

Revert the workaround to `TestRocksDBDeleteRangeCompaction` which was made
due to the now fixed bug.

Release note: None
  • Loading branch information
petermattis committed Oct 30, 2018
1 parent 18b44cc commit d8707c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion c-deps/rocksdb
4 changes: 2 additions & 2 deletions pkg/storage/engine/rocksdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1389,9 +1389,9 @@ func TestRocksDBDeleteRangeCompaction(t *testing.T) {
// sstable being deleted. Prior to the hack in dbClearRange, all of the
// sstables would be compacted resulting in 2 L6 sstables with different
// boundaries than the ones below.
_ = db.CompactRange(makeKey("c", 1), makeKey("c", numEntries), false)
_ = db.CompactRange(makeKey("c", 0), makeKey("c", numEntries), false)
verifySSTables(`
5: "a000000000" - "c000000000"
5: "a000000000" - "a000000000"
6: "a000000000" - "a000009999"
6: "b000000000" - "b000009999"
`)
Expand Down

0 comments on commit d8707c3

Please sign in to comment.