mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Fixed command table for RESTORE to make it accepting keys only for the right slots when cluster is enabled.
This commit is contained in:
parent
d7021b081b
commit
7afc3a9611
@ -207,7 +207,7 @@ struct redisCommand redisCommandTable[] = {
|
||||
{"watch",watchCommand,-2,"rs",0,noPreloadGetKeys,1,-1,1,0,0},
|
||||
{"unwatch",unwatchCommand,1,"rs",0,NULL,0,0,0,0,0},
|
||||
{"cluster",clusterCommand,-2,"ar",0,NULL,0,0,0,0,0},
|
||||
{"restore",restoreCommand,4,"awm",0,NULL,0,0,0,0,0},
|
||||
{"restore",restoreCommand,4,"awm",0,NULL,1,1,1,0,0},
|
||||
{"migrate",migrateCommand,6,"aw",0,NULL,0,0,0,0,0},
|
||||
{"dump",dumpCommand,2,"ar",0,NULL,0,0,0,0,0},
|
||||
{"object",objectCommand,-2,"r",0,NULL,0,0,0,0,0},
|
||||
|
Loading…
Reference in New Issue
Block a user