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

incremental bootstrap

    XMLWordPrintableJSON

Details

    Description

      Current bootstrapping involves (to my knowledge) picking tokens and streaming data before the node is available for requests. This can be problematic with "fat nodes", since it may require 20TB of data to be streamed over before the machine can be useful. This can result in a massive window of time before the machine can do anything useful.

      As a potential approach to mitigate the huge window of time before a node is available, I suggest modifying the bootstrap process to only acquire a single initial token before being marked UP. This would likely be a configuration parameter "incremental_bootstrap" or something similar.

      After the node is bootstrapped with this one token, it could go into UP state, and could then acquire additional tokens (one or a handful at a time), which would be streamed over while the node is active and serving requests. The benefit here is that with the default 256 tokens a node could become an active part of the cluster with less than 1% of it's final data streamed over.

      Attachments

        Issue Links

          Activity

            People

              yukim Yuki Morishita
              rustyrazorblade Jon Haddad
              Yuki Morishita
              Votes:
              5 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated: