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

provide hidden way to trigger a complete backfill

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • XDCR
    • None

    Description

      Now that XDCR has a backfill mechanism, provide a way to manually trigger a backfill and print out the mappings for debugging if data were ever to be missing

      To trigger an "emergency" backfill, edit the replication setting and pass "manualBackfill" key with the source namespace.

      For example, given an explicit mapping set up of:

      {
        "checkpointInterval": 60,
        "colMappingRules": {
          "S1.col1": "S1.col1"
        },
        "collectionsExplicitMapping": true,
        "collectionsMigrationMode": false,
        "collectionsMirroringMode": false,
      }
      

      Trigger a backfill by setting Key value of "manualBackfill=S1.col1"
      The key is "manualBackfill" and value is the source namespace.

      Attachments

        Issue Links

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

          Activity

            People

              neil.huang Neil Huang
              neil.huang Neil Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty