Closed kjnilsson closed 5 months ago
Ensure that the members are updated when the membership is modifiied.
Always delete leaderboard record in ra server terminate callback to favour accuracy of leadership information over availability.
The idea is that when a record is not found in the leaderboard the caller falls back to some other, potentially slower, means of leader discovery.
The test of rabbitmq/khepri#240 (to use ra_leaderboard:lookup_members/1) works with this patch! It failed with Ra 2.7.1.
The test of rabbitmq/khepri#240 (to use ra_leaderboard:lookup_members/1) works with this patch!
ra_leaderboard:lookup_members/1
It failed with Ra 2.7.1.
nice, thanks for testing, I'll release a new Ra patch
Ensure that the members are updated when the membership is modifiied.
Always delete leaderboard record in ra server terminate callback to favour accuracy of leadership information over availability.
The idea is that when a record is not found in the leaderboard the caller falls back to some other, potentially slower, means of leader discovery.