Voting-only node skipping publication to – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.3-8.9

Briefly, this error occurs when a voting-only node in an Elasticsearch cluster tries to publish changes to a non-master node. Voting-only nodes are designed to only participate in elections and not to hold data or perform other tasks. This error is not critical and usually doesn’t affect the cluster’s operation. To resolve this issue, you can either ignore the error if it doesn’t affect your operations, or you can reconfigure your cluster to have fewer voting-only nodes or to ensure that all nodes are capable of receiving publications.

This guide will help you check for common problems that cause the log ” voting-only node skipping publication to ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, node, cluster.

Log Context

Log “voting-only node skipping publication to” class name is VotingOnlyNodePlugin.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 threadPoolSupplier.get()
 .generic()
 .execute(
 () -> handler.handleException(
 new TransportException(
 new ElasticsearchException("voting-only node skipping publication to " + destinationNode)
 )
 )
 );
 }
 } else {

 

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?