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

n1ql and godbc: make sure transports and clients are reused, bodies closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.1.0, 5.5.0
    • 5.0.0, 5.0.1
    • query
    • Triaged
    • No

    Description

      By code inspection, in at least three places we don't close bodies or create new transports and clients, which will lead to TCP connection leaks.

      Potential impact - since we don't specify http transport behaviour, nor that we have done with the body, we are at the mercy of the golang http package as to when connections are closed, which may lead to large tcp connection leaks.

      Attachments

        Issue Links

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

          Activity

            People

              korrigan.clark Korrigan Clark (Inactive)
              marco.greco Marco Greco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty