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

Rebalance button not enabled post Quorum Loss failover even when indexing has partitioned indexes

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      Steps to Repro
      1. Create a 6 node cluster. (3 kv + 3 index,n1ql). See
      2. Create 2 partition indexes using the following commands. See

      CREATE INDEX idx_pe11 ON `travel-sample`(airline, sourceairport, destinationairport)
       PARTITION BY HASH(airline) WITH {"num_partition":9};
      CREATE INDEX idx_pe12 ON `travel-sample`(airline, sourceairport, destinationairport)
       PARTITION BY HASH(airline) WITH {"num_partition":9};
      

      3. Bring down 4 nodes. (2 kv + 2 index,n1ql) using systemctl stop couchbase-server.
      4. QL failover all the 4 nodes. See

      All the 4 nodes are out of the cluster. However rebalance button is not enabled.

      I think it's because there is only one KV node in the cluster and we think there is nothing to redistribute. However, as seen from post QL failover we can see there is only 3 partitions now and a rebalance would be required to rebuild other 6 partitions. For this to happen we need to have rebalance button enabled which is not the case here. See

      cc: Amit Kulkarni

      Attachments

        1. Cluster.png
          Cluster.png
          205 kB
        2. Indexes_post_QL.png
          Indexes_post_QL.png
          209 kB
        3. Indexes.png
          Indexes.png
          249 kB
        4. QL failover.png
          QL failover.png
          128 kB
        5. Servers_post_QL.png
          Servers_post_QL.png
          155 kB

        Issue Links

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

          Activity

            People

              kevin.cherkauer Kevin Cherkauer
              Balakumaran.Gopal Balakumaran Gopal
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty