Sylvain Lebresne created CASSANDRA-5049:
-------------------------------------------

             Summary: Auth.setup() is called too early
                 Key: CASSANDRA-5049
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5049
             Project: Cassandra
          Issue Type: Bug
            Reporter: Sylvain Lebresne
            Assignee: Sylvain Lebresne
            Priority: Minor
             Fix For: 1.2.0 rc1


Auth.setup() triggers a request against the system_auth keyspace, request that 
is not an internal one, so it at least require TokenMetadata to be set up. 
However, Auth.setup() is call much too early, even before the commit log is 
replayed. The only reason this doesn't trigger an assertionError everytime is 
because Auth.setup() actually only schedul it's request after RING_DELAY, but 
still, replaying the commit log can take much more than that, and even without 
that I suspect this would be racy with normal bootstrap.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to