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

ASF GitHub Bot commented on IGNITE-6553:
----------------------------------------

GitHub user dspavlov opened a pull request:

    https://github.com/apache/ignite/pull/2797

    IGNITE-6553: Standalone WAL iterator fails to handle delete WAL data records

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-6553

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2797.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2797
    
----
commit 73d3aefabcfac2075dda23563437a1018b3444c6
Author: dpavlov <[email protected]>
Date:   2017-10-03T12:26:42Z

    IGNITE-6539: Human readable WAL parser fails if empty log files exists in 
directory

commit 98b2502e8a8d50aab4b1fc0031e30a279cd6c0cb
Author: dpavlov <[email protected]>
Date:   2017-10-03T16:30:44Z

    IGNITE-6553: Standalone WAL iterator fails to handle delete WAL data records

----


> Standalone WAL iterator fails to handle delete WAL data records
> ---------------------------------------------------------------
>
>                 Key: IGNITE-6553
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6553
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>    Affects Versions: 2.1
>            Reporter: Dmitriy Pavlov
>            Assignee: Dmitriy Pavlov
>            Priority: Critical
>             Fix For: 2.3
>
>
> This failure occurds during unwrapping value, and this make impossible to 
> unwrap value and handle any values
> {noformat}
> 2017-10-03 
> 19:21:29,629][ERROR][test-runner-#1%reader.IgniteWalReaderTest%][root] Unable 
> to convert value [null]
> java.lang.NullPointerException
>       at 
> org.apache.ignite.internal.pagemem.wal.record.UnwrapDataEntry.unwrappedValue(UnwrapDataEntry.java:110)
>       at 
> org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest.iterateAndCountDataRecord(IgniteWalReaderTest.java:970)
>       at 
> org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest.scanIterateAndCount(IgniteWalReaderTest.java:551)
>       at 
> org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest.testRemoveOperationPresentedForDataEntry(IgniteWalReaderTest.java:863)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at junit.framework.TestCase.runTest(TestCase.java:176)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2000)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
>       at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1915)
>       at java.lang.Thread.run(Thread.java:748)
> {noformat}
> WAL log content causes failure
> {noformat}
> {CREATE for 1, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {UPDATE for 2, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {CREATE for 3, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {UPDATE for 4, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {DELETE for 5, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {UPDATE for 6, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {CREATE for 7, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {UPDATE for 8, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {CREATE for 9, tx=GridCacheVersion [topVer=118527801, order=1507047798537, 
> nodeOrder=1], }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to