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

Improve stale=update_after query latency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • view-engine
    • Security Level: Public

    Description

      The view_group coordinator blocks lot of times whenever it needs to start updater since it has to grab vbucket-seqno stats from ep-engine. It causes the query throughput to go down almost half compared to 2.5.

      The time taking get_seqs() should be performed by a separate erlang process whenever updater needs to be started. An updater scheduler process should be introduced and all updater start request should be processed through updater scheduler. This reduce the contention caused in view_group due to get_stats() call and improve latency for stale=update_after queries.

      Attachments

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

        Activity

          People

            pavelpaulau Pavel Paulau (Inactive)
            sarath Sarath Lakshman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty