mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 16:51:22 +00:00
take a hashslot -> keys index, will be used for cluster rehasing
This commit is contained in:
@ -202,6 +202,7 @@ void clusterInit(void) {
|
||||
}
|
||||
if (aeCreateFileEvent(server.el, server.cfd, AE_READABLE,
|
||||
clusterAcceptHandler, NULL) == AE_ERR) oom("creating file event");
|
||||
server.cluster.slots_to_keys = zslCreate();
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user