nhancdt2602 commented on PR #3557: URL: https://github.com/apache/kvrocks/pull/3557#issuecomment-5032256909
> > That said, if you and project members prefer consolidating into Stats, accepting a per-command lock. I'm happy to refactor that way; just let me know the preferred trade-off. > > > > > > @nhancdt2602 Do you mean the lock in this piece of code? > > <img width="1177" height="570" alt="image" src="https://github.com/user-attachments/assets/6e346aa6-d345-4375-ab96-763c27fbd79f" /> > > > > https://github.com/apache/kvrocks/pull/3557/changes#diff-0782ead7a805bf491f44cf0bbbab901ba0ae3f18bc57181dd6e58a8b5c594171R1409-R1424 @jihuayu Exactly. Or do you have any better ideas? -- 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]
