Skip to content

Commit ba98b04

Browse files
committed
fix wrong check on close
1 parent bb609f6 commit ba98b04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/elasticsearch/action/bulk/BulkProcessor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ private void executeIfNeeded() {
243243
if (closed) {
244244
throw new ElasticSearchIllegalStateException("bulk process already closed");
245245
}
246-
this.closed = true;
247246
if (!isOverTheLimit()) {
248247
return;
249248
}

0 commit comments

Comments
 (0)