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

Awaitable isMaster returns an error on reconfigs that change the SplitHorizon

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: 4.3 Required
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2020-01-27, Repl 2020-02-10

      Consider the scenario:
      1. A client sends an isMaster request to the server over a specific horizon h.
      2. A reconfig happens, making horizon h no longer valid.
      3a. In the non-exhaust case, the next isMaster request will fail to find the host.
      3b. In the exhaust case, the connection will still be live because the connection is still open.

      We will respond with an error to all waiting isMasters for reconfigs that change the horizon. This terminates the exhaust stream, when exhaust is used.

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: