cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12039) Add a "post bootstrap task" to the index machinery
Date Tue, 21 Jun 2016 08:17:58 GMT


Sam Tunnicliffe commented on CASSANDRA-12039:

This sounds like a reasonable idea to me and as long as we provide a default, no-op implementation
of {{Index::getPostBootstrapTask}} it should be fine for 3.0.x IMO.

> Add a "post bootstrap task" to the index machinery
> --------------------------------------------------
>                 Key: CASSANDRA-12039
>                 URL:
>             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

View raw message