Uploaded image for project: 'Couchbase Elasticsearch Connector'
  1. Couchbase Elasticsearch Connector
  2. CBES-193

Duplicate eviction does not consider scope/collection

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.2.9
    • None
    • 1

    Description

      This issue only affects deployments that using the scopes/collections feature from Couchbase 7+.

      The code in ElasticsearchWriter.write() that detects duplicate document IDs in the write buffer only considers the document ID when looking for duplicates. Two documents may be considered duplicates even if they are destined for different indexes because they come from different collections.

      Fix the detection algorithm to consider the destination index as well as the document ID.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty