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

Filter indexes that are not moving and require alternate shardIds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • Morpheus, 7.6.3
    • 7.6.0
    • secondary-index
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      Found this possibility during code inspection.

      In the current code, if there are any indexes that require alternate shardIds, then planner will filter solution and populate alternate shardIds. 

      After filter solution, if the indexes in "needsNewAlternateShardIds" are not moving, then they can be filtered out. This will prevent unnecessary creation of shards.

      Note: This is only a minor performance improvement. Functionally, there will not be any impact even in Trinity.

      Attachments

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

        Activity

          People

            amit.kulkarni Amit Kulkarni
            varun.velamuri Varun Velamuri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty