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:
[email protected]


With regards,
Apache Git Services

Reply via email to