Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-128

Observe failing when number of available nodes is less than the configured replica count

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2 Beta-2
    • None
    • None
    • None

    Description

      Observe fails when the amount of available nodes is less than the replica count, this happens when e.g. a bucket is configured with 4 replicas but the cluster only has two nodes.

      Specifically, it attempts to access an array index of -1 when the vbucket config for the replica is not there. This obviously causes the client to raise an exception (about accessing an invalid index)

      This is probably best explained by the changeset here

      http://review.couchbase.org/21183

      Attachments

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

        Activity

          People

            john John Zablocki (Inactive)
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty