Skip to content

Iterating all the commands #10124

@guybe7

Description

@guybe7

starting from #9504 not all commands are in server.commands (that is, if we are counting subcommands as commands, which we do)

we need to go over all references to server.commands and server.orig_commands and make sure that the usage is as intended (i.e. if the functions need to process only "top level" commands, and ignore subcommands. i assume this is not the case for most usages, but rather just to iterate all commands, in which case we will need to replace the logic with some recursive function tat takes. redisCommand - see populateCommandStructure)

Metadata

Metadata

Assignees

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