Skip to content

Module experimental cluster api #5371

@MeirShpilraien

Description

@MeirShpilraien

Hey,

As I see the experimental api expose the following function to retrieve information on the cluster:

int REDISMODULE_API_FUNC(RedisModule_GetClusterNodeInfo)(RedisModuleCtx *ctx, const char *id, char *ip, char *master_id, int *port, int *flags);
char **REDISMODULE_API_FUNC(RedisModule_GetClusterNodesList)(RedisModuleCtx *ctx, size_t *numnodes);

I did not see any possibility to get the slot range for a given node, is it possible to add it to RedisModule_GetClusterNodeInfo ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions