Looks like a bit more delay is needed to smooth the latency.

This commit is contained in:
JoelKatz
2013-06-25 11:52:05 -07:00
parent 2468d569b6
commit 30cb990efa

View File

@@ -823,9 +823,8 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
(unsigned long long) current_entries,
(unsigned long long) current_bytes);
// rate-limit compaction file creation
// with a 25ms pause
env_->SleepForMicroseconds(25000);
// rate-limit compaction file creation with a 100ms pause
env_->SleepForMicroseconds(100000);
}
}
return s;