dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
24.46k stars 884 forks source link

chore: add replica-priority flag #3204

Closed kostasrim closed 1 week ago

kostasrim commented 1 week ago

resolves #3202

Allows sentinel to do automatic failover based on the score of each replica on multi replica setup

romange commented 1 week ago

Thanks for the quick turnaround. We have sentinel tests in pytests Care to add this use case there?

kostasrim commented 1 week ago

Thanks for the quick turnaround. We have sentinel tests in pytests Care to add this use case there?

ofc!

kostasrim commented 1 week ago

@romange ready :)

levikhulaifi commented 1 week ago

@kostasrim Thank you very much