Update `travel-sample` sample dataset bundled in the Beta software package
Description
Components
Affects versions
Fix versions
Labels
Environment
Release Notes Description
relates to
Activity
Michael Blow November 14, 2020 at 5:08 PMEdited
Do we need to update the command used to load the travel-sample after this change? If I use the (documented) command that has always worked in the past, all of the documents land in the _default._default collection, whereas if I import via the web UI, the data is distributed into the various collections as expected. This could mess up any demos which use the CLI to install the travel-sample, if we are intending to break backward-compatibility with this change.
filed to track this issue
Michael Blow November 14, 2020 at 10:45 AM
Hmmm I think this is not expected on the consumer side since my stream only filters on collection ID 0x0, which I confirmed in the memcached logs.
Daniel Owen November 14, 2020 at 10:42 AMEdited
Hi , This is expected as we have 2 variants of the original documents
If you expand goproj/src/github.com/couchbase/docloader/examples/travel-sample.zip
we have _default._default.route_xxxxx.json
of the docs and inventory.route.route_xxxxx.json
and similar for landmark etc.
Michael Blow November 14, 2020 at 3:34 AM
Just a heads up: I seem to be receiving exactly 2X the mutations through DCP when consuming the default collection on travel-sample after this change- will investigate.
CB robot November 13, 2020 at 6:22 PM
Build couchbase-server-7.0.0-3733 contains docloader commit 586c1ff with commit message:
travel-sample is now collection aware
Tracking ticket to update the bundled travel-sample dataset in Cheshire Cat Beta.
While discussions related to the sample dataset are in progress for future milestones, not having an updated sample dataset in the public Beta build will lead to a poor user experience. Hence request updating the `travel-sample` dataset (for Beta) to add named collections and a named scope. This is to ensure that all documentation examples (old and new) work OOTB.
Here's the updated diagram for reference: https://docs.google.com/presentation/d/1TjKhrvRnB70upU9rGWaOhwJo43EYtTuAzMqiTef6d7U/edit#slide=id.g9f5bfa070b_0_39
Binh shared the commands to update the dataset for Phase 1 (Nov Beta): https://docs.google.com/document/d/1AP6UdN2mYoBeK4VXuBe_hJYTixr0GGEEDjL34ssL1zA/edit?ts=5fa2f0df