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


##########
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:
   It seems that the original logic is `KReadOnly` ==1, and the default flag is 
0, so I choose `KReadWrite` here, which means the default option is 
`KReadWrite` ==0 (`KReadOnly` ==1).



-- 
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