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

nodetool assassinate of a CMS voting member should be allowed and should remove it from the CMS group

    XMLWordPrintableJSON

Details

    Description

      nodetool assassinate is a dangerous command but is needed when the node to be removed really can’t be accessed anymore (such as host failures). But when the node to be removed is a member of CMS, we block this action with the following error

      Can not commit transformation: "INVALID"(Rejecting this plan as the node NodeId{id=3} is still a part of CMS.).
      

      If the node in question is not up, and we call nodetool assassinate, we should then try to remove that node from the CMS membership group

      Steps to repo

      • Start 4 node cluster
      • nodetool cms reconfigure 3
      • targetNode = <one of the nodes in CMS>
      • stop targetNode
      • nodetool assassinate targetNode

      Attachments

        1. ci_summary.html
          24 kB
          Marcus Eriksson

        Issue Links

          Activity

            People

              marcuse Marcus Eriksson
              dcapwell David Capwell
              Marcus Eriksson
              Sam Tunnicliffe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m