Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yapple committed Jun 30, 2022
1 parent c7417c1 commit ce80341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions db/version_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3192,9 +3192,7 @@ Status VersionSet::ProcessManifestWrites(std::deque<ManifestWriter>& writers,
Status s;

assert(pending_manifest_file_number_ == 0);
if (!descriptor_log_ ||
manifest_file_size_ > db_options_->max_manifest_file_size ||
manifest_edit_count_ > db_options_->max_manifest_edit_count) {
if (!descriptor_log_) {
pending_manifest_file_number_ = NewFileNumber();
batch_edits.back()->SetNextFile(next_file_number_.load());
new_descriptor_log = true;
Expand Down
2 changes: 1 addition & 1 deletion include/rocksdb/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ struct DBOptions {
// transaction is encountered in the WAL
bool allow_2pc = false;

bool check_point_fake_flush = false;
bool check_point_fake_flush = true;

// A global cache for table-level rows.
// Default: nullptr (disabled)
Expand Down

0 comments on commit ce80341

Please sign in to comment.