Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2787

Remove isMaster from failCommands associated with load-balancer spec tests

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: Load Balancer
    • Labels:
      None
    • Needed

      Summary

      Remove isMaster from the load balancer tests since drivers should never use it there per handshake specifications

      If a server API version is requested or loadBalanced: True, drivers MUST use the hello command for the initial handshake and use the OP_MSG protocol.

      What is the problem or use case, what are we trying to achieve?

      Motivation

      Who is the affected end user?

      Who are the stakeholders?

      How does this affect the end user?

      Are they blocked? Are they annoyed? Are they confused?

      How likely is it that this problem or use case will occur?

      Main path? Edge case?

      If the problem does occur, what are the consequences and how severe are they?

      Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?

      Is this issue urgent?

      Does this ticket have a required timeline? What is it?

      Is this ticket required by a downstream team?

      Needed by e.g. Atlas, Shell, Compass?

      Is this ticket only for tests?

      This is just test improvements.

      Acceptance Criteria

      Investigate the following uses of fail commands in spec tests, and remove isMaster from load-balanced cases:

      Mixes-topology cases:

      load-balanced topology:

            Assignee:
            Unassigned Unassigned
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: