Skip to content

Commit 51ad65b

Browse files
committed
Fix compilation
1 parent ef1d345 commit 51ad65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/elasticsearch/index/seqno/GlobalCheckpointTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ synchronized void updateAllocationIdsFromPrimaryContext(final SeqNoPrimaryContex
314314
*/
315315
for (final ObjectLongCursor<String> cursor : seqNoPrimaryContext.inSyncLocalCheckpoints()) {
316316
updateLocalCheckpoint(cursor.key, cursor.value);
317-
'' assert cursor.value >= globalCheckpoint
317+
assert cursor.value >= globalCheckpoint
318318
: "local checkpoint [" + cursor.value + "] violates being at least the global checkpoint [" + globalCheckpoint + "]";
319319
try {
320320
markAllocationIdAsInSync(cursor.key, cursor.value);

0 commit comments

Comments
 (0)