You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/04/27 12:06:25 UTC

[GitHub] [pulsar] lhotari commented on a change in pull request #10347: Fix ConcurrentModificationException when attempting to update local broker data

lhotari commented on a change in pull request #10347:
URL: https://github.com/apache/pulsar/pull/10347#discussion_r621143819



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/ModularLoadManagerImpl.java
##########
@@ -198,6 +201,8 @@
     private long unloadBrokerCount = 0;
     private long unloadBundleCount = 0;
 
+    private Lock lock = new ReentrantLock();

Review comment:
       make the field also `final`




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

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