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

Consider loosening requirements for "hello" in enforceRequireAPIVersion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • ALL
    • Programmability 2025-01-20, Programmability 2025-02-03, Programmability 2025-02-17, Programmability 2025-03-03, Programmability 2025-03-17
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In require_api_version.js, it is possible for "hello" to fail due to the enforceAPIVersion check. During the test, if connections are closed (due to some transient error) after the "requireApiVersion" parameter is enabled, then "hello" fails and the new connection can never service commands. In the BF, this was common for "ReplNetwork" aka connections attempting to send replSetHeartbeats.

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None