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

Don't always rebuild connections on first config fetch against 7.0

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • core-9.1.4
    • None
    • None
    • 1

    Description

      See https://github.com/couchbase/gocbcore/blob/master/kvmux.go#L118-L129

      On the first config we see against 7.0 the state of collections support will always have changed. We should add a check if the old mux state has a revID of -1 and if so then do takeover rather than a full reconnect.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-server-7.0.0-4944 contains gocbcore commit 5d797bd with commit message:
          GOCBC-1080: Don't reconnect connections on first config seen supporting collections

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4944 contains gocbcore commit 5d797bd with commit message: GOCBC-1080 : Don't reconnect connections on first config seen supporting collections

          Build sync_gateway-3.0.0-225 contains gocbcore commit 5d797bd with commit message:
          GOCBC-1080: Don't reconnect connections on first config seen supporting collections

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-225 contains gocbcore commit 5d797bd with commit message: GOCBC-1080 : Don't reconnect connections on first config seen supporting collections

          Build couchbase-server-7.1.0-1767 contains gocbcore commit 5d797bd with commit message:
          GOCBC-1080: Don't reconnect connections on first config seen supporting collections

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1767 contains gocbcore commit 5d797bd with commit message: GOCBC-1080 : Don't reconnect connections on first config seen supporting collections

          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