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

[3.1.2 backport] Config migration should consider use_xattr_config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.2
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 137
    • 3

    Description

      When migrating config from 3.0 to 3.1, we migrate to the new storage location then attempt to delete the old version using a simple delete.

      When use_xattr_config is set, the simple delete isn't sufficient to remove the document, and it gets recreated by the handling that's intended to prevent accidental user deletes.

      To avoid this, migration should use deleteWithXattr to purge the old config when use_xattr_config is set.

      Attachments

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

        Activity

          People

            adamf Adam Fraser
            adamf Adam Fraser
            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