cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-5114) Add onBootstrapComplete callback
Date Fri, 04 Jan 2013 17:00:15 GMT
Aleksey Yeschenko created CASSANDRA-5114:

             Summary: Add onBootstrapComplete callback
                 Key: CASSANDRA-5114
             Project: Cassandra
          Issue Type: Improvement
    Affects Versions: 1.2.0
            Reporter: Aleksey Yeschenko
            Assignee: Aleksey Yeschenko
            Priority: Minor
             Fix For: 1.2.1

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:

View raw message