| 3557 | } |
| 3558 | |
| 3559 | static signed int clusterManagerCountKeysInSlot(clusterManagerNode *node, |
| 3560 | int slot) |
| 3561 | { |
| 3562 | redisReply *reply = CLUSTER_MANAGER_COMMAND(node, |
| 3563 | "CLUSTER COUNTKEYSINSLOT %d", slot); |
| 3564 | int count = -1; |
| 3565 | int success = clusterManagerCheckRedisReply(node, reply, NULL); |
| 3566 | if (success && reply->type == REDIS_REPLY_INTEGER) count = reply->integer; |
| 3567 | if (reply) freeReplyObject(reply); |
| 3568 | return count; |
| 3569 | } |
| 3570 | |
| 3571 | static int clusterManagerBumpEpoch(clusterManagerNode *node) { |
| 3572 | redisReply *reply = CLUSTER_MANAGER_COMMAND(node, "CLUSTER BUMPEPOCH"); |
no test coverage detected