mirror of
https://github.com/predis/predis.git
synced 2026-09-14 04:17:14 +00:00
Discard slave even when flag is "o_down".
This commit is contained in:
@@ -385,7 +385,7 @@ class SentinelReplication implements ReplicationInterface
|
||||
foreach ($payload as $slave) {
|
||||
$flags = explode(',', $slave[9]);
|
||||
|
||||
if (array_intersect($flags, array('s_down', 'disconnected'))) {
|
||||
if (array_intersect($flags, array('s_down', 'o_down', 'disconnected'))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user