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

Set request deadline based on maxtime ms in the network interface

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Networking
    • Fully Compatible
    • Service Arch 2019-07-15, Service Arch 2019-08-12

      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

            Assignee:
            shelley.jain@mongodb.com Shaileja Jain (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: