Skip to content

Commit 345b496

Browse files
committed
Replace nocommit by norelease
The temporary fix was marked incorrectly with nocommit. It should be marked with norelease.
1 parent 7004d2c commit 345b496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/engine/LuceneChangesSnapshot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private TopDocs searchOperations(IndexSearcher searcher) throws IOException {
165165
new SortedNumericSortField(SeqNoFieldMapper.NAME, SortField.Type.LONG),
166166
new SortedNumericSortField(SeqNoFieldMapper.PRIMARY_TERM_NAME, SortField.Type.LONG, true)
167167
);
168-
// nocommit - limits the number of hits
168+
// norelease - limits the number of hits
169169
final long numHits = Math.min((toSeqNo + 1 - fromSeqNo) * 2, Integer.MAX_VALUE - 1);
170170
return searcher.search(rangeQuery, Math.toIntExact(numHits), sortedBySeqNoThenByTerm);
171171
}

0 commit comments

Comments
 (0)