Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48925

Exclude servers with unknown server description in StreamableRSM's getMinWireVersion and getMaxWireVersion

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • ALL
    • 16

      The minWireVersion of an RSM is computed as the min of the minWireVersion of all servers in the replica set. Similarly, the maxWireVersion of an RSM is the the max of the maxWireVersion of all servers in the replica set. By default, a server with unknown server description is given minWireVersion and maxWireVersion of 0. In a StreamableRSM, a server is assigned unknown server description when the RSM has just been initiated and whenever there is failed isMaster response. So such servers should be excluded from the minWireVersion and maxWireVersion computation, just like what the ScanningRSM does. 

       

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: