diff --git a/resp2_replies.json b/resp2_replies.json index f93f0ac4..cf8ec0e3 100644 --- a/resp2_replies.json +++ b/resp2_replies.json @@ -27,6 +27,12 @@ "ACL LIST": [ "[Array reply](../topics/protocol.md#arrays): an array of [Bulk string reply](../topics/protocol.md#bulk-strings) elements." ], + "ACL LOAD": [ + "[Simple string reply](../topics/protocol.md#simple-strings): `OK` on success.", + "", + "The command may fail with an error for several reasons: if the file is not readable, if there is an error inside the file, and in such cases, the error will be reported to the user in the error.", + "Finally, the command will fail if the server is not configured to use an external ACL file." + ], "ACL LOG": [ "When called to show security events:", "* [Array reply](../topics/protocol.md#arrays): an array of [Bulk string reply](../topics/protocol.md#bulk-strings) elements representing ACL security events.", @@ -47,12 +53,6 @@ "ACL WHOAMI": [ "[Bulk string reply](../topics/protocol.md#bulk-strings): the username of the current connection." ], - "ACL-LOAD": [ - "[Simple string reply](../topics/protocol.md#simple-strings): `OK` on success.", - "", - "The command may fail with an error for several reasons: if the file is not readable, if there is an error inside the file, and in such cases, the error will be reported to the user in the error.", - "Finally, the command will fail if the server is not configured to use an external ACL file." - ], "APPEND": [ "[Integer reply](../topics/protocol.md#integers): the length of the string after the append operation." ], @@ -144,6 +144,9 @@ "CLIENT CACHING": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK` or an error if the argument is not \"yes\" or \"no\"." ], + "CLIENT CAPA": [ + "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." + ], "CLIENT GETNAME": [ "One of the following:", "* [Bulk string reply](../topics/protocol.md#bulk-strings): the connection name of the current connection.", @@ -229,7 +232,7 @@ "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was successful. Otherwise an error is returned." ], "CLUSTER FAILOVER": [ - "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was accepted and a manual failover is going to be attempted. An error if the operation cannot be executed, for example if the client is connected to a node that is already a master." + "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was accepted and a manual failover is going to be attempted. An error if the operation cannot be executed, for example if the client is connected to a node that is already a primary." ], "CLUSTER FLUSHSLOTS": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`" @@ -265,7 +268,7 @@ "[Bulk string reply](../topics/protocol.md#bulk-strings): the serialized cluster configuration." ], "CLUSTER REPLICAS": [ - "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified master node provided in the same format used by `CLUSTER NODES`." + "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified primary node provided in the same format used by `CLUSTER NODES`." ], "CLUSTER REPLICATE": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was successful. Otherwise an error is returned." @@ -286,7 +289,7 @@ "[Array reply](../topics/protocol.md#arrays): a nested list of a map of hash ranges and shard nodes describing individual shards." ], "CLUSTER SLAVES": [ - "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified master node provided in the same format used by `CLUSTER NODES`." + "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified primary node provided in the same format used by `CLUSTER NODES`." ], "CLUSTER SLOTS": [ "[Array reply](../topics/protocol.md#arrays): nested list of slot ranges with networking information." @@ -578,7 +581,7 @@ "HSCAN": [ "[Array reply](../topics/protocol.md#arrays): a two-element array.", "* The first element is a [Bulk string reply](../topics/protocol.md#bulk-strings) that represents an unsigned 64-bit number, the cursor.", - "* The second element is an [Array reply](../topics/protocol.md#arrays) of field/value pairs that were scanned." + "* The second element is an [Array reply](../topics/protocol.md#arrays) of field/value pairs that were scanned. When `NOVALUES` option is on, a list of keys from the hash." ], "HSET": [ "[Integer reply](../topics/protocol.md#integers): the number of fields that were added." @@ -835,7 +838,7 @@ "When successful, this command doesn't return anything. Instead, for each pattern, one message with the first element being the string `psubscribe` is pushed as a confirmation that the command succeeded." ], "PSYNC": [ - "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the master." + "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the primary." ], "PTTL": [ "One of the following:", @@ -958,6 +961,9 @@ "SCRIPT LOAD": [ "[Bulk string reply](../topics/protocol.md#bulk-strings): the SHA1 digest of the script added into the script cache." ], + "SCRIPT SHOW": [ + "[Bulk string reply](../topics/protocol.md#bulk-strings): Lua script if sha1 hash exists in script cache." + ], "SDIFF": [ "[Array reply](../topics/protocol.md#arrays): a list with members of the resulting set." ], @@ -1086,7 +1092,7 @@ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." ], "SYNC": [ - "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the master." + "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the primary." ], "TIME": [ "[Array reply](../topics/protocol.md#arrays): specifically, a two-element array consisting of the Unix timestamp in seconds and the microseconds' count." @@ -1117,7 +1123,7 @@ ], "WAITAOF": [ "[Array reply](../topics/protocol.md#arrays): The command returns an array of two integers:", - "1. The first is the number of local Redises (0 or 1) that have fsynced to AOF all writes performed in the context of the current connection", + "1. The first is the number of local Valkey nodes (0 or 1) that have fsynced to AOF all writes performed in the context of the current connection", "2. The second is the number of replicas that have acknowledged doing the same." ], "WATCH": [ @@ -1307,7 +1313,9 @@ "* [Array reply](../topics/protocol.md#arrays): The rank and score of the member when _WITHSCORE_ is used." ], "ZSCAN": [ - "[Array reply](../topics/protocol.md#arrays): cursor and scan response in array form." + "[Array reply](../topics/protocol.md#arrays): a two-element array.", + "* The first element is a [Bulk string reply](../topics/protocol.md#bulk-strings) that represents an unsigned 64-bit number, the cursor.", + "* The second element is an [Array reply](../topics/protocol.md#arrays) of member/score pairs that were scanned. When `NOSCORES` option is on, a list of members from the sorted set." ], "ZSCORE": [ "One of the following:", diff --git a/resp3_replies.json b/resp3_replies.json index fc62d1c3..40027d51 100644 --- a/resp3_replies.json +++ b/resp3_replies.json @@ -144,6 +144,9 @@ "CLIENT CACHING": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK` or an error if the argument is not \"yes\" or \"no\"." ], + "CLIENT CAPA": [ + "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." + ], "CLIENT GETNAME": [ "One of the following:", "* [Bulk string reply](../topics/protocol.md#bulk-strings): the connection name of the current connection.", @@ -229,7 +232,7 @@ "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was successful. Otherwise an error is returned." ], "CLUSTER FAILOVER": [ - "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was accepted and a manual failover is going to be attempted. An error if the operation cannot be executed, for example if the client is connected to a node that is already a master." + "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was accepted and a manual failover is going to be attempted. An error if the operation cannot be executed, for example if the client is connected to a node that is already a primary." ], "CLUSTER FLUSHSLOTS": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." @@ -265,7 +268,7 @@ "[Bulk string reply](../topics/protocol.md#bulk-strings): the serialized cluster configuration." ], "CLUSTER REPLICAS": [ - "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified master node provided in the same format used by `CLUSTER NODES`." + "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified primary node provided in the same format used by `CLUSTER NODES`." ], "CLUSTER REPLICATE": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK` if the command was successful. Otherwise an error is returned." @@ -286,7 +289,7 @@ "[Array reply](../topics/protocol.md#arrays): a nested list of [Map reply](../topics/protocol.md#maps) of hash ranges and shard nodes describing individual shards." ], "CLUSTER SLAVES": [ - "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified master node provided in the same format used by `CLUSTER NODES`." + "[Array reply](../topics/protocol.md#arrays): a list of replica nodes replicating from the specified primary node provided in the same format used by `CLUSTER NODES`." ], "CLUSTER SLOTS": [ "[Array reply](../topics/protocol.md#arrays): nested list of slot ranges with networking information." @@ -578,7 +581,7 @@ "HSCAN": [ "[Array reply](../topics/protocol.md#arrays): a two-element array.", "* The first element is a [Bulk string reply](../topics/protocol.md#bulk-strings) that represents an unsigned 64-bit number, the cursor.", - "* The second element is an [Array reply](../topics/protocol.md#arrays) of field/value pairs that were scanned." + "* The second element is an [Array reply](../topics/protocol.md#arrays) of field/value pairs that were scanned. When `NOVALUES` option is on, a list of keys from the hash." ], "HSET": [ "[Integer reply](../topics/protocol.md#integers): the number of fields that were added." @@ -835,7 +838,7 @@ "When successful, this command doesn't return anything. Instead, for each pattern, one message with the first element being the string `psubscribe` is pushed as a confirmation that the command succeeded." ], "PSYNC": [ - "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the master." + "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the primary." ], "PTTL": [ "One of the following:", @@ -958,6 +961,9 @@ "SCRIPT LOAD": [ "[Bulk string reply](../topics/protocol.md#bulk-strings): the SHA1 digest of the script added into the script cache." ], + "SCRIPT SHOW": [ + "[Bulk string reply](../topics/protocol.md#bulk-strings): Lua script if sha1 hash exists in script cache." + ], "SDIFF": [ "[Set reply](../topics/protocol.md#sets): the resulting set." ], @@ -968,7 +974,7 @@ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." ], "SENTINEL CKQUORUM": [ - "[Bulk string reply](../topics/protocol.md#bulk-strings): Returns OK if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover." + "[Bulk string reply](../topics/protocol.md#bulk-strings): Returns OK if the current Sentinel configuration is able to reach the quorum needed to failover a primary, and the majority needed to authorize the failover." ], "SENTINEL CONFIG": [ "One of the following:", @@ -981,24 +987,24 @@ "* [Map reply](../topics/protocol.md#maps): List of configurable time parameters and their values (milliseconds)." ], "SENTINEL FAILOVER": [ - "[Simple string reply](../topics/protocol.md#simple-strings): `OK`. Force a fail over as if the master was not reachable, and without asking for agreement to other Sentinels." + "[Simple string reply](../topics/protocol.md#simple-strings): `OK`. Force a fail over as if the primary was not reachable, and without asking for agreement to other Sentinels." ], "SENTINEL FLUSHCONFIG": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`. Force Sentinel to rewrite its configuration on disk, including the current Sentinel state." ], - "SENTINEL GET MASTER-ADDR-BY-NAME": [], + "SENTINEL GET PRIMARY-ADDR-BY-NAME": [], "SENTINEL HELP": [ "[Array reply](../topics/protocol.md#arrays): Helpful text about subcommands." ], "SENTINEL INFO CACHE": [ - "[Array reply](../topics/protocol.md#arrays): This is actually a map, the odd entries are a master name, and the even entries are the last cached INFO output from that master and all its replicas." + "[Array reply](../topics/protocol.md#arrays): This is actually a map, the odd entries are a primary name, and the even entries are the last cached INFO output from that primary and all its replicas." ], - "SENTINEL IS MASTER-DOWN-BY-ADDR": [], - "SENTINEL MASTER": [ - "[Map reply](../topics/protocol.md#maps): The state and info of the specified master." + "SENTINEL IS PRIMARY-DOWN-BY-ADDR": [], + "SENTINEL PRIMARY": [ + "[Map reply](../topics/protocol.md#maps): The state and info of the specified primary." ], - "SENTINEL MASTERS": [ - "[Array reply](../topics/protocol.md#arrays): List of monitored Valkey masters, and their state." + "SENTINEL PRIMARIES": [ + "[Array reply](../topics/protocol.md#arrays): List of monitored Valkey primaries, and their state." ], "SENTINEL MONITOR": [ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." @@ -1013,10 +1019,10 @@ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." ], "SENTINEL REPLICAS": [ - "[Array reply](../topics/protocol.md#arrays): List of replicas for this master, and their state." + "[Array reply](../topics/protocol.md#arrays): List of replicas for this primary, and their state." ], "SENTINEL RESET": [ - "[Integer reply](../topics/protocol.md#integers): The number of masters that were reset." + "[Integer reply](../topics/protocol.md#integers): The number of primaries that were reset." ], "SENTINEL SENTINELS": [ "[Array reply](../topics/protocol.md#arrays): List of sentinel instances, and their state." @@ -1151,7 +1157,7 @@ "[Simple string reply](../topics/protocol.md#simple-strings): `OK`." ], "SYNC": [ - "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the master." + "**Non-standard return value**, a bulk transfer of the data followed by `PING` and write requests from the primary." ], "TIME": [ "[Array reply](../topics/protocol.md#arrays): specifically, a two-element array consisting of the Unix timestamp in seconds and the microseconds' count." @@ -1182,7 +1188,7 @@ ], "WAITAOF": [ "[Array reply](../topics/protocol.md#arrays): The command returns an array of two integers:", - "1. The first is the number of local Redises (0 or 1) that have fsynced to AOF all writes performed in the context of the current connection", + "1. The first is the number of local Valkey nodes (0 or 1) that have fsynced to AOF all writes performed in the context of the current connection", "2. The second is the number of replicas that have acknowledged doing the same." ], "WATCH": [ @@ -1372,7 +1378,9 @@ "* [Array reply](../topics/protocol.md#arrays): The rank and score of the member when _WITHSCORE_ is used." ], "ZSCAN": [ - "[Array reply](../topics/protocol.md#arrays): cursor and scan response in array form." + "[Array reply](../topics/protocol.md#arrays): a two-element array.", + "* The first element is a [Bulk string reply](../topics/protocol.md#bulk-strings) that represents an unsigned 64-bit number, the cursor.", + "* The second element is an [Array reply](../topics/protocol.md#arrays) of member/score pairs that were scanned. When `NOSCORES` option is on, a list of members from the sorted set." ], "ZSCORE": [ "One of the following:",