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

Prepare and finish future never time out

    XMLWordPrintableJSON

Details

    • Important

    Description

      Even if transaction timeout is configured, transaction will not timeout if it's already in prepare state. It will be shown in log as pending transaction and can cause the whole cluster hang.

      We need to add a mechanism that will properly timeout prepare and (if possible) finish futures.

      Also we can create an event that will be fired if there is a transaction pending for a long time, showing which nodes we are waiting responses from. This will allow user to recover by stopping only these nodes instead of restarting the whole cluster.

      Attachments

        1. TxTest2.java
          2 kB
          Valentin Kulichenko

        Issue Links

          Activity

            People

              agura Andrey N. Gura
              vkulichenko Valentin Kulichenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: