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

Add legacy notifications backward-support on deprecated repair methods

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      forceRepairRangeAsync is deprecated in 2.2/3.x series. It's still available for older clients though. Unfortunately it sometimes hangs when you call it. It looks like it completes fine but the notification to the client that the operation is done is never sent. This is easiest to see by using nodetool from 2.1 against a 3.x cluster.

      [Nicks-MacBook-Pro:16:06:21 cassandra-2.1] cassandra$ ./bin/nodetool repair -st 0 -et 1 OpsCenter
      [2016-03-24 16:06:50,165] Nothing to repair for keyspace 'OpsCenter'
      [Nicks-MacBook-Pro:16:06:50 cassandra-2.1] cassandra$
      [Nicks-MacBook-Pro:16:06:55 cassandra-2.1] cassandra$
      [Nicks-MacBook-Pro:16:06:55 cassandra-2.1] cassandra$ ./bin/nodetool repair -st 0 -et 1 system_distributed
      ...
      ...
      

      (I added the ellipses)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pauloricardomg Paulo Motta (Deprecated)
                Reporter:
                nickmbailey Nick Bailey
                Authors:
                Paulo Motta (Deprecated)
                Reviewers:
                Yuki Morishita
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: