mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Add log message for auto-follower timeout
When an auto-follower coordinator times out waiting for the remote cluster state, we do not log any indication of this. While this is expected behavior in quiet deployments, it is still useful to see this information for tracing the behavior of the auto-follow coordinator. This commit adds a trace log message indicating that the timeout.
This commit is contained in:
parent
86d1d03c37
commit
0824eceacf
@ -366,6 +366,7 @@ public class AutoFollowCoordinator implements ClusterStateListener {
|
||||
if (remoteClusterStateResponse != null) {
|
||||
assert remoteError == null;
|
||||
if (remoteClusterStateResponse.isWaitForTimedOut()) {
|
||||
LOGGER.trace("auto-follow coordinator timed out getting remote cluster state from [{}]", remoteCluster);
|
||||
start();
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user