Replies: 3 comments 3 replies
-
@daipok Yes, that forwarding behavior is documented here: https://openbao.org/docs/internals/high-availability/
So until the active node's heartbeat loss (from Depending on your environment, tuning |
Beta Was this translation helpful? Give feedback.
-
I am testing performance_multiplier = 1 at the moment. I found that on the follower node it has so I suppose it's losing the "heartbeat" to the leader node at 10.198.124.11 But this does not shift the leadership yet for some reason. The leader is still at 10.198.124.11. So I suspect I am missing some configuration to make this magic work |
Beta Was this translation helpful? Give feedback.
-
I am not sure if I follow correctly. I set performance multiplier to 1, and I don't see the heartbeat becoming faster, it's still about 5s apart.
Another interesting thing is, I don't see an re-election happening. If the follower cannot reach the leader through heartbeat, does it really guarantee a re-election? |
Beta Was this translation helpful? Give feedback.
-
I was trying to understand, how does an election occur.
I tested in a cluster of 3 nodes, and tried both taking the leader down or a bao operator step-down, both work reasonably well.
What if however, there are some issues with the leader node. I did try to use iptable to drop packets on 8200 and 8201 (listening port and cluster port), and try to simulate some sort of failure pattern, but I found that this does not trigger a leadership shift.
Furthermore, I cannot even do a list-peers from the follower. Does the bao call actually gets forwarded to the leader?
Beta Was this translation helpful? Give feedback.
All reactions