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

Interrupting task can cause node fail with PersistenceStorageIOException.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.7
    • Component/s: persistence
    • Labels:
      None

      Description

      Interrupting task with simple cache operations (i.e. get, put) can cause PersistenceStorageIOException. Main cause of this failure is lack of proper handling InterruptedException in FilePageStore.init() etc. This cause a throw of ClosedByInterruptException by FileChannel.write() and so on.

      PersistenceStorageIOException is a critical failure and typically makes a node to stop. As a workaround, I would suggest to enable AsyncFileIO by default until the fix was available.

      A reproducer is attached.

        Attachments

        1. GridFailNodesOnCanceledTaskTest.java
          7 kB
          Ivan Daschinskiy

          Activity

            People

            • Assignee:
              alex_pl Aleksey Plekhanov
              Reporter:
              ivandasch Ivan Daschinskiy
            • Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 20m
                20m