You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "RongtongJin (via GitHub)" <gi...@apache.org> on 2024/10/11 08:56:03 UTC

Re: [PR] [RIP-70-3]Extract adaptive lock mechanism [rocketmq]

RongtongJin commented on code in PR #8663:
URL: https://github.com/apache/rocketmq/pull/8663#discussion_r1796639580


##########
store/src/main/java/org/apache/rocketmq/store/CommitLog.java:
##########
@@ -95,6 +97,8 @@ public class CommitLog implements Swappable {
 
     protected final PutMessageLock putMessageLock;
 
+    protected final AdaptiveBackOffSpinLock adaptiveBackOffSpinLock;

Review Comment:
   不需要成为对象的变量,在方法中new即可



-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org