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

kv_ops{get} is not incremented for subdoc lookup operations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.1.4, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 7.1.3, 7.2.1, 7.1.5, 7.2.4, 7.2.2, 7.1.6, 7.2.3, 7.2.5
    • memcached
    • None
    • Untriaged
    • 0
    • No

    Description

      kv_ops{op="get"} is documented as "The number of successful get operations". On versions before 7.6.0, it is updated for GET and GAT only.

      On versions 7.6.0 and later, it is updated for GET/GAT/SUBDOC_MULTI_LOOKUP.

      SUBDOC_MULTI_LOOKUP (like many other operations) might require a BGFetch for a document.

      On versions 7.0 and later, ns_server derives the cache miss ratio (visible in the UI) as 100 * ep_bg_fetched / kv_ops{op="get"}. ns_server will additionally alert the customer for high cache miss ratio.

      SUBDOC_MULTI_LOOKUP not being counted in kv_ops (but triggering BGFetch) means that cache miss ratio can go off the scale on <7.6.0.

      This is less likely to happen now in 7.6.0, however kv_ops does not account for all operations which can cause BGFetch, so it is still possible to observe high cache miss ratio due to other operations on 7.6.0.

      Attachments

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

        Activity

          People

            trond Trond Norbye
            vesko.karaganev Vesko Karaganev
            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