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

Update error code in the stepdown hook.

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.1
    • Component/s: Testing Infrastructure
    • Labels:
    • Server Tooling & Methods
    • ALL
    • 22

      The error code for exceeding timeouts was determined to be ambiguous and was changed in SERVER-35031. We should update places that expect these errors in resmoke to handle the new error code. Right now the only place is in the stepdown hook.

      Note that there has been no change in pymongo throughout this process; it doesn't know about the new error code for ExceededTimeLimit and treats it as a generic OperationFailure. So the error handling code in stepdown.py should be changed to handle OperationFailure as well.

      We should also check that the code for the OperationFailure is indeed for ExceededTimeLimit(262) and still bubble up other errors.

      Affects master and 4.0 branches for now, but based on comments in SERVER-35031, it will be backported to earlier branches later.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: