Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.0, 7.6.1
-
Untriaged
-
0
-
Yes
Description
What is the problem?
When a cluster is in mixed-mode with at least one pre-7.6 node and the query node is 7.6.x then hitting a bucket's backup endpoint fails with the following error message:
❯ curl 10.145.246.101:8093/api/v1/bucket/default/backup -uAdministrator:asdasd
|
{"_level":"exception","caller":"couchbase:2994","cause":{"scope":"default:default._system"},"code":12021,"key":"datastore.couchbase.scope_not_found","message":"Scope not found in CB datastore default:default._system"}⏎
|
It looks like the reason is the bucket endpoint handler assumes that the _system scope is created and so scans it for metadata objects, but this is not true in this case - I believe the _system scope is only created once the upgrade has complete.
Reproduction
- Create a cluster with a 7.2.4 node and a 7.6.1 node, with the latter having query
- Create a bucket
- Try to backup the bucket using cbbackupmgr
Attachments
Issue Links
- relates to
-
MB-61658 [examinador] Check query is ready to take a backup before starting tests
- Resolved
- causes
-
CCBSE-1761 Loading...
For Gerrit Dashboard: MB-61550 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
208905,8 | MB-61550 Write a version 1 backup image before... | trinity | query | Status: MERGED | +2 | +1 |
208922,2 | MB-61550 Add function to report supported... | trinity | query-ee | Status: MERGED | +2 | +1 |
208980,2 | MB-61550 Fix typo in CE code. | trinity | query | Status: MERGED | +2 | +1 |
209015,5 | MB-61550 Skip replicas in system collection... | trinity | query | Status: MERGED | +2 | +1 |
209021,2 | MB-61550 Add error description. | master | query | Status: MERGED | +2 | +1 |
209055,2 | MB-61550 Don't wrap E_BACKUP_NOT_POSSIBLE in ... | trinity | query | Status: MERGED | +2 | +1 |
209108,1 | Merge remote-tracking branch 'couchbase/trinity' | master | query | Status: MERGED | +2 | +1 |