You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/01/29 12:05:57 UTC

[GitHub] leventov opened a new issue #6940: A race condition in ConfigManager

leventov opened a new issue #6940: A race condition in ConfigManager
URL: https://github.com/apache/incubator-druid/issues/6940
 
 
   ```java
   // Multiple of these callables can be submitted at the same time, but the callables themselves
   // are executed serially, so double check that it hasn't already been populated.
   if (!watchedConfigs.containsKey(key)) {
     byte[] value = dbConnector.lookup(configTable, "name", "payload", key);
     ConfigHolder<T> holder = new ConfigHolder<T>(value, serde);
     watchedConfigs.put(key, holder);
   }
   ```

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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org