maxTimeMS does not expire if used with the failCommand blockConnection option

XMLWordPrintableJSON

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

      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
            Reporter:
            Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: