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

Cluster level ops can error in weird ways if used before connections initialized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.2
    • None
    • None
    • None
    • 1

    Description

      When performing cluster level ops without using WaitUntilReady then an op can be made before the SDK connections are initialized. When this happens it doesn't matter what version the cluster is we respond with an error because as far as gocbcore is concerned the agent doesn't support GCCCP.

      We should improve this by moving all the GCCCP detection logic out of gocb. It should be handled within gocbcore where it can spin until a valid config is seen or the timeout is reached. Upon valid config seen gocbcore can then proceed or respond with the unsupported error.

      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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty