You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2016/04/27 10:48:13 UTC

[jira] [Created] (CASSANDRA-11671) Remove check on gossip status from DynamicEndpointSnitch::updateScores

Sam Tunnicliffe created CASSANDRA-11671:
-------------------------------------------

             Summary: Remove check on gossip status from DynamicEndpointSnitch::updateScores
                 Key: CASSANDRA-11671
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11671
             Project: Cassandra
          Issue Type: Improvement
          Components: Coordination
            Reporter: Sam Tunnicliffe
            Priority: Minor
             Fix For: 3.x


It seems that historically there were initialization ordering issues which affected DES and StorageService (CASSANDRA-1756) and so a condition was added to DES::updateScores() to ensure that SS had finished setup. In fact, the check was actually testing whether gossip was active or not. CASSANDRA-10134 preserved this behaviour, but it seems likely that the check can be removed from DES completely now. If not, it can at least be switched to use SS::isInitialized() which post CASSANDRA-10134 actually reports what it's name suggests.



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