[MNT-24180] fix FIX action

This commit is contained in:
Manish Kumar
2024-08-16 17:48:47 +05:30
parent a4729aa6d6
commit 62c694c7ff

View File

@@ -121,6 +121,7 @@ import java.util.function.Function;
import java.util.function.Supplier;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.LongStream;
import java.util.zip.GZIPInputStream;
import com.carrotsearch.hppc.IntArrayList;
@@ -3784,13 +3785,10 @@ public class SolrInformationServer implements InformationServer
break;
}
}
for(long id = iterationStart; id <= batchEndId; id++)
{
if(idsInDb.get(id))
{
reporter.reportIdInDbButNotInIndex(id);
}
}
LongStream.rangeClosed(iterationStart, batchEndId)
.filter(id -> idsInDb.get(id))
.forEach(reporter::reportIdInDbButNotInIndex);
batchStartId = batchEndId + 1;
batchEndId = Math.min(batchStartId + BATCH_FACET_TXS, maxId);
}