diff --git a/internal/iothread/cmd_meta.go b/internal/iothread/cmd_meta.go index a72e56fd9..e3fe5a156 100644 --- a/internal/iothread/cmd_meta.go +++ b/internal/iothread/cmd_meta.go @@ -179,6 +179,7 @@ const ( CmdCommandDocs = "COMMAND|DOCS" CmdCommandGetKeys = "COMMAND|GETKEYS" CmdCommandGetKeysFlags = "COMMAND|GETKEYSANDFLAGS" + CmdJSONArrIndex = "JSON.ARRINDEX" ) // Multi-shard commands. @@ -570,6 +571,9 @@ var CommandsMeta = map[string]CmdMeta{ CmdCommandGetKeysFlags: { CmdType: SingleShard, }, + CmdJSONArrIndex: { + CmdType: SingleShard, + }, // Multi-shard commands. CmdRename: {