git-hulk commented on PR #1901:
URL: https://github.com/apache/kvrocks/pull/1901#issuecomment-1822314669

   @julic20s Guess not, you should use `std::optional<LockGuard>` instead of 
LockGuard directly since the LockGuard constructor will lock the mutex, and if 
you use LockGuard = default, it won't lock the mutex at all.


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