Use SENTINEL REPLICAS for Sentinel replica discovery

This commit is contained in:
dualfroz committed 2026-10-10 11:41:46 +02:00
1 parent 23adb182a0
commit 6ea16b84c7
4 files changed
+90 -17

No files matched your search

+1 -1
View File
@@ -1729,7 +1729,7 @@ class ClientTest extends PredisTestCase
$this->assertInstanceOf(SentinelReplication::class, $connection);
// SENTINEL slaves returns a map under RESP3 - calling getSlaves()
// SENTINEL replicas returns a map under RESP3 - calling getSlaves()
// exercises the parsing path that previously read fields by
// positional index. We do not assert on cardinality because the
// CI topology may not include replicas; we only require that the