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

[FTS] stats polling should use cached indexDefs/planPIndexes from metakv

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • cbft
    • None
    • Untriaged
    • Unknown

    Description

      ns-server polls cbft every second for stats, and cbft in turn calls metakv to retrieve the latest indexDefs and planPIndexes... which can be expensive.

      for stats, consider caching those for a bit (or until there's a runObserveChildren event/change) in order to hit ns-server/metakv less often.

      Attachments

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

        Activity

          People

            steve Steve Yen
            steve Steve Yen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty