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

[3.1.2 Backport] Hook up the reset resync code to a parameter that is passed into the resync endpoint

    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 code that can reset the resync process here ->  https://github.com/couchbase/sync_gateway/blob/9290abec176b50e7f996c6c340fd090101a8c473/db/background_mgr_resync_dcp.go#L70C35-L70C35 much like our attachment compaction code. The issue is there is nothing actually hooking the option up to the endpoint sop that a customer can use it. See here -> https://github.com/couchbase/sync_gateway/blob/246fde2151448dbbaa2f7c4a19d133c16abd2b29/rest/api.go#L318C25-L318C25

      Ticket is to carry out the work to hook the both of them up.

      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
              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