Failed to mark shutting down nodes as seen %s – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.4-8.9

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(Set nodesNotPreviouslySeen) 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 {

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?