Details
-
Bug
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
Untriaged
-
Centos 64-bit
-
1
-
Unknown
Description
Trying to do the following steps:
- Create bucket: bucket1
- Create scope: bucket1.scope1 - running a query
create scope default:bucket1.scope1
- Check if scope created: running a request:
http://192.168.10.11:8091/pools/default/buckets/bucket1/collections
which returns me this:
b'{"uid":"1","scopes":[{"name":"scope1","uid":"8","collections":[]},{"name":"_default","uid":"0","collections":[{"name":"_default","uid":"0"}]}]}'
- create collection: bucket1.scope1.collection1 - running a query create
collection default:bucket1.scope1.collection1
And this query fails with exception:
{'requestID': 'daa850f9-c1fe-431b-b9e8-2061a3581659', 'errors': [{'code': 12021, 'msg': 'Scope not found in CB datastore default:bucket1.scope1'}], 'status': 'fatal', 'metrics': {'elapsedTime': '2.750487ms', 'executionTime': '2.659576ms', 'resultCount': 0, 'resultSize': 0, 'errorCount': 1}}