Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-5636

ServiceDiscoveryMechanism can return incorrect Partition

    Details

    • Type: Bug
    • Status: Dev backlog
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0, 5.5.0, 4.0.0
    • Fix Version/s: None
    • Component/s: proxy
    • Labels:

      Description

      The javadoc of ServiceDiscoveryMechanism#getPartitions(baseDns) mentions that the Partition returned would only contains servers supporting all the provided baseDns.

      Problem is that current service discovery implementations (static and replication) are actually considering this list of Dn as an any list instead of an allOf: if a server supports at least one of the provided Dn it'll be added to the partition.

      As a result, incoming requests would be balanced among servers with different base DNs.

      While at it, it might be worth considering other criteria for server inclusion/exclusion:

      • supported capabilities such as controls/extensions
      • access controls and proxy related users/groups
      • SSL configuration
      • LDAP schema
      • backend types and indexing.

      (see: https://stash.forgerock.org/projects/OPENDJ/repos/opendj/pull-requests/850/overview?commentId=150110)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ylecaillez Yannick Lecaillez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: