Skip to content

[BUG] CLUSTER SLOTS crashes when used with fake-client. #2912

@allenss-amazon

Description

@allenss-amazon

Describe the bug

If a module creates a fake client and executes a VM_CALL to "CLUSTER SLOTS", then it crashes the server. Some debugging appeared to indicate that this was because CLUSTER SLOTS creates it's own fake client in order to cache its results for better performance. This doesn't work when the original client was also fake.

To reproduce

Have a module create a fake context and then perform an VM_Call to "CLUSTER SLOTS" command.

Expected behavior

No crash and good results from CLUSTER SLOTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions