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

[BP to Alice] FTS - GetTaskList timeout during rebalance with numerous index aliases

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • No

    Description

      During a rebalance operation, fts tries to compute the number of index partitions to be moved/rebuilt using the function getMovingPatitionsCount here - https://github.com/couchbase/cbgt/blob/mad-hatter/ctl/ctl.go#L190

      But when there are lots of index aliases, it can cause an un necessary delay in the bucket detail fetching operations happening inside this utility function. For index aliases, there is no reason to fetch the source bucket details as the aliases are always built on other indexes as their sources and not on buckets directly.

      This futile source bucket fetch attempts can cumulatively increase the overall execution time for the getMovingPatitionsCount function which can cause higher level timeouts like GetTaskLists.

       

      Attachments

        Issue Links

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

          Activity

            People

              abhinav Abhi Dangeti
              Sreekanth Sivasankaran Sreekanth Sivasankaran (Inactive)
              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