jihuayu commented on issue #2166: URL: https://github.com/apache/kvrocks/issues/2166#issuecomment-1999456220
Hi @LiuYuHui. You can add a flag in `redis::Connection` to store if this connection enables read queries. You can add new commands in [cmd_server.cc](https://github.com/apache/kvrocks/blob/unstable/src/commands/cmd_server.cc) The following code may be the code you need to modify. - https://github.com/apache/kvrocks/blob/unstable/src/cluster/cluster.cc#L804-L807 If you have any other questions, feel free to ask me. -- 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]
