Merge commit '84d6d69fc69662b2709fffbeaf3c3b4f53c535b1'
This commit is contained in:
@@ -322,7 +322,7 @@ Status DBImpl::Recover(VersionEdit* edit) {
|
||||
if (ParseFileName(filenames[i], &number, &type)) {
|
||||
expected.erase(number);
|
||||
if (type == kLogFile && ((number >= min_log) || (number == prev_log)))
|
||||
logs.push_back(number);
|
||||
logs.push_back(number);
|
||||
}
|
||||
}
|
||||
if (!expected.empty()) {
|
||||
@@ -822,9 +822,6 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
|
||||
(unsigned long long) output_number,
|
||||
(unsigned long long) current_entries,
|
||||
(unsigned long long) current_bytes);
|
||||
|
||||
// rate-limit compaction file creation with a 100ms pause
|
||||
env_->SleepForMicroseconds(100000);
|
||||
}
|
||||
}
|
||||
return s;
|
||||
|
||||
Reference in New Issue
Block a user