PragmaTwice commented on code in PR #3075:
URL: https://github.com/apache/kvrocks/pull/3075#discussion_r2241456647
##########
src/server/server.h:
##########
@@ -380,7 +381,7 @@ class Server {
std::atomic<uint64_t> total_clients_{0};
// slave
- std::mutex slave_threads_mu_;
+ std::shared_mutex slave_threads_mu_;
Review Comment:
Would you like to split changes related to `slave_threads_mu_` to a new PR
(e.g. with a title like `optimize slave threads via rwlock`)?
It seems not so related to the `WAIT` command?
--
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]