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

Set request deadline based on maxtime ms in the network interface

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Networking
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Service Arch 2019-07-15, Service Arch 2019-08-12

      Description

      We sometimes have access to an opCtx when constructing a RemoteCommandRequest. That opCtx may in turn have a maxtimems deadline. By honoring that deadline (making the deadline the lesser of passed timeoutMillis and remaining time left on the opctx) we can convey important information to the connection pool and avoid returning connections to requesters that won't use them

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: