Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-11172

Docs should highlight write availability issue with durable writes and 1 replica buckets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • 7.2.1
    • 7.0.0, 7.1.0, 7.2.0
    • kv
    • None
    • DOC-2023-S12
    • 0

    Description

      When a node fails in a 1 replica bucket, durable writes against vbuckets on that node can't run to completion. This happens because durable writes need to be acked by a majority of the available copies of the data. A 1 replica bucket has 2 copies of every vbucket and a majority of 2 is 2 – so the replica needs to be available for durable writes to succeed.

      This is a known issue and is captured in this table in the documentation: https://docs.couchbase.com/server/current/learn/data/durability.html#majority.

      However, it's a trap that quite a number of users & customers have fallen into in the past, especially since 1 replica buckets are the most common way that Couchbase Server is deployed.

      We should add a special "warning" or "important note" that if a node fails and a bucket is configured with one replica, durable writes will be partially unavailable (for any vbucket that lives on the failed node.)

      Attachments

        Issue Links

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

          Activity

            People

              tony.hillman Tony Hillman (Inactive)
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty