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

[3.1.2 backport] Handle rollback error for resync operations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.2
    • 3.1.0, 3.1.1
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 136
    • 1

    Description

      Currently we have our DCP client for DCP based resync set to fail on rollback. -> https://github.com/couchbase/sync_gateway/blob/246fde2151448dbbaa2f7c4a19d133c16abd2b29/db/background_mgr_resync_dcp.go#L333C11-L333C11

      We should have either handling like our attachment compaction rollback handling or just allow ourselves to rollback to whatever KV requires and reprocess these documents again, removing the need to fail on rollback.

      Attachments

        Issue Links

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

          Activity

            People

              tor.colvin Tor Colvin
              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