Skip to content

Commit 8428f9c

Browse files
Fix Failing to Handle Ex. in TransportShardBulkAction (#40923)
* Fixing minor mistake from #39793 here, we should be using `run` so that the `onFailure` path is executed if the first invocation of this `Runnable` fails for an unexpected reason
1 parent 51b9d5e commit 8428f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/action/bulk/TransportShardBulkAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private void finishRequest() {
194194
null, context.getPrimary(), logger));
195195
}
196196

197-
}.doRun();
197+
}.run();
198198
}
199199

200200
/**

0 commit comments

Comments
 (0)