makeDeadlineGuard does not seem to always return the supplied error code

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL
    • SP Prioritized List
    • 0
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In _runWithDbMetadataLockDeadline,prior to resolving ticket SERVER-104292 fixing the BF-37452, we were relying on a DeadlineGuard to push an artificial deadline, i.e., dbMetadataLockMaxTimeMS, and return anĀ  ExceededTimeLimit error if the deadline was exceeded. However, in some test runs, we observed the guard return a MaxTimeMSExpired error instead of the requested ExceededTimeLimit error. We suspect the issue may have to do with the deadline not honouring the requested error code across RPCs. For what is worth, we only observed this failure sporadically on Windows machines.

              Assignee:
              Unassigned
              Reporter:
              Anna Maria Nestorov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: