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

Tracer::vecSpans can grow to unbounded size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.1.4, 7.0.5
    • memcached
    • None
    • 0
    • Yes

    Description

      KV records the time taken to execute various phases of a given operation. This is used to provide visibility into e.g., why an operation was slow.

      It was not generally expected that a given operation would record many spans; ops typically have a handful of spans which are interesting enough to record in this manner. However, as a result of other bugs (like MB-56970), KV could attempt to record an unlimited number of spans for a given operation (Tracer/Cookie).

      This will lead to unbounded non-bucket memory usage. This could also be problematic if a very large number of spans is logged as part of slow op tracing.

      In versions affected by MB-56926, this will not be visible in any KV stats, but will be reflected in memcached RSS.

      Attachments

        Issue Links

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

          Activity

            People

              trond Trond Norbye
              james.harrison James Harrison (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty