Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61500

Better sync-write status when DCP is down

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0, 7.6.2, 7.6.1
    • couchbase-bucket
    • None
    • 0

    Description

      If DCP is disconnected for a prolonged period (greater than a sync-write timeout) a sync-write will return status "sync-write-ambiguous". However in the case where the active vbucket cannot replicate anything because no ActiveStream or DCPProducer object exists, a better status code could be determined. The active durability code should have everything at hand to be able to determine that no DCP_PREPARE message has left the node and that any timeout of the sync-write is 100% not at all ambiguous - what status code is appropriate though is unclear, the write maybe durable on the local node (persisted) so it's not fair to say the write was 100% failed.

      Attachments

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

        Activity

          People

            owend Daniel Owen
            jwalker Jim Walker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty