Remove transaction validation wrappers isRetryableWriteCommand() and isTransactionCommand()

XMLWordPrintableJSON

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

      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
              Reporter:
              Ronald Steinke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: