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

make ns_cluster_membership:nodes_wanted crash if the keys is not found

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Critical
    • backlog
    • CheshireCat.Next
    • ns_server
    • 1

    Description

      per comment here: http://review.couchbase.org/c/ns_server/+/134597/24/src/ns_cluster_membership.erl#291

      I think this a really bad default. We should change this function to crash if the key is not found. Motivation: we may still miss some corner cases around upgrade, and if ns_node_disco observes an empty list, it will remove the node from the cluster.

      Attachments

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

        Activity

          People

            artem Artem Stemkovski
            artem Artem Stemkovski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty