Skip to content

3.0.1-pre.1-alder

@dnault dnault tagged this 06 Feb 04:51
This is a pre-release version. It offers a preview of changes that will be
included in the final 3.0.1 release.

Issues resolved in this pre-release version:

[CBES-50](https://issues.couchbase.com/browse/CBES-50):
    [BUGFIX] RoutingMissingException when deleting child documents

When deleting a document whose routing/parent can be inferred from its ID
(such as a child document whose parent ID is embedded in the child ID)
the plugin now uses the embedded ID to property route the deltion request.

When creating a document whose routing/parent *cannot* be inferred from its ID
(because it is part of the document body), the plugin now creates now creates
a "routing signpost" document in Elasticsearch to record the routing for the
document. When the document is deleted, the plugin reads the signpost
to determine how to route the deletion request, then deletes the signpost
along with the target document.

The signposts have a document type of "couchbaseSignpost". The mapping for
this type must store the contents of the "meta" field. This is already the case
if you're using the default mapping template included in the plugin distribution.
Assets 2