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

isMaster flag to initiate long-polling

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Needs Merge
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3 Required
    • Component/s: Networking
    • Labels:
      None

      Description

      Add a flag, perhaps "maxTimeMS", to the isMaster command that initiates long-polling. The server will not respond until maxTimeMS expires or there is a server state change that might interest the client, such as a replica set member role change or a replica set config change.

      Also add a field, perhaps "awaitedTimeMillis", to the reply, which is approximately the time the server waited between receiving the requested and assembling the reply. The client can subtract awaitedTimeMillis from the client's round trip latency measurement to estimate the network latency.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: