Fix candidate file comparison when using path ids
This commit is contained in:
parent
7e9f28cb23
commit
f09329cb01
@ -631,7 +631,7 @@ bool CompareCandidateFile(const rocksdb::DBImpl::CandidateFileInfo& first,
|
||||
} else if (first.file_name < second.file_name) {
|
||||
return false;
|
||||
} else {
|
||||
return (first.path_id > first.path_id);
|
||||
return (first.path_id > second.path_id);
|
||||
}
|
||||
}
|
||||
}; // namespace
|
||||
|
Loading…
Reference in New Issue
Block a user