Timed out waiting for voting config exclusions – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7-7.15

Briefly, this error occurs when Elasticsearch is unable to complete the voting configuration exclusions within the set timeout period. This usually happens during a master node election or when removing a node from the cluster. To resolve this issue, you can increase the timeout setting, ensure the cluster health is green before making changes, or check for network connectivity issues between nodes. Also, ensure that the master node is not overloaded with tasks, as this could delay the voting process.

This guide will help you check for common problems that cause the log ” timed out waiting for voting config exclusions ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: admin, cluster.

Log Context

Log “timed out waiting for voting config exclusions” class name is TransportAddVotingConfigExclusionsAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 resolvedExclusions + " to take effect"));
 }  @Override
 public void onTimeout(TimeValue timeout) {
 listener.onFailure(new ElasticsearchTimeoutException("timed out waiting for voting config exclusions "
 + resolvedExclusions + " to take effect"));
 }
 };  if (allNodesRemoved.test(newState)) {

 

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?