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

NodeInfo returned by DefaultCouchbaseBucketConfig.nodeAtIndex() is missing SSL services

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.5.5
    • None
    • None
    • None
    • 1

    Description

      DefaultCouchbaseBucketConfig constructor is using the List<NodeInfo> directly from the JSON to build the list of partition hosts. The JSON does not contain SSL service info, so any code that calls DefaultCouchbaseBucketConfig.nodeAtIndex gets a NodeInfo with missing SSL service info.

      The superclass constructor calls AbstractBucketConfig.nodeInfoFromExtended() to create a new List<NodeInfo> augmented with SSL service info. It stores this new list in its nodeInfo field which is exposed via the nodes() method.

      A possible fix would be for the DefaultCouchbaseBucketConfig constructor to use the node info from the superclass (which has been augmented with SSL services) when building the partition hosts.

      Attachments

        Issue Links

          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