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

JVM extended pause can delay kill switch activation

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • .future
    • None
    • None

    Description

      If the JVM pauses for an extended period of time (for example, due to a hypervisor moving a VM to a different host) the health check kill switch might not active in time to prevent the connector from writing an obsolete version of a document to Elasticsearch. Obsolete because the leader may have reassigned the vbucket to another worker, and that worker may have written multiple versions of the document to Couchbase during the time the zombie worker is paused. When the zombie worker wakes up, it may overwrite the current version of the document with the old version it was processing at the time it was paused.

      Detect when this occurs and report it to the user somehow.

      Attachments

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

        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:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty