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

            charles.dixon Charles Dixon created issue -
            charles.dixon Charles Dixon made changes -
            Field Original Value New Value
            Status New [ 10003 ] Open [ 1 ]
            charles.dixon Charles Dixon made changes -
            Summary Cluster level ops error with unsupported even with 6.5 Cluster level ops can error in weird ways if used before connections initialized
            charles.dixon Charles Dixon made changes -
            Fix Version/s 2.1.1 [ 16742 ]
            Fix Version/s 2.1.2 [ 16797 ]
            charles.dixon Charles Dixon made changes -
            Link This issue relates to GOCBC-890 [ GOCBC-890 ]
            charles.dixon Charles Dixon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]

              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