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

Cbrecovery's unnecessary options, some that cause imminent data loss

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.1.0
    • 2.1.0
    • tools
    • Security Level: Public
    • None
    • 2.0.2 all platforms

    Description

      The following options need to be removed for cbrecovery:

      -k KEY, --key=KEY allow only items with keys that match a regexp
      --vbucket-list=VBUCKET_LIST
      transfer items from specified vbuckets only

      Desc:

      • vbucket-list is being calculated internally anyway.
      • key could cause data loss anyway, consider scenario:

      e.g.

      Vbucket 1020 is missing, supposed to contain key-1, and key-2
      Say we run cbrecovery with key option on just key-2, so what cbrecovery would do is just load key-2, and mark status of vbucket 1020 as done. So even in the subsequent runs, cbrecovery would fail to detect data loss on vbucket 1020. – We wouldn't want this.

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty