cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5114) Add onBootstrapComplete callback
Date Tue, 08 Jan 2013 23:26:12 GMT

     [ 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

Mime
View raw message