Also ignore rejected execution exception when retying restart
This commit is contained in:
parent
1ea690e814
commit
c44b83dc29
|
@ -208,9 +208,13 @@ public class IngestBootstrapper extends AbstractLifecycleComponent implements Cl
|
||||||
installIngestIndexTemplate();
|
installIngestIndexTemplate();
|
||||||
}
|
}
|
||||||
pipelineStore.start();
|
pipelineStore.start();
|
||||||
} catch (Exception e) {
|
} catch (Exception e1) {
|
||||||
logger.warn("pipeline store failed to start, retrying...", e);
|
logger.warn("pipeline store failed to start, retrying...", e1);
|
||||||
|
try {
|
||||||
startPipelineStore(metaData);
|
startPipelineStore(metaData);
|
||||||
|
} catch (RejectedExecutionException e2) {
|
||||||
|
logger.debug("async pipeline store start retry failed", e2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (RejectedExecutionException e) {
|
} catch (RejectedExecutionException e) {
|
||||||
|
|
Loading…
Reference in New Issue