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

3.0 hints should be streamed on decomission

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.0 rc1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      CASSANDRA-6230 added all the necessary pieces in the initial release, but streaming itself didn't make it in time.

      Now that hints are stored in flat files, we cannot just stream hints sstables. Instead we need to handoff hints files.

      Essentially we need to rewrite StorageService::streamHints to be CASSANDRA-6230 aware.

      HintMessage and HintVerbHandler can already handle hints targeted for other nodes (see javadoc for both, it's documented reasonably).

      HintsDispatcher also takes hostId as an argument, and can stream any hints to any nodes.

      The building blocks are all there - we just need StorageService::streamHints to pick the optimal candidate for each file and use HintsDispatcher to stream the files.

        Attachments

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Marcus Eriksson
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: