Include "internalClient" field in ReplicaSetMonitor isMaster requests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc2, 4.7.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Service arch 2020-04-20, Service arch 2020-05-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The optional "internalClient" field in the isMaster request determines whether the internal or external client's minWireVersion and maxWireVersion are appended to the response. The StreamableReplicaSetMontior (and ScanningReplicaSetMonitor) currently sends isMaster requests without the optional "internalClient" field. This leads to incorrect minWireVersion and maxWireVersion in ServerDescription and TopologyDescription::checkWireCompatibilityVersions as the minWireVersion for external client is always 0.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: