LiuYuHui commented on code in PR #2173:
URL: https://github.com/apache/kvrocks/pull/2173#discussion_r1527482135


##########
src/server/redis_connection.h:
##########
@@ -45,6 +45,7 @@ class Connection : public EvbufCallbackBase<Connection> {
     kCloseAfterReply = 1 << 6,
     kCloseAsync = 1 << 7,
     kMultiExec = 1 << 8,
+    KReadWrite = 1 << 9,

Review Comment:
   https://redis.io/commands/readonly/
   > Normally replica nodes will redirect clients to the authoritative master 
for the hash slot involved in a given command, however clients can use replicas 
in order to scale reads using the READONLY command.
   
   I see, Redis default option is `READWRTIE`, will change it .
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to