[ 
https://issues.apache.org/jira/browse/CASSANDRA-5114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko resolved CASSANDRA-5114.
------------------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 1.2.2)

Found a simpler way to deal with the issue.
                
> Add onBootstrapComplete callback
> --------------------------------
>
>                 Key: CASSANDRA-5114
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5114
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.2.0
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>
> For superuser setup (Auth.setupSuperuser() calls in 
> StorageService.joinTokenRing()) and for IAuthorizer/IAuthenticator 
> implementations that store data in cassandra cfs, it would be convenient to 
> have some kind of onReady/onJoined/onBootrstrapped/onBootstrapComplete 
> callback that could be used for creating the required keyspaces/cfs (see 
> CASSANDRA-5112).
> Currently the only way to do it is to poll on SystemTable.bootstrapComplete() 
> result, because simply waiting for RING_DELAY is not enough (commitlog replay 
> can take a while) and it's an ugly way.

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