mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
db41536454
The issue is that when a sentinel with the same address and IP is turned on with a different runid, its port is set to 0 but it is still present in the dictionary master->sentinels which contain all the sentinels for a master. This causes a problem when we do INFO SENTINEL because it takes the size of the dictionary of sentinels. This might also cause a problem for failover if enough sentinels have their port set to 0 since the number of voters in failover is also determined by the size of the dictionary of sentinels. This commits removes the sentinels with the port set to zero from the dictionary of sentinels. Fixes #8786 |
||
---|---|---|
.. | ||
tests | ||
tmp | ||
run.tcl |