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

Node can crash with ClosedChannelException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.11.1
    • 2.13
    • None
    • Fixed node crashes with ClosedChannelException
    • Release Notes Required

    Description

      2021-12-02 15:32:24.854 [wal-write-worker%null-#197] ERROR ROOT - Critical system error detected. Will be handled accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], failureCtx=FailureContext [type=CRITICAL_ERROR, err=class o.a.i.i.processors.cache.persistence.StorageException: Failed to write buffer.]]
      org.apache.ignite.internal.processors.cache.persistence.StorageException: Failed to write buffer.
      	at org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.FileHandleManagerImpl$WALWriter.writeBuffer(FileHandleManagerImpl.java:581)
      	at org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.FileHandleManagerImpl$WALWriter.body(FileHandleManagerImpl.java:388)
      	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: java.nio.channels.ClosedChannelException: null
      	at java.base/sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:150)
      	at java.base/sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:325)
      	at org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO.position(RandomAccessFileIO.java:82)
      	at org.apache.ignite.internal.processors.cache.persistence.file.FileIODecorator.position(FileIODecorator.java:55)
      	at org.apache.ignite.internal.processors.cache.persistence.file.AbstractFileIO.writeFully(AbstractFileIO.java:109)
      	at org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.FileHandleManagerImpl$WALWriter.writeBuffer(FileHandleManagerImpl.java:572)
      	... 3 common frames omitted 

      Attachments

        Issue Links

          Activity

            People

              sdanilov Semyon Danilov
              sdanilov Semyon Danilov
              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 - 20m
                  20m