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

Index not evenly distributed for partition index

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Build: 7.1.0-2475

      • Create 5 node clusters (2 KV , 3 index)
      • create bucket and scope
      • create partition index as

      CREATE INDEX idx ON `bucket-1`.`scope-1`.`collection-1`(id)
       PARTITION BY HASH(META().id)
       WITH {"num_partition": 3}; 

      • check index partitioning, it's not evenly distributed on all 3 nodes. 

      CREATE INDEX `index1-1` ON `bucket-1`.`scope-1`.`collection-1`(`id`) PARTITION BY hash(`id`) WITH { "defer_build":true, "nodes":[ "172.23.110.55:8091","172.23.110.56:8091" ], "num_partition":3 } 

      NOTE: Planner settings are disabled 

      Attachments

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

        Activity

          People

            yogendra.acharya Yogendra Acharya (Inactive)
            vikas.chaudhary Vikas Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty