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

Duplicate eviction does not consider scope/collection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.2.9
    • None
    • 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

        For Gerrit Dashboard: CBES-193
        # Subject Branch Project Status CR V

        Activity

          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