[ https://issues.apache.org/jira/browse/CASSANDRA-12039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15488110#comment-15488110 ]
Sam Tunnicliffe edited comment on CASSANDRA-12039 at 9/13/16 7:38 PM: ---------------------------------------------------------------------- Ok, I've rebased my dtest branch as there was some restructuring of the {{tools}} module since last update. For simplicity's sake, I've opened a [new PR|https://github.com/riptano/cassandra-dtest/pull/1316] based on my branch and will commit this as soon as the dtests get a +1. ||branch||dtest|| |[12039-3.0|https://github.com/beobal/cassandra/tree/12039-3.0]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12039-3.0-dtest]| |[12039-trunk|https://github.com/beobal/cassandra/tree/12039-trunk]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12039-trunk-dtest]| was (Author: beobal): Ok, I've rebased my dtest branch as there was some restructuring of the {{tools}} module since last update. For simplicity's sake, I've opened a [new PR|https://github.com/riptano/cassandra-dtest/pull/1316] based on my branch and will commit this as soon as the dtest get a +1. > 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)