Skip to content

@dnault dnault released this Sep 18, 2018 · 215 commits to master since this release

Maintenance release for improved compatibility and stability.

Bug Fixes

  • CBES-82 / #191: NoClassDefFoundError under Java 9.
  • CBES-83: VersionConflictEngineException in storeUUID if document already exists.
    (Causes XDCR replication to be removed.)
Assets 98
Sep 18, 2018
Release 3.0.2-alder
Pre-release

@dnault dnault released this Aug 31, 2018 · 172 commits to master since this release

Documentation

More documentation will accompany the GA release. In the mean time, here's a brief Quickstart Guide.

New in the Developer Preview

  • Compatible with Elasticsearch versions 5 and 6.

  • Support for secure connections to Couchbase and Elasticsearch.

  • Tools for managing replication checkpoints.

  • A "rejection log" for documents Elasticsearch permanently refuses to index.

  • Configurable document structure (omit metadata if you don't need it).

  • The connector is a separate process instead of an Elasticsearch plug-in.

Things to be aware of

  • Parent-child relationships are no longer supported, as this feature
    was removed in ES 6.

  • Custom document routing is not implemented. Please let us know
    if this feature is still relevant for your deployment.

Assets 4

@dnault dnault released this Feb 19, 2018 · 215 commits to master since this release

New in this version

The birch development line has been retired. The cypress line now supports
all 5.x versions of Elasticsearch.

RegexParentSelector now reads the parent ID format from the correct config
property (couchbase.parentSelector.documentTypesParentFormat.<type>).
If you previously put the parent ID format in the documentTypeParentFields
property as a workaround, please update your configuration.

The connector can now delete child documents and other documents that have
custom routing. If you're using RegexParentSelector then this feature
has no additional overhead. Otherwise, for each document whose routing
cannot be derived from the document ID, the connector creates a separate
signpost document to record the routing. Be aware that child documents created
by previous versions of the connector are not eligible for deletion, since
they don't have signposts (you'll see "missing signpost" warnings in the log
when the connector tries to delete those documents).

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.

Issues resolved in this release

  • CBES-49: [BUGFIX] RegexParentSelector reads parent ID format from wrong config property
  • CBES-50: [BUGFIX] RoutingMissingException when deleting child documents
Assets 90
Feb 19, 2018
Couchbase Elasticsearch Connector 3.0.1 (2018-02-18)
New in this version:

The `birch` development line has been retired. The `cypress` line now supports
all 5.x versions of Elasticsearch.

`RegexParentSelector` now reads the parent ID format from the correct config
property (`couchbase.parentSelector.documentTypesParentFormat.<type>`).
If you previously put the parent ID format in the `documentTypeParentFields`
property as a workaround, please update your configuration.

The connector can now delete child documents and other documents that have
custom routing. If you're using `RegexParentSelector` then this feature
has no additional overhead. Otherwise, for each document whose routing
cannot be derived from the document ID, the connector creates a separate
signpost document to record the routing. Be aware that child documents created
by previous versions of the connector are not eligible for deletion, since
they don't have signposts (you'll see "missing signpost" warnings in the log
when the connector tries to delete those documents).

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.

Issues resolved in this release:

[CBES-49](https://issues.couchbase.com/browse/CBES-49):
      [BUGFIX] RegexParentSelector reads parent ID format from wrong config property

[CBES-50](https://issues.couchbase.com/browse/CBES-50):
      [BUGFIX] RoutingMissingException when deleting child documents
Feb 6, 2018
Couchbase Elasticsearch Plugin 3.0.1-pre.1 (2018-02-06)
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-49](https://issues.couchbase.com/browse/CBES-49):
    [BUGFIX] RegexParentSelector reads parent ID format from wrong config property

RegexParentSelector has been fixed to read the parent ID format from

    couchbase.parentSelector.documentTypesParentFormat.<type>

insead of from

    couchbase.parentSelector.documentTypeParentFields.<type>

Users who previously set the `documentTypeParentFields` config property as
a workaround should update their configs accordingly.

----

[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.
Feb 6, 2018
Couchbase Elasticsearch Plugin 3.0.1-pre.1 (2018-02-06)
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.
You can’t perform that action at this time.