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

gocbcore v10.2.3+ can not perform CCCP polling

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Critical
    • core-10.2.3
    • None
    • None
    • None
    • 0

    Description

      Sync Gateway recently upgraded from github.com/couchbase/gocbcore/v10 v10.1.6 to github.com/couchbase/gocbcore/v10 v10.2.3-0.20230404070112-cab6da1895ae to fix the https://issues.couchbase.com/browse/GOCBC-1401

      In basic case in our test harness, we are no longer able to make a CCCP connection.

      Our test case is

      1. start up CBS in docker
      2. run go test in sync gateway
      3. go test creates a bucket, fails with CCCP polling
      4. if successful, runs a test (in this case, a simple DCP test)

       
      The interesting logs are from verbose_int.out.raw

      Here's an example from enterprise-7.0.5 (failing)= https://jenkins.sgwdev.com/job/SyncGateway-Integration/1681/artifact/verbose_int.out.raw/*view*/

      Here's a passing example:
      https://jenkins.sgwdev.com/job/SyncGateway-Integration/1683/

      The difference between these two builds is https://github.com/couchbase/sync_gateway/commit/b4dab6117732ba793bb83b9eb1406b7e18e990b1. I've also fixed this so sync gateway go.mod uses gocb v2.6.2 which we probably should have done originally, but I get the same failure: https://jenkins.sgwdev.com/job/SyncGateway-Integration/1684/

      The automation code I use for starting CBS is https://github.com/couchbase/sync_gateway/pull/6176/files integration-test/start_server.sh.  This code will probably only work on linux right now where Jenkins is running but I expect to be modifying it to work on mac soon.

      Attachments

        Activity

          People

            charles.dixon Charles Dixon
            tor.colvin Tor Colvin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty