mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-17 02:56:07 -04:00
More fixes for verify index
This commit is contained in:
@ -2337,8 +2337,7 @@ bool RdbList::posdbMerge_r(RdbList **lists, int32_t numLists, const char *startK
|
||||
gbshutdownCorrupted();
|
||||
}
|
||||
|
||||
// only check index if it's readable
|
||||
if (base->isReadable(i) && index->exist(docId)) {
|
||||
if (index->exist(docId)) {
|
||||
if (i != filePos) {
|
||||
// docId found in newer file
|
||||
gbshutdownCorrupted();
|
||||
|
Reference in New Issue
Block a user