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

Graceful failover is allowed even if there is no enough replica nodes in the cluster

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • No

    Description

      Build: 5.5.4 build 4340

      Scenario:

      1. Create 3 node cluster
      2. Create "default" couchbase bucket with replica=0
      3. Do graceful failover of 1 node from the cluster
      4. Before rebalancing the cluster, perform doc_ops, such that it affects the vbucket of the "gracefully failover" node
      5. All operation will  failed with the memcached error #7: Not my vbucket

      Same can happen when 'graceful failover' of,

      1. 2 nodes with replica=1
      2. 3 nodes with replica=2
      3. 4 nodes with replica=3

      Expected behavior:

      User should not be allowed to perform graceful failover when there is no active node left behind in the server and failover operation must fail.

      Because in graceful failover, user is not expected to get any failures related to doc_operations. And in these cases, users should only be allowed to perform 'hard failover'

      Attachments

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty