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 2020/08/03 12:39:15 UTC

[GitHub] [pulsar] codelipenghui opened a new pull request #7729: Avoid ConcurrentModificationException of LocalBrokerData.

codelipenghui opened a new pull request #7729:
URL: https://github.com/apache/pulsar/pull/7729


   Fixes #7719
   
   ### Motivation
   
   Avoid ConcurrentModificationException of LocalBrokerData. The root cause is the `updateLocalBrokerData` method in the ModularLoadManagerImpl update the `lastStats` in the LocalBrokerData to a HashMap, it should be a concurrent map.
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)
   


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



[GitHub] [pulsar] codelipenghui merged pull request #7729: Avoid ConcurrentModificationException of LocalBrokerData.

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #7729:
URL: https://github.com/apache/pulsar/pull/7729


   


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



[GitHub] [pulsar] sijie commented on pull request #7729: Avoid ConcurrentModificationException of LocalBrokerData.

Posted by GitBox <gi...@apache.org>.
sijie commented on pull request #7729:
URL: https://github.com/apache/pulsar/pull/7729#issuecomment-668106750


   /pulsarbot run-failure-checks


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



[GitHub] [pulsar] codelipenghui commented on pull request #7729: Avoid ConcurrentModificationException of LocalBrokerData.

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7729:
URL: https://github.com/apache/pulsar/pull/7729#issuecomment-668020172


   /pulsarbot run-failure-checks


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