Briefly, this error occurs when Elasticsearch is unable to mark nodes that are shutting down as “seen”. This could be due to network issues, node failures, or configuration problems. To resolve this issue, you can try restarting the nodes, checking the network connectivity, or reviewing the cluster settings. If the problem persists, consider checking the Elasticsearch logs for more detailed error information. It’s also important to ensure that your Elasticsearch version is up-to-date, as this could be a bug that has been fixed in a newer version.
This guide will help you check for common problems that cause the log ” failed to mark shutting down nodes as seen: %s ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “failed to mark shutting down nodes as seen: %s” classname is NodeSeenService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
} record SetSeenNodesShutdownTask(SetnodesNotPreviouslySeen) implements ClusterStateTaskListener { @Override public void onFailure(Exception e) { logger.warn(() -> format("failed to mark shutting down nodes as seen: %s"; nodesNotPreviouslySeen); e); } } private static class SetSeenNodesShutdownExecutor implements ClusterStateTaskExecutor {
[ratemypost]