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

Staggering repair

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.1
    • None
    • None

    Description

      Currently repair runs on all the nodes at once and causing the range of data to be hot (higher latency on reads).

      Sequence:
      1) Send a repair request to all of the nodes so we can hold the references of the SSTables (point at which repair was initiated)
      2) Send Validation on one node at a time (once completed will release references).
      3) Hold the reference of the tree in the requesting node and once everything is complete start diff.

      We can also serialize the streaming part not more than 1 node is involved in the streaming.

      Attachments

        1. 0001-add-snapshot-command.patch
          8 kB
          Vijay
        2. 0001-staggering-repair-with-snapshot.patch
          51 kB
          Vijay
        3. 3721.patch
          28 kB
          Sylvain Lebresne

        Activity

          People

            vijay2win@yahoo.com Vijay
            vijay2win@yahoo.com Vijay
            Vijay
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: