OneSizeFitsQuorum commented on code in PR #9694:
URL: https://github.com/apache/iotdb/pull/9694#discussion_r1182657082
##########
confignode/src/main/java/org/apache/iotdb/confignode/manager/load/service/StatisticsService.java:
##########
@@ -65,12 +67,15 @@ public class StatisticsService implements
IClusterStatusSubscriber {
private final LoadCache loadCache;
private final EventBus eventBus;
+ private final Object recordLock;
Review Comment:
But it seems you can synchronized on function onClusterStatisticsChanged
onRegionLeaderChanged directly to achieve your goal without introducing this
field?
--
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]