Increase diagnosability of _applyOperationForTransaction()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-02-10, Repl 2020-02-24
    • 23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should make it so that _applyOperationForTransaction() will return a bad status so that we will actually hit the fassert in the next line.

      What could happen is that an exception is thrown and then hit the invariant of the destructor of MongoDOperationContextSessionWithoutRefresh. This makes diagnosing BFs hard if we were to fail in this area of the code.

            Assignee:
            Jason Chan
            Reporter:
            Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: