Skip to content

Update the command json to forbid cross slots in PUBSUB SHARDNUMSUB #40

@rueian

Description

@rueian

We should not allow passing cross slots channel names to the command builder of the PUBSUB SHARDNUMSUB command.

See valkey-io/valkey#1369 (comment)

Todos:

Update the type from string to key.

"PUBSUB SHARDNUMSUB": {
"arguments": [
{
"name": "channel",
"type": "string",

Then regenerate the command builder by running go generate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions