File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
server/src/main/java/org/elasticsearch/cluster/service Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1407,10 +1407,11 @@ private interface Batch {
1407
1407
/**
1408
1408
* Called when the batch is rejected due to the master service shutting down.
1409
1409
*
1410
- * @param e is a {@link NotMasterException} to cause things like {@link TransportMasterNodeAction} to retry after
1411
- * submitting a task to a master which shut down. {@code e.getCause()} is the rejection exception, which should be a
1412
- * {@link EsRejectedExecutionException} with {@link EsRejectedExecutionException#isExecutorShutdown()} true.
1410
+ * @param e is a {@link NotMasterException} to cause things like {@link TransportMasterNodeAction} to retry after submitting a task
1411
+ * to a master which shut down. {@code e.getCause()} is the rejection exception, which should be a
1412
+ * {@link EsRejectedExecutionException} with {@link EsRejectedExecutionException#isExecutorShutdown()} true.
1413
1413
*/
1414
+ // Should really be a NodeClosedException instead, but this exception type doesn't trigger retries today.
1414
1415
void onRejection (NotMasterException e );
1415
1416
1416
1417
/**
You can’t perform that action at this time.
0 commit comments