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

replicateTo with multiple replicas not guaranteed to target promoted replica

    XMLWordPrintable

Details

    Description

      The expected behavior of replicateTo is that the write is durable i.e. it will survive if the node with the active vbucket becomes unavailable.

      However, that is not the case today.

      If user chooses replicateTo to be less than total number of replicas, they can 'lose' writes that were acked as being replicated. We do not choose the "most up to date" replica when doing a failover and hence a DCP stream rollback triggers a reverse of the write from the node(s) that acked it. 

      Attachments

        Issue Links

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

          Activity

            People

              artem Artem Stemkovski
              shivani.gupta Shivani Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty