Skip to content

Commit

Permalink
Merge branch 'main' into export-flush-compact-reason-string
Browse files Browse the repository at this point in the history
  • Loading branch information
ofriedma authored Dec 28, 2023
2 parents cc4cf8d + d4d2a0a commit 32a83cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Based on RocksDB 8.6.7
### Bug Fixes
* Stall deadlock consists small cfs (#637).
* Proactive Flushes: Fix a race in the ShouldInitiateAnotherFlushMemOnly that may cause the method to return an incorrect answer (#758).
* Fix CI failure after changing compation_readahead_size default to 0 (#794).

### Miscellaneous
* Remove leftover references to ROCKSDB_LITE (#755).
Expand Down
3 changes: 1 addition & 2 deletions db/db_options_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1069,8 +1069,7 @@ TEST_F(DBOptionsTest, CompactionReadaheadSizeChange) {
ASSERT_OK(s);
}

ASSERT_EQ(1024 * 1024 * 2,
dbfull()->GetDBOptions().compaction_readahead_size);
ASSERT_EQ(0, dbfull()->GetDBOptions().compaction_readahead_size);
ASSERT_OK(dbfull()->SetDBOptions({{"compaction_readahead_size", "256"}}));
ASSERT_EQ(256, dbfull()->GetDBOptions().compaction_readahead_size);
for (int i = 0; i < 1024; i++) {
Expand Down
1 change: 1 addition & 0 deletions file/prefetch_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ TEST_P(PrefetchTest, Basic) {
SyncPoint::GetInstance()->SetCallBack("FilePrefetchBuffer::Prefetch:Start",
[&](void*) { buff_prefetch_count++; });
SyncPoint::GetInstance()->EnableProcessing();
options.compaction_readahead_size = 2 * 1024 * 1024;

Status s = TryReopen(options);
if (use_direct_io && (s.IsNotSupported() || s.IsInvalidArgument())) {
Expand Down

0 comments on commit 32a83cd

Please sign in to comment.