Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-4022

[3.1.9 backport] Race between config poll and dbconfig update

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.9
    • Beryllium
    • SyncGateway
    • Security Level: Public
    • CBG Sprint 152
    • 1

    Description

      After the fix for CBG-3817 went into main, QE picked up some tests failing.

      In CBG-3817 I had removed the update to the cfgCas when updating the runtime config to the new incoming config. This was to allow an rolback of the runtime config in the event of an update error (such as collection conflict). This has exposed a race between and update to the dbconfig and the background polling for bucket db configs meaning we had situation when during update to a db config sync gateway was replacing the runtime config with the bucket config during an update. Causing mismatch between a persisted dbconfig and runtime config.

       

      Attachments

        Issue Links

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

          Activity

            People

              gregory.newmansmith Gregory Newman-Smith
              tor.colvin Tor Colvin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty