[ 
https://issues.apache.org/jira/browse/CASSANDRA-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644279#comment-14644279
 ] 

Robert Stupp commented on CASSANDRA-9853:
-----------------------------------------

This problem has two faces:
* logging "loading configuration" multiple times (start of Gossiper, 
StorageService's should-bootstrap-test and join-ring, and twice during init of 
DatabaseDescriptor) during startup is annoying (just noise in the log)
* the configuration is loaded too often - i.e. for each call to 
{{SimpleSeedProvider.getSeeds()}} via {{DatabaseDescriptor.getSeeds()}} 
(CASSANDRA-9909)


> loadConfig() called twice on startup
> ------------------------------------
>
>                 Key: CASSANDRA-9853
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9853
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 3.x
>
>
> {{YamlConfigrationLoader.loadConfig()}} is called twice on startup from 
> {{org.apache.cassandra.locator.SimpleSeedProvider#getSeeds}} and 
> {{org.apache.cassandra.config.DatabaseDescriptor#forceStaticInitialization}}.
> It's not nice, but not fatal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to