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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:
      None
    • Story Points:
      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

            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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

              Assignee:
              charles.dixon Charles Dixon
              Reporter:
              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