Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Cheshire-Cat
-
None
-
Untriaged
-
1
-
Unknown
Description
7.0 Build 3739
Loading the travel-sample using cbdocloader from the CLI is erroring because of missing scopes and the documents are getting loaded into the default scope/collection with a strange key prefix.
_default._default.airline_10748
_default._default.airline_10765
_default._default.airline_109
...
Steps:
/opt/couchbase/bin/cbdocloader -c couchbase://localhost -u Administrator -p xxxxx -b travel-sample -m 100 -d /opt/couchbase/samples/travel-sample.zip -t 4 -v
Creating `travel-sample` bucket
Bucket `travel-sample` created
Reading index definitions from travel-sample/design_docs/indexes.json
ERRO: [12021] Scope not found in CB datastore default:travel-sample.inventory – docloader.(*jsonSampleImporter).Queries() at sample_importer.go:210
ERRO: [12021] Scope not found in CB datastore default:travel-sample.inventory – docloader.(*jsonSampleImporter).Queries() at sample_importer.go:210
ERRO: [12021] Scope not found in CB datastore default:travel-sample.inventory – docloader.(*jsonSampleImporter).Queries() at sample_importer.go:210
.....
Loading data into the travel-sample bucket
Loaded 63182 items into the travel-sample bucket
Errors occurred during the index creation phase. See logs for details.
Attachments
Issue Links
- duplicates
-
MB-42758 cbdocloader cli disregards collections manifest; imports all docs into _default collection
- Closed