Skip to content

Commit

Permalink
add command as single shard command
Browse files Browse the repository at this point in the history
  • Loading branch information
iamskp11 committed Dec 17, 2024
1 parent 1ef1921 commit 4848a17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/iothread/cmd_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ const (
CmdCommandDocs = "COMMAND|DOCS"
CmdCommandGetKeys = "COMMAND|GETKEYS"
CmdCommandGetKeysFlags = "COMMAND|GETKEYSANDFLAGS"
CmdJSONArrIndex = "JSON.ARRINDEX"
)

// Multi-shard commands.
Expand Down Expand Up @@ -570,6 +571,9 @@ var CommandsMeta = map[string]CmdMeta{
CmdCommandGetKeysFlags: {
CmdType: SingleShard,
},
CmdJSONArrIndex: {
CmdType: SingleShard,
},

// Multi-shard commands.
CmdRename: {
Expand Down

0 comments on commit 4848a17

Please sign in to comment.