You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/05/02 18:06:06 UTC

[GitHub] sijie opened a new pull request #1378: [table service] Fix `ConcurrentModificationException` on accessing component configuration

sijie opened a new pull request #1378: [table service] Fix `ConcurrentModificationException` on accessing component configuration
URL: https://github.com/apache/bookkeeper/pull/1378
 
 
   
   
   Descriptions of the changes in this PR:
   
   
   *Motiviation*
   
   Currently when running table service in standalone mode, it occasionally throws `ConcurrentModificationException`. Because
   multiple components are sharing same underlying composite configuration. It causes the contention between copying keys and retrieving keys.
   
   *Solution*
   
   Change the component configuration to use a concurrent hashmap based configuration. Also changed the `loadConf` behavior to copy the keys / sub-keys
   into the component configuration. This prevents components sharing same underlying composite configuration.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services