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

[Backport - MB-21585] - Response from http requests must be closed in GSI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.3
    • 4.0.0, 4.1.0, 4.5.1, 4.6.0
    • secondary-index
    • None
    • Triaged
    • No

    Description

      Response obtained from any http request in GSI must be closed to avoid connection. Requests that needs this change include:
      1. resp, err := getWithAuth(addr + "/getLocalIndexMetadata")
      in getIndexStatus() in request_handler.go

      Ref: https://golang.org/src/net/http/client.go

      Attachments

        Issue Links

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

          Activity

            People

              ritam.sharma Ritam Sharma
              prathibha Prathibha Bisarahalli (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