[ 
https://issues.apache.org/jira/browse/IGNITE-8393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454635#comment-16454635
 ] 

Alexey Goncharuk commented on IGNITE-8393:
------------------------------------------

[~ivan.glukos], in the test you are trying to start two checkpoints, however 
the second checkpoint will be skipped (or may be skipped) because there are no 
modified pages after the first checkpoint. Please double-check the behavior.

>  Unexpected error during WAL compression java.io.EOFException: EOF at 
> position [0] expected to read [29] bytes
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-8393
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8393
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Sergey Filatov
>            Assignee: Ivan Rakov
>            Priority: Critical
>              Labels: WAL
>             Fix For: 2.5
>
>
> 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().



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to