Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55392

backup utility may not capture highseqnos from some vbuckets

    XMLWordPrintable

Details

    • 0

    Description

      While analyzing code for Sync Gateway, I found some issues with the ergonomics of the go API, and filed GOCBC-1385

      I looked to other places in couchbase org that use this function and found the implementation in backup here https://cs.github.com/couchbase/backup/blob/5bfe9f92b6b5a5958fd0975bab3af71b5dce27cb/couchbase/dcp_client.go#L318

      The long term fix would be to uptake the not yet created go API at the SDK level, but a short term fix could be to just change the iteration from 1 -> numServers + 1, since the zero value is a duplicate of another value in the server array.

      Attachments

        Issue Links

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

          Activity

            People

              james.lee James Lee
              tor.colvin Tor Colvin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty