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

[Recovery] vBucket validation incorrectly flagging up ephemeral buckets

    XMLWordPrintable

Details

    • Triaged
    • 1
    • Yes

    Description

      What's the issue?
      It's currently not possible to use 'cbdatarecovery' when there's at least one ephemeral bucket; this is because it flags it up as containing no vBuckets.

      Recovery failed: no buckets contain any vBuckets which would be transferred with the current filters
      

      Steps to reproduce

      1. Spin up a single node cluster
      2. Create a couchbase bucket
      3. Create an ephemeral bucket
      4. Run 'cbdatarecovery', we should hit the highlighted error

      $ couchbase-cli bucket-create -c localhost:9000 -u Administrator -p asdasd --bucket cb --bucket-type couchbase --bucket-ramsize 100
      SUCCESS: Bucket created
       
      $ couchbase-cli bucket-create -c localhost:9000 -u Administrator -p asdasd --bucket ep --bucket-type ephemeral --bucket-ramsize 100
      SUCCESS: Bucket created
       
      $ cbdatarecovery -c localhost:9000 -u Administrator -p asdasd -d ~/Projects/couchbase-build/ns_server/data/n_0/data
      Recovery failed: no buckets contain any vBuckets which would be transferred with the current filters
      

      What's the fix?
      The "no vBuckets" check should assert that at least one bucket has vBuckets.

      Attachments

        Issue Links

          Activity

            People

              gilad.kalchheim Gilad Kalchheim (Inactive)
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty