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

Replica partition count increases on force rebalance with cli

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • 7.6.4
    • 7.2.5, 7.6.2, 7.6.4
    • fts
    •  7.2.5 build 7599

    Description

      Steps

      1. Create a 3 node cluster with D+F: D+F:F
      2. Create 3 indexes, with 1 paritions
      3. Update indexes to 18,3,3 partitions

      Replica skew was observed.

       

      Index actives distribution:
              Index: n2-copy
                      172.23.120.23:8094 : 1
                      172.23.107.56:8094 : 1
                      172.23.122.68:8094 : 1
              Index: n2-copy-copy
                      172.23.120.23:8094 : 1
                      172.23.107.56:8094 : 1
                      172.23.122.68:8094 : 1
              Index: n2
                      172.23.122.68:8094 : 6
                      172.23.107.56:8094 : 6
                      172.23.120.23:8094 : 6
      Index replicas distribution:
              Index: n2-copy
                      172.23.107.56:8094 : 2
                      172.23.122.68:8094 : 1
              Index: n2-copy-copy
                      172.23.120.23:8094 : 2
                      172.23.122.68:8094 : 1
              Index: n2
                      172.23.120.23:8094 : 6
                      172.23.122.68:8094 : 6
                      172.23.107.56:8094 : 6 

      Forced a rebalance with cli 

      ./couchbase-cli rebalance --cluster <cluster-url> --username <username> --password <password> 

      Saw that replica partition increased from 3 to 4 for index3 

      Index actives distribution:
              Index: n2
                      172.23.122.68:8094 : 6
                      172.23.120.23:8094 : 6
                      172.23.107.56:8094 : 6
              Index: n2-copy-copy
                      172.23.120.23:8094 : 1
                      172.23.107.56:8094 : 1
                      172.23.122.68:8094 : 1
              Index: n2-copy
                      172.23.122.68:8094 : 1
                      172.23.107.56:8094 : 1
                      172.23.120.23:8094 : 1
      Index replicas distribution:
              Index: n2-copy
                      172.23.120.23:8094 : 1
                      172.23.122.68:8094 : 1
                      172.23.107.56:8094 : 1
              Index: n2
                      172.23.107.56:8094 : 6
                      172.23.120.23:8094 : 6
                      172.23.122.68:8094 : 6
              Index: n2-copy-copy
                      172.23.122.68:8094 : 1
                      172.23.120.23:8094 : 2
                      172.23.107.56:8094 : 1
       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sarthak.dua Sarthak Dua
            sarthak.dua Sarthak Dua
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty