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

gocb errors during server upgrade

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.3.0.1
    • None
    • library
    • None

    Description

      Scenario:
      1. Sync Gateway creates gocb client connected to a 2 node Server cluster (node A and B) running 4.62
      2. Node A is rebalanced out
      3. Node A is upgraded to 5.0, restarted
      4. Node A is rebalanced in
      5. Node B is rebalanced out
      6. Node B is upgraded to 5.0, restarted
      7. Node B is rebalanced in

      We're seeing the following errors in Sync Gateway when trying to perform kv operations via this process:

      a. After step 4, all kv operations return a 'not connected to a bucket' error.
      b. After step 5, all kv operations return a 'no access' error.

      The 'no access' errors continue until the gocb instance is dropped and recreated (in our case, Sync Gateway is restarted).

      Should gocb be handling this upgrade scenario internally, or are consumers expected to detect these errors and drop/re-establish connections manually?

      Attachments

        1. capture_s61704.tar.gz
          2.69 MB
        2. capture_s61705.tar.gz
          3.15 MB
        3. sg_log_for_pcap.zip
          182 kB
        4. sync_gateway_error.log.zip
          186 kB

        Issue Links

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

          Activity

            People

              brett19 Brett Lawson
              adamf Adam Fraser
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty