Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5253

Spike: Feature Checks and ServerCapabilities

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Server Selection
    • Labels:
    • Not Needed

      To check if a server supports a specific feature, the driver has a ServerCapabilities object that exists on the Topology via the capabilities property. This should be refactored to exist on the Server object, not the Topology (due to clusters being able to have mixed server versions), and then update all driver checks for server features to use this.

       

      AC:

      • Determine all areas of the driver that check for server specific features that do not use ServerCapabilities
      • Determine acceptance criteria for a ticket to refactor the object to the Server class and then update the previous code paths to use the new location.

            Assignee:
            Unassigned Unassigned
            Reporter:
            durran.jordan@mongodb.com Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: