You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/logging/DeprecationIndexingComponent.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,9 @@ protected void doStop() {
172
172
173
173
@Override
174
174
protectedvoiddoClose() {
175
-
this.processor.close();
175
+
if (requestAndListenerBuffer.isEmpty()) {
176
+
this.processor.close();
177
+
} // else no point in waiting for the bulk requests to complete because they're never going to
0 commit comments