[ 
https://issues.apache.org/jira/browse/CASSANDRA-12039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449240#comment-15449240
 ] 

Sam Tunnicliffe commented on CASSANDRA-12039:
---------------------------------------------

I just pushed an update to [my dtest 
branch|https://github.com/beobal/cassandra-dtest/commits/CASSANDRA-12039] which 
changes {{resume_test}} to use byteman to inject a failure into the bootstrap 
process, as {{bootstrap_test:TestBootstrap.resumable_bootstrap_test}} now does. 
This seems to have stabilized the test (at least running locally) and also has 
the side effect of reducing the amount of data needed during {{_base_test}}, 
which speeds up the run considerably.

> Add an index callback to be notified post bootstrap and before joining the 
> ring
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12039
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12039
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Sergio Bossa
>            Assignee: Sergio Bossa
>
> Custom index implementations might need to be notified when the node finishes 
> bootstrapping in order to execute some blocking tasks before the node itself 
> goes into NORMAL state.
> This is a proposal to add such functionality, which should roughly require 
> the following:
> 1) Add a {{getPostBootstrapTask}} callback to the {{Index}} interface.
> 2) Add an {{executePostBootstrapBlockingTasks}} method to 
> {{SecondaryIndexManager}} calling into the previously mentioned callback.
> 3) Hook that into {{StorageService#joinTokenRing}}.
> Thoughts?



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

Reply via email to