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

improve index for creation+build for partitioned replicated indices

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0
    • secondary-index
    • None
    • 0

    Description

      In a recent customer case, it was seen that for replicated partitioned indices, we only create the first instance and post a commit token. the remaining instances will be created by DdlServiceMgr in the background.
      In this case, if the user has created an index with "defer_build" as true then the user script can believe that the index has been created and trigger a build index request for it's definition. This can race with DdlServiceMgr index creation and if the next instances are not created then those instances will be built after the build index is finished.
      This is not an optimal use of resources, from projector, as we will end up requesting for the same data again (additional stream requesting all the docs again just for different partitions)

      Attachments

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

        Activity

          People

            dhruvil.ketanshah Dhruvil Shah
            dhruvil.ketanshah Dhruvil Shah
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change

                PagerDuty