Briefly, this error occurs when Elasticsearch tries to reduce the results of a percolate query across multiple shards and encounters an issue. This could be due to a variety of reasons such as network issues, node failures, or data inconsistencies. To resolve this issue, you can try to ensure all nodes are running and network is stable, check for data inconsistencies across shards, or reduce the complexity of your percolate query. If the problem persists, consider re-indexing your data or increasing the capacity of your Elasticsearch cluster.
This guide will help you check for common problems that cause the log ” {} Percolate original reduce error; original error {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: percolate.
Log Context
Log “{} Percolate original reduce error; original error {}” classname is TransportMultiPercolateAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
if (expectedOperationsPerItem.get(slot).decrementAndGet() == 0) { reduce(slot); } } } catch (Throwable t) { logger.error("{} Percolate original reduce error; original error {}"; t; shardId; e); finalListener.onFailure(t); } } void reduce(int slot) {