Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-12039

Add an index callback to be notified post bootstrap and before joining the ring

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.10
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            sbtourist Sergio Bossa
            sbtourist Sergio Bossa
            Sergio Bossa
            Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: