Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-794

ClusterManager using non default couchbase port uses incorrect http addresses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.6.5
    • 1.6.4
    • None
    • None
    • 1

    Description

      When connecting to a cluster using a non default port and the couchbase:// scheme we can trigger a panic when trying to use `cluster.Manager(username,password).Internal().GetNodesMetadata()`. This is triggering because we aren't pulling the http addresses from the agent and instead pull them from the supplied agentconfig (so no http addresses...). We also have no guards in place to prevent a nil pointer if there are no http addresses to use.

      Attachments

        Issue Links

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

          Activity

            People

              charles.dixon Charles Dixon
              charles.dixon Charles Dixon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty