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
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.2
    • 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

          For Gerrit Dashboard: GOCBC-879
          # Subject Branch Project Status CR V

          Activity

            Build couchbase-server-7.0.0-2265 contains gocbcore commit 6be13cb with commit message:
            GOCBC-879: Add AgentGroup for managing multiple agents

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2265 contains gocbcore commit 6be13cb with commit message: GOCBC-879 : Add AgentGroup for managing multiple agents

            Build couchbase-server-6.6.0-7757 contains gocbcore commit 6be13cb with commit message:
            GOCBC-879: Add AgentGroup for managing multiple agents

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7757 contains gocbcore commit 6be13cb with commit message: GOCBC-879 : Add AgentGroup for managing multiple agents

            Build couchbase-server-7.0.0-3115 contains gocb commit 61106c7 with commit message:
            GOCBC-879: Use gocbcore AgentGroup

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3115 contains gocb commit 61106c7 with commit message: GOCBC-879 : Use gocbcore AgentGroup

            Build sync_gateway-3.0.0-52 contains gocb commit 61106c7 with commit message:
            GOCBC-879: Use gocbcore AgentGroup

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocb commit 61106c7 with commit message: GOCBC-879 : Use gocbcore AgentGroup

            Build sync_gateway-3.0.0-52 contains gocbcore commit 6be13cb with commit message:
            GOCBC-879: Add AgentGroup for managing multiple agents

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit 6be13cb with commit message: GOCBC-879 : Add AgentGroup for managing multiple agents

            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