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

Unexpected error during WAL compression java.io.EOFException: EOF at position [0] expected to read [29] bytes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.5
    • persistence

    Description

      In WAL segment compression fails with exception, FileCompressed will print errors in endless loop without any progress:

      2018-04-26 11:35:25.152 [ERROR][wal-file-compressor%DPL_GRID%DplGridNodeName][o.a.i.i.p.c.p.w.FileWriteAheadLogManager] Unexpected error during WAL compression
      java.io.EOFException: EOF at position [0] expected to read [29] bytes
        at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput.ensure(FileInput.java:126)
        at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.readSerializerVersionAndCompactedFlag(FileWriteAheadLogManager.java:2144)
         at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileCompressor.compressSegmentToFile(FileWriteAheadLogManager.java:1917)
        at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileCompressor.run(FileWriteAheadLogManager.java:1884)
      2018-04-26 11:35:25.391 [INFO ][node-stopper][o.a.i.i.m.d.GridDeploymentLocalStore] Removed undeployed class: GridDeployment [ts=1524730971870, depMode=SHARED, clsLdr=union-module-impl:com.sbt.core.envelope.container.loader.ImplClassLoader@7ee81f01, clsLdrId=7114b010361-b9172884-ab39-4b1c-94ed-6208828f27fe, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.GridCacheProcessor$RemovedItemsCleanupTask$1, pendingUndeploy=false, undeployed=true, usage=0]
      2018-04-26 11:35:25.400 [INFO ][node-stopper][o.a.i.i.IgniteKernal%DPL_GRID%DplGridNodeName]

      We should softly handle this situation: print message in log and continue the compression with next segment.
      We also should handle "skipped" segments and don't delete them in deleteObsoleteRawSegments().

      Attachments

        Issue Links

          Activity

            People

              ivan.glukos Ivan Rakov
              sfilatov@gridgain.com Sergey Filatov
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 10m
                  10m