Skip to content

Commit c4f1ef1

Browse files
authored
JSON.MGET - clarify behavior when the specified keys are in different shards (#945)
1 parent 77d567e commit c4f1ef1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/commands/json.mget/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Return the values at `path` from multiple `key` arguments
3434

3535
{{% warning %}}
3636
When cluster mode is enabled, all specified keys must reside on the same [hash slot](https://redis.io/docs/latest/operate/oss_and_stack/reference/cluster-spec/#key-distribution-model).
37+
38+
When the database has more than one shard, and the specified keys reside in different shards, Redis will not report a CROSSSLOT error (to avoid breaking changes) and the results may be partial.
39+
40+
3741
{{% /warning %}}
3842

3943
[Examples](#examples)

0 commit comments

Comments
 (0)