mirror of
https://github.com/predis/predis.git
synced 2026-09-11 02:46:59 +00:00
Handle DUMP and RESTORE with Predis\Connection\PredisCluster.
This commit is contained in:
@@ -58,6 +58,8 @@ class PredisClusterHashStrategy implements CommandHashStrategyInterface
|
||||
'TTL' => $keyIsFirstArgument,
|
||||
'PTTL' => $keyIsFirstArgument,
|
||||
'SORT' => $keyIsFirstArgument, // TODO
|
||||
'DUMP' => $keyIsFirstArgument,
|
||||
'RESTORE' => $keyIsFirstArgument,
|
||||
|
||||
/* commands operating on string values */
|
||||
'APPEND' => $keyIsFirstArgument,
|
||||
|
||||
@@ -263,6 +263,8 @@ class PredisClusterHashStrategyTest extends StandardTestCase
|
||||
'TTL' => 'keys-first',
|
||||
'PTTL' => 'keys-first',
|
||||
'SORT' => 'keys-first', // TODO
|
||||
'DUMP' => 'keys-first',
|
||||
'RESTORE' => 'keys-first',
|
||||
|
||||
/* commands operating on string values */
|
||||
'APPEND' => 'keys-first',
|
||||
|
||||
Reference in New Issue
Block a user