Daniele Alessandri
c26909699b
Merge remote-tracking branch 'github/pr/639' into main
2020-08-18 16:03:10 +02:00
Daniele Alessandri
67c0fb8eb1
Separate id and alias in predis cluster (client-side sharding).
...
This change does not affect distribution but simply separates the two
concepts of connection ID (ip:port pair) and alias (value set via the
"alias" connection parameter), the method getConnectionByAlias() has
been added to reflect this change.
The method getConnectionBySlot() has also been added.
2016-06-18 17:12:20 +02:00
Daniele Alessandri
9d8adee1b1
Rename to getConnectionByCommand($command).
2016-06-16 10:39:44 +02:00
Daniele Alessandri
eb1e686ff9
[tests] Change indentation of mock method expectations.
2016-06-10 11:08:26 +02:00
Daniele Alessandri
c10479e238
Remove executeCommandOnNodes() from predis cluster backend.
...
It is still possible to achieve the same simply by iterating over the
connection or, even better, over the client instance.
2016-06-08 12:01:54 +02:00
Daniele Alessandri
1028599ac5
Split Predis\Connection\Aggregate namespace.
...
Now we have two namespaces for cluster and replication backends:
- Predis\Connection\Cluster
- Predis\Connection\Replication
2016-06-07 15:23:32 +02:00