Skip to content

Commit d3bf87c

Browse files
authored
Correcting the RESP3 reply type on commands returning a verbatim string (#384)
Searched for commands that uses the `Verbatim string` reply type in `RESP3` and corrected the command reference for many of them. The previous information can be problematic if a cluster client parses `CLUSTER NODES`. Signed-off-by: Björn Svensson <[email protected]>
1 parent 40c3689 commit d3bf87c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

resp3_replies.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,15 @@
209209
"[Simple string reply](../topics/protocol.md#simple-strings): `OK`."
210210
],
211211
"CLIENT INFO": [
212-
"[Bulk string reply](../topics/protocol.md#bulk-strings): a unique string for the current client, as described at the `CLIENT LIST` page."
212+
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): a unique string for the current client, as described at the `CLIENT LIST` page."
213213
],
214214
"CLIENT KILL": [
215215
"One of the following:",
216216
"* [Simple string reply](../topics/protocol.md#simple-strings): `OK` when called in 3 argument format and the connection has been closed.",
217217
"* [Integer reply](../topics/protocol.md#integers): when called in filter/value format, the number of clients killed."
218218
],
219219
"CLIENT LIST": [
220-
"[Bulk string reply](../topics/protocol.md#bulk-strings): information and statistics about client connections."
220+
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): information and statistics about client connections."
221221
],
222222
"CLIENT NO-EVICT": [
223223
"[Simple string reply](../topics/protocol.md#simple-strings): `OK`."
@@ -291,7 +291,7 @@
291291
"[Array reply](../topics/protocol.md#arrays): a list of subcommands and their descriptions."
292292
],
293293
"CLUSTER INFO": [
294-
"[Bulk string reply](../topics/protocol.md#bulk-strings): A map between named fields and values in the form of `<field>:<value>` lines separated by newlines composed by the two bytes `CRLF`."
294+
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): A map between named fields and values in the form of `<field>:<value>` lines separated by newlines composed by the two bytes `CRLF`."
295295
],
296296
"CLUSTER KEYSLOT": [
297297
"[Integer reply](../topics/protocol.md#integers): The hash slot number for the specified key"
@@ -309,7 +309,7 @@
309309
"[Bulk string reply](../topics/protocol.md#bulk-strings): the node's shard ID."
310310
],
311311
"CLUSTER NODES": [
312-
"[Bulk string reply](../topics/protocol.md#bulk-strings): the serialized cluster configuration."
312+
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): the serialized cluster configuration."
313313
],
314314
"CLUSTER REPLICAS": [
315315
"[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`."
@@ -739,7 +739,7 @@
739739
"[Bulk string reply](../topics/protocol.md#bulk-strings): the value of the key after the increment."
740740
],
741741
"INFO": [
742-
"[Bulk string reply](../topics/protocol.md#bulk-strings): a map of info fields, one field per line in the form of `<field>:<value>` where the value can be a comma separated map like `<key>=<val>`. Also contains section header lines starting with `#` and blank lines.",
742+
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): a map of info fields, one field per line in the form of `<field>:<value>` where the value can be a comma separated map like `<key>=<val>`. Also contains section header lines starting with `#` and blank lines.",
743743
"",
744744
"Lines can contain a section name (starting with a `#` character) or a property. All the properties are in the form of `field:value` terminated by `\\r\\n`."
745745
],
@@ -1016,7 +1016,7 @@
10161016
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): a human readable latency analysis report."
10171017
],
10181018
"LATENCY GRAPH": [
1019-
"[Bulk string reply](../topics/protocol.md#bulk-strings): Latency graph"
1019+
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): Latency graph"
10201020
],
10211021
"LATENCY HELP": [
10221022
"[Array reply](../topics/protocol.md#arrays): a list of sub-commands and their descriptions."
@@ -1102,7 +1102,7 @@
11021102
"[Array reply](../topics/protocol.md#arrays): a list of sub-commands and their descriptions."
11031103
],
11041104
"MEMORY MALLOC-STATS": [
1105-
"[Bulk string reply](../topics/protocol.md#bulk-strings): the memory allocator's internal statistics report."
1105+
"[Verbatim string reply](../topics/protocol.md#verbatim-strings): the memory allocator's internal statistics report."
11061106
],
11071107
"MEMORY PURGE": [
11081108
"[Simple string reply](../topics/protocol.md#simple-strings): `OK`."

0 commit comments

Comments
 (0)