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

Query clustering can't determine self in single node environment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 4.0.0, 4.1.0, 4.5.0, 4.6.0, 5.0.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      In a cluster with a single node named 127.0.0.1 the clustering code cannot determine its own node name, which means that things like the /admin/config or cluster monitoring don't work.

      This is because
      1) ns_server returns the hostname as blank if the host is named 127.0.0.1 and there is no other node in the cluster, and
      2) the couchbase implementation of n1ql clustering arbitrarily assigns "127.0.0.1" as the node name if hostname is blank, and
      3) the clustering code ignores localhost for the purpose of clustering

      Attachments

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

        Activity

          People

            marco.greco Marco Greco (Inactive)
            marco.greco Marco Greco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty