Fix assert, it is not legal to extend lid space using compactLidSpace().
@@ -707,7 +707,7 @@ uint32_t AttributeVector::getVersion() const { return 0; }
void
AttributeVector::compactLidSpace(uint32_t wantedLidLimit) {
commit();
- assert(_uncommittedDocIdLimit <= wantedLidLimit);
+ assert(_committedDocIdLimit >= wantedLidLimit);
if (wantedLidLimit < _committedDocIdLimit) {
clearDocs(wantedLidLimit, _committedDocIdLimit);
}
