cluster import/export of hash slots implemented in the query redirection engine

This commit is contained in:
antirez
2011-05-05 11:13:21 +02:00
parent a5dce40726
commit eda827f8b7
3 changed files with 59 additions and 22 deletions

View File

@ -1083,7 +1083,7 @@ unsigned int keyHashSlot(char *key, int keylen);
clusterNode *createClusterNode(char *nodename, int flags);
int clusterAddNode(clusterNode *node);
void clusterCron(void);
clusterNode *getNodeByQuery(redisClient *c, struct redisCommand *cmd, robj **argv, int argc, int *hashslot);
clusterNode *getNodeByQuery(redisClient *c, struct redisCommand *cmd, robj **argv, int argc, int *hashslot, int *ask);
/* Git SHA1 */
char *redisGitSHA1(void);