You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/apis/_index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ The existing Redis commands cover most use cases, but if low latency is a critic
26
26
27
27
Lua scripts have been available since early versions of Redis. With Lua, the script is provided by the client and cached on the server side, which implies the risk that different clients might use a different script version.
28
28
29
-
-[Redis Lua API reference]({{< relref "/develop/interact/programmability/lua-api" >}})
30
-
-[Scripting with Lua introduction]({{< relref "/develop/interact/programmability/eval-intro" >}})
29
+
-[Redis Lua API reference]({{< relref "/develop/programmability/lua-api" >}})
30
+
-[Scripting with Lua introduction]({{< relref "/develop/programmability/eval-intro" >}})
31
31
32
32
The Redis functions feature, which became available in Redis 7, supersedes the use of Lua in prior versions of Redis. The client is still responsible for invoking the execution, but unlike the previous Lua scripts, functions can now be replicated and persisted.
33
33
34
-
-[Functions and scripting in Redis 7 and beyond]({{< relref "/develop/interact/programmability/functions-intro" >}})
34
+
-[Functions and scripting in Redis 7 and beyond]({{< relref "/develop/programmability/functions-intro" >}})
35
35
36
36
If none of the previous methods fulfills your needs, then you can extend the functionality of Redis with new commands using the Redis Modules API.
Copy file name to clipboardExpand all lines: content/commands/cluster-info.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,13 +66,13 @@ Here are the explanation of these fields:
66
66
*`cluster_stats_messages_pong_sent` and `cluster_stats_messages_pong_received`: PONG (reply to PING).
67
67
*`cluster_stats_messages_meet_sent` and `cluster_stats_messages_meet_received`: Handshake message sent to a new node, either through gossip or [`CLUSTER MEET`]({{< relref "/commands/cluster-meet" >}}).
68
68
*`cluster_stats_messages_fail_sent` and `cluster_stats_messages_fail_received`: Mark node xxx as failing.
69
-
*`cluster_stats_messages_publish_sent` and `cluster_stats_messages_publish_received`: Pub/Sub Publish propagation, see [Pubsub]({{< relref "/develop/interact/pubsub#pubsub" >}}).
69
+
*`cluster_stats_messages_publish_sent` and `cluster_stats_messages_publish_received`: Pub/Sub Publish propagation, see [Pubsub]({{< relref "/develop/pubsub#pubsub" >}}).
70
70
*`cluster_stats_messages_auth-req_sent` and `cluster_stats_messages_auth-req_received`: Replica initiated leader election to replace its master.
71
71
*`cluster_stats_messages_auth-ack_sent` and `cluster_stats_messages_auth-ack_received`: Message indicating a vote during leader election.
72
72
*`cluster_stats_messages_update_sent` and `cluster_stats_messages_update_received`: Another node slots configuration.
73
73
*`cluster_stats_messages_mfstart_sent` and `cluster_stats_messages_mfstart_received`: Pause clients for manual failover.
74
74
*`cluster_stats_messages_module_sent` and `cluster_stats_messages_module_received`: Module cluster API message.
75
-
*`cluster_stats_messages_publishshard_sent` and `cluster_stats_messages_publishshard_received`: Pub/Sub Publish shard propagation, see [Sharded Pubsub]({{< relref "/develop/interact/pubsub#sharded-pubsub" >}}).
75
+
*`cluster_stats_messages_publishshard_sent` and `cluster_stats_messages_publishshard_received`: Pub/Sub Publish shard propagation, see [Sharded Pubsub]({{< relref "/develop/pubsub#sharded-pubsub" >}}).
76
76
77
77
More information about the Current Epoch and Config Epoch variables are available in the [Redis Cluster specification document]({{< relref "/operate/oss_and_stack/reference/cluster-spec#cluster-current-epoch" >}}).
Copy file name to clipboardExpand all lines: content/commands/cms.incrby.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,17 +45,30 @@ Increases the count of item by increment. Multiple items can be increased with o
45
45
***item**: The item which counter is to be increased.
46
46
***increment**: Amount by which the item counter is to be increased.
47
47
48
-
## Return
49
-
50
-
51
-
[Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}) of [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}) with an updated min-count of each of the items in the sketch.
52
-
53
-
Count of each item after increment.
54
-
55
48
## Examples
56
49
57
50
```
58
51
redis> CMS.INCRBY test foo 10 bar 42
59
52
1) (integer) 10
60
53
2) (integer) 42
61
54
```
55
+
56
+
## Return information
57
+
58
+
{{< multitabs id=“cms-incrby-return-info"
59
+
tab1="RESP2"
60
+
tab2="RESP3" >}}
61
+
62
+
One of the following:
63
+
64
+
*[Array]({{< relref "/develop/reference/protocol-spec#arrays" >}}) of [integer replies]({{< relref "/develop/reference/protocol-spec#integers" >}}) representing updated min-counts of each of the provided items in the sketch.
65
+
*[Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, missing key, overflow, or wrong key type.
66
+
67
+
-tab-sep-
68
+
69
+
One of the following:
70
+
71
+
*[Array]({{< relref "/develop/reference/protocol-spec#arrays" >}}) of [integer replies]({{< relref "/develop/reference/protocol-spec#integers" >}}) representing updated min-counts of each of the provided items in the sketch.
72
+
*[Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, missing key, overflow, or wrong key type.
Copy file name to clipboardExpand all lines: content/commands/cms.merge.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,13 +53,29 @@ Merges several sketches into one sketch. All sketches must have identical width
53
53
***src**: Names of source sketches to be merged.
54
54
***weight**: Multiple of each sketch. Default =1.
55
55
56
-
## Return
57
-
58
-
[Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}) - `OK` if executed correctly, or [] otherwise.
59
-
60
56
## Examples
61
57
62
58
```
63
59
redis> CMS.MERGE dest 2 test1 test2 WEIGHTS 1 3
64
60
OK
65
61
```
62
+
63
+
## Return information
64
+
65
+
{{< multitabs id=“cms-merge-return-info"
66
+
tab1="RESP2"
67
+
tab2="RESP3" >}}
68
+
69
+
One of the following:
70
+
71
+
*[Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}) `OK` if executed correctly.
72
+
*[Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: non-existent key or destination key is not of the same width and/or depth.
73
+
74
+
-tab-sep-
75
+
76
+
One of the following:
77
+
78
+
*[Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}) `OK` if executed correctly.
79
+
*[Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: non-existent key or destination key is not of the same width and/or depth.
0 commit comments