Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1543

ViewLocator should use NodeIdentifier instead of hostname

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.1
    • None
    • None
    • None
    • 1
    • SDK26

    Description

      The ViewLocator was using just a node's host to decide whether it can service view queries. This was potentially inaccurate, since multiple nodes can run on the same host.

      Apart from the inaccuracy, this strategy no longer works now that alternate addresses are resolved when the config is parsed – so now's the time to use a more robust strategy, and compare NodeIdentifiers instead of just hosts.

      Attachments

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

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty