mirror of https://github.com/facebook/rocksdb.git
Don't need to UpdateFilesByCompactionPri for kCompactionStyleNone
Summary: Closes https://github.com/facebook/rocksdb/pull/3563 Differential Revision: D7154653 Pulled By: ajkr fbshipit-source-id: 4f32fb1b02451a934504c40be22b07fb1f2deb9c
This commit is contained in:
parent
5d68243e61
commit
9cb4856dbd
|
@ -1754,7 +1754,8 @@ void SortFileByOverlappingRatio(
|
|||
|
||||
void VersionStorageInfo::UpdateFilesByCompactionPri(
|
||||
CompactionPri compaction_pri) {
|
||||
if (compaction_style_ == kCompactionStyleFIFO ||
|
||||
if (compaction_style_ == kCompactionStyleNone ||
|
||||
compaction_style_ == kCompactionStyleFIFO ||
|
||||
compaction_style_ == kCompactionStyleUniversal) {
|
||||
// don't need this
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue