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

Log the duration a connection is paused by MaxSendQueueSize

    XMLWordPrintable

Details

    • 0
    • Yes
    • March-June 24

    Description

      Follow-up from MB-60706.

      Initial draft at https://review.couchbase.org/c/kv_engine/+/205383.

      As discussed on Slack:

      In place of a counter calculate the duration at which the connection is blocked due to a full send queue. For example, introduce the following two stats:

      std::chrono::nanoseconds blocked_on_full_send_queue_duration;
      std::optional<std::chrono::steady_clock::time_point> blocked_on_full_send_queue; 

      And update them on entry and exit of Connection::executeCommandsCallback  and Connection::processNotifiedCookie (and there might be others).

      Attachments

        Issue Links

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

          Activity

            People

              ashwin.govindarajulu Ashwin Govindarajulu
              paolo.cocchi Paolo Cocchi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty