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

Increase diagnosability of _applyOperationForTransaction()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-02-10, Repl 2020-02-24
    • 23

    Description

      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.

      Attachments

        Activity

          People

            jason.chan@mongodb.com Jason Chan
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: