Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13296

.NET: TransactionImpl finalizer can crash the process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10, 2.9.1
    • platforms

    Description

      ~TransactionImpl potentially throws an exception (e.g. when grid is stopped), causing the entire process to abort.
      GetLocalActiveTransactions is especially problematic - the method is informational, yet will result in all the returned transactions to be finalized later.

      • Finalizers should not throw exceptions
      • Stopped grid is a valid use case
      • GetLocalActiveTransactions should be fixed to return "read-only" transactions that won't be finalized

      Review all filalizers and make sure they are safe.

      Attachments

        Issue Links

          Activity

            People

              gurustron Sergey Stronchinskiy
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m