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

Avoid fetching entire cluster info cache during selfRestart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.1.0, 7.1.1
    • secondary-index
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Many places in indexer code uses a "selfRestart" method. E.g., monitorKVNodes. If there is any error during the processing of methods like monitorKVNodes, indexer will sleep for 5 seconds and re-spawn the method.

      Each time methods like monitorKVNodes start, indexer is doing an entire cluster info cache fetch. This is unnecessary as in most cases, it is sufficient for indexer to just fetch pools or node services info.

      The ask of this MB is to:

      a. Identify all such places where selfRestart() method is leading to full cluster info cache fetch

      b. Avoid doing full cluster info cache fetch in those places

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty