You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say we have a 3-node cluster consisting of nodes: A (leader), B and C.
A and B are killed and are replaced with new nodes D and E having different IP addresses.
C which is a follower continues trying to reconnect to old leader A.
In the mean time, new nodes D and E form a quorum and elect D as a leader.
The new leader D tries to connect to C but C rejects it, since C's peering configuration does not contain the new IP addresses of D and E yet.
C never recovers and does not rejoin the cluster and I see a lot of reject term_unmatched AppendEntries logs on C.
How should I handle this scenario in my application? How do I dynamically update C's (which is a follower) peering configuration, assuming I already have a service that I can query to get information about the new instances D and E so that C rejoins the cluster?
I tried restarting C process with the new peers but that did not work even when I delete the state directory. So I'm currently terminating node C such that it is replaced by a fresh node with a new IP address, and that works.
The text was updated successfully, but these errors were encountered:
Let's say we have a 3-node cluster consisting of nodes:
A (leader), B and C
.reject term_unmatched AppendEntries
logs on C.How should I handle this scenario in my application? How do I dynamically update C's (which is a follower) peering configuration, assuming I already have a service that I can query to get information about the new instances D and E so that C rejoins the cluster?
I tried restarting C process with the new peers but that did not work even when I delete the state directory. So I'm currently terminating node C such that it is replaced by a fresh node with a new IP address, and that works.
The text was updated successfully, but these errors were encountered: