Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.1.0
-
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
- Spin up a single node cluster
- Create a couchbase bucket
- Create an ephemeral bucket
- 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
- relates to
-
MB-52427 cbtransfer does not work if there is an ephemeral bucket
- Resolved