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

maxTimeMS does not expire if used with the failCommand blockConnection option

    • Fully Compatible
    • ALL
    • Service arch 2020-11-30, Service arch 2020-12-14

      If failCommand is used to block an operation for 1 second and the operation is run with maxTimeMS=100, it succeeds rather than failing with a MaxTimeMSExpired error. Repro script attached

      blockconnection.js

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: