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

[BP 7.6.2] Planner not placing few indexes on cluster while restore

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

       

      Lost replicas recreated for indexes in planning should be removed if there are no enough nodes to accomodate it.

      There is corner case when recreated replicas will not be removed and will reside on old temp node in plan.

      planner.go#L1133

       

      When this issue will occur if:

      1. Source cluster used to take backup  has indexes with some lost replicas. (For index numReplica+1 > actual instances)
        Thus repair will happen as part of restore.
      2. Those multiple indexes for a bukcet have same <idx_name partitionId> combination, 

      ex:- Primary indexes without partitions on different scope/collection in bucket
      <#primary 0>  on b1.s1.c1
      <#primary 0>       b1.s1.c2
      <#primary 0>       b1.s1.c3

      Attachments

        Issue Links

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

          Activity

            People

              yash.dodderi Yash Dodderi
              dhananjay.kshirsagar Dhananjay Kshirsagar
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty