Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-273

cursor maxAwaitTimeMS

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.4.0
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • Labels:
      None
    • 1
    • Needed
    • Iteration Lime

      In keeping with the shell's commitment to implementing the driver CRUD API (SERVER-17953), the shell needs a maxAwaitTimeMS helper.

      This is distinct from maxTimeMS (which doesn't have "Await" in it). maxAwaitTimeMS is a client-side option on tailable cursors with awaitData configured. maxAwaitTimeMS is the value the client passes to the server with the new "getMore" command for awaitData cursors.

      Spec here:

      https://github.com/mongodb/specifications/blob/master/source/find_getmore_killcursors_commands.rst#semantics-of-maxtimems-for-a-driver

            Assignee:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: