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

Add support for Co-existence of with "nodes" clause and shard affinity

    XMLWordPrintable

Details

    • 0

    Description

      Currently, when shard affinity is enabled, with "nodes" clause is not supported while creating indexes. This is a widely used clause by customers as they can control the index placement based on their requirement. 

      When shard affinity is enabled, with "nodes" clause can not be supported as the nodes defined in with "nodes" clause may not share a common slot.  A new slot may have to be created to accommodate the index to support the with "nodes" clause. Creating new slots means more shards and this can lead to performance regressions.

      The goal of this improvement is to investigate the potential performance regressions that can happen when with "nodes" clause is supported with shard affinity. If the performance regressions are not severe/minimal, then both with nodes clause and shard affinity can be supported by default

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-60735
          # Subject Branch Project Status CR V

          Activity

            People

              varun.velamuri Varun Velamuri
              varun.velamuri Varun Velamuri
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change

                  PagerDuty