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

The source partitions are not evenly distributed among nodes after rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 7.6.2
    • 7.6.2
    • fts

    Description

      Build:
      7.6.0-2182(7.6.0-MP1)

      Steps involved in the test

      • Create 1 bucket with 30k items
      • Create 2 fts index with 20 partitions 
      • Validate source partitions per index - validated
      • rebalance in 2 nodes
      • Validate source partitions per index - FAIL

      Detailed failed step of validating source partitions

      1. It is balance check test(almost equal no of pindexes on all fts nodes)
      2. Claim is abs(num_node_partitions - exp_partitions_per_node) > partitions_per_pindex
      3. num_node_partitions is total sum of nodes_partitions[node]['pindexes'].items()
      4. Expected partitions per node is num_vbuckets/num_fts_nodes
      5. partitions_per_pindex can be found using `idx_defn['indexDef']['planParams']['maxPartitionsPerPIndex'])` 

      ======================================================================
      FAIL: rebalance_2_nodes_during_index_building (fts.vector_moving_topology_fts.VectorSearchMovingTopFTS)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "pytests/fts/vector_moving_topology_fts.py", line 2444, in rebalance_2_nodes_during_index_building
          self.is_index_partitioned_balanced(index)
        File "pytests/fts/fts_base.py", line 5351, in is_index_partitioned_balanced
          % (num_node_partitions, node))
      AssertionError: The source partitions are not evenly distributed among nodes, seeing 256 on c66eade50eb75a7314ccac36abc83710
       
      ---------------------------------------------------------------------- 

      Attachments

        Issue Links

          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:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty