-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RestartIndexFollowingIT.testFollowIndex in case of fatal exception (
#92522) This test failed several times after the leader cluster is fully restarted for the second time. The logs indicate that one or more ShardFollowNodeTask (the persistent task in charge or replication operations for a shard) have been stopped because a fatal exception occured. The fatal exception is an IllegalStateException with the Unable to open any connections to remote cluster message. I think this is due to the leader cluster being slow to restart and the remote cluster sniff strategy giving up after it tried to connect to the leader cluster nodes. Since this exception is fatal, the ShardFollowNodeTask stopped to replicate all operations and the test fails waiting for the number of docs to match on leader and follower clusters. The documented way to resolve CCR fatal exceptions for follower is to recreate the follower or to pause/resume follower. Test has been adjusted accordingly. Closes #90666 Co-authored-by: David Turner <[email protected]>
- Loading branch information
1 parent
9c9517a
commit 8ae6359
Showing
1 changed file
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters