Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-45462

CLI should allow failing over inactive nodes when allowUnsafe is true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • Cheshire-Cat
    • tools
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Problem
      The fix for MB-45110 in ns_server allows nodes that already regularly failed over to be subsequently unsafely failed over. We should permit this also in the CLI. Essentially if the --force option is passed to the CLI when failover is invoked, we should permit it to be applied to nodes that are in the inactiveFailed state. This is needed so clusters don't get stuck as they can do as described in MB-45110.

      Steps to reproduce
      1. Create a 5 node cluster: .137, .138, .139, .140, .142
      2. Stop-server on .140 and when the node becomes unresponsive, fail it over, but don't rebalance it out yet.
      3. Now stop server on .138, .139 nodes.
      4. --force failover of node .138, .139 and .140

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-45462
          # Subject Branch Project Status CR V

          Activity

            People

              carlos.gonzalez Carlos Gonzalez Betancort (Inactive)
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty