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

Set isReceivingInitialDiskSnapshot to false on non-replica->active transition

    XMLWordPrintable

Details

    • Triaged
    • Yes
    • KV Sprint 2020-February

    Description

      Currently we set this flag to false when transitioning from replica to active. The idea behind this is that we may have not yet received a full snapshot but have been promoted so we now need to stream what data we have to other nodes. It is valid to transition from pending to active also, and in general we should never make any assumptions about what state transitions are possible, so we should set this flag to false when transitioning from any state to active.

      If we do not, then we risk being unable to replicate data from 1 node to another in the event of a hard failover.

      Attachments

        Issue Links

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

          Activity

            People

              ben.huddleston Ben Huddleston
              ben.huddleston Ben Huddleston
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty