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

makeDeadlineGuard does not seem to always return the supplied error code

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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

      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 Unassigned
            Reporter:
            annamaria.nestorov@mongodb.com Anna Maria Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: