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

system:completed_requests at times reports wrong status

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • query
    • None
    • Untriaged
    • No

    Description

      Requests eligible to be stored in completed_requests log may end up being logged with the wrong state if the client application has closed the connection.
      Although the symptom is cosmetic (state is completed vs closed) - the underlying issue is more serious, in that, because of a race condition, the closeNotify goroutine may get to execute after the request has completed, and that may lead to undesired effects such as trying to write to closed channels, etc.

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            marco.greco Marco Greco (Inactive)
            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