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

Remove transaction validation wrappers isRetryableWriteCommand() and isTransactionCommand()

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability

      Both of these wrappers just call findCommand(), throw an exception if the command isn't found (with a weird exception for _shardsvrCreateCollection on mongos), and call a member function. Given the limited number of callers (one and two, respectively), this seems like logic we should move into the calling functions.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ronald.steinke@mongodb.com Ronald Steinke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: