Skip to content

[NEW] extend VALKEYMODULE_CLIENTINFO_INITIALIZER_V1 with replica flags for ValkeyModule_GetClientInfoById #2590

@martinrvisser

Description

@martinrvisser

The problem/use-case that the feature addresses

In a module we may want to take specific actions based on whether a client is a replica or a normal client ( as per client flags ).

Description of the feature

Make the client replica flag available in the flags section of the VALKEYMODULE_CLIENTINFO_INITIALIZER_V1 so it can be accessed in ValkeyModule_GetClientInfoById.

Alternatives you've considered

N/A

Additional information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions