From 0209889893987a144e75bac635945d32af8e22c6 Mon Sep 17 00:00:00 2001 From: hwware Date: Thu, 27 Jun 2024 18:17:23 +0000 Subject: [PATCH] Update readonly and readwrite json Signed-off-by: hwware --- src/commands.def | 4 ++-- src/commands/readonly.json | 2 +- src/commands/readwrite.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands.def b/src/commands.def index 709eca91a2..ef84aa0ccb 100644 --- a/src/commands.def +++ b/src/commands.def @@ -10726,8 +10726,8 @@ struct COMMAND_STRUCT serverCommandTable[] = { /* cluster */ {MAKE_CMD("asking","Signals that a cluster client is following an -ASK redirect.","O(1)","3.0.0",CMD_DOC_NONE,NULL,NULL,"cluster",COMMAND_GROUP_CLUSTER,ASKING_History,0,ASKING_Tips,0,askingCommand,1,CMD_FAST,ACL_CATEGORY_CONNECTION,ASKING_Keyspecs,0,NULL,0)}, {MAKE_CMD("cluster","A container for Cluster commands.","Depends on subcommand.","3.0.0",CMD_DOC_NONE,NULL,NULL,"cluster",COMMAND_GROUP_CLUSTER,CLUSTER_History,0,CLUSTER_Tips,0,NULL,-2,0,0,CLUSTER_Keyspecs,0,NULL,0),.subcommands=CLUSTER_Subcommands}, -{MAKE_CMD("readonly","Enables read-only queries for a connection to a Cluster replica node.","O(1)","3.0.0",CMD_DOC_NONE,NULL,NULL,"cluster",COMMAND_GROUP_CLUSTER,READONLY_History,0,READONLY_Tips,0,readonlyCommand,1,CMD_FAST|CMD_LOADING|CMD_STALE,ACL_CATEGORY_CONNECTION,READONLY_Keyspecs,0,NULL,0)}, -{MAKE_CMD("readwrite","Enables read-write queries for a connection to a Reids Cluster replica node.","O(1)","3.0.0",CMD_DOC_NONE,NULL,NULL,"cluster",COMMAND_GROUP_CLUSTER,READWRITE_History,0,READWRITE_Tips,0,readwriteCommand,1,CMD_FAST|CMD_LOADING|CMD_STALE,ACL_CATEGORY_CONNECTION,READWRITE_Keyspecs,0,NULL,0)}, +{MAKE_CMD("readonly","Enables read-only queries for a connection to a Valkey replica node.","O(1)","3.0.0",CMD_DOC_NONE,NULL,NULL,"cluster",COMMAND_GROUP_CLUSTER,READONLY_History,0,READONLY_Tips,0,readonlyCommand,1,CMD_FAST|CMD_LOADING|CMD_STALE,ACL_CATEGORY_CONNECTION,READONLY_Keyspecs,0,NULL,0)}, +{MAKE_CMD("readwrite","Enables read-write queries for a connection to a Valkey replica node.","O(1)","3.0.0",CMD_DOC_NONE,NULL,NULL,"cluster",COMMAND_GROUP_CLUSTER,READWRITE_History,0,READWRITE_Tips,0,readwriteCommand,1,CMD_FAST|CMD_LOADING|CMD_STALE,ACL_CATEGORY_CONNECTION,READWRITE_Keyspecs,0,NULL,0)}, /* connection */ {MAKE_CMD("auth","Authenticates the connection.","O(N) where N is the number of passwords defined for the user","1.0.0",CMD_DOC_NONE,NULL,NULL,"connection",COMMAND_GROUP_CONNECTION,AUTH_History,1,AUTH_Tips,0,authCommand,-2,CMD_NOSCRIPT|CMD_LOADING|CMD_STALE|CMD_FAST|CMD_NO_AUTH|CMD_SENTINEL|CMD_ALLOW_BUSY,ACL_CATEGORY_CONNECTION,AUTH_Keyspecs,0,NULL,2),.args=AUTH_Args}, {MAKE_CMD("client","A container for client connection commands.","Depends on subcommand.","2.4.0",CMD_DOC_NONE,NULL,NULL,"connection",COMMAND_GROUP_CONNECTION,CLIENT_History,0,CLIENT_Tips,0,NULL,-2,CMD_SENTINEL,0,CLIENT_Keyspecs,0,NULL,0),.subcommands=CLIENT_Subcommands}, diff --git a/src/commands/readonly.json b/src/commands/readonly.json index 4478cfb797..8fe27c6d99 100644 --- a/src/commands/readonly.json +++ b/src/commands/readonly.json @@ -1,6 +1,6 @@ { "READONLY": { - "summary": "Enables read-only queries for a connection to a Cluster replica node.", + "summary": "Enables read-only queries for a connection to a Valkey replica node.", "complexity": "O(1)", "group": "cluster", "since": "3.0.0", diff --git a/src/commands/readwrite.json b/src/commands/readwrite.json index 440dd596b9..dd3762ff8c 100644 --- a/src/commands/readwrite.json +++ b/src/commands/readwrite.json @@ -1,6 +1,6 @@ { "READWRITE": { - "summary": "Enables read-write queries for a connection to a Reids Cluster replica node.", + "summary": "Enables read-write queries for a connection to a Valkey replica node.", "complexity": "O(1)", "group": "cluster", "since": "3.0.0",