Briefly, this error occurs when a request to pause a follower index in Elasticsearch is not acknowledged. This could be due to network issues, heavy load on the cluster, or the follower index being deleted or unavailable. To resolve this, you can try the following: 1) Check the network connectivity between the leader and follower nodes. 2) Monitor the cluster’s health and resources, and scale up if necessary. 3) Ensure the follower index exists and is accessible. 4) Retry the pause request after some time.
This guide will help you check for common problems that cause the log ” pause follow request failed to be acknowledged ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, request.
Log Context
Log “pause follow request failed to be acknowledged” class name is PauseFollowerIndexStep.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :
PauseFollowAction.Request request = new PauseFollowAction.Request(followerIndex); request.masterNodeTimeout(TimeValue.MAX_VALUE); getClient().execute(PauseFollowAction.INSTANCE; request; ActionListener.wrap(r -> { if (r.isAcknowledged() == false) { throw new ElasticsearchException("pause follow request failed to be acknowledged"); } listener.onResponse(null); }; listener::onFailure)); } }
[ratemypost]