You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Veselovsky (JIRA)" <ji...@apache.org> on 2015/11/20 12:07:11 UTC

[jira] [Commented] (IGNITE-1451) IgfsClientCacheSelfTest.testCreateConsistencyMultithreaded fails from time to time.

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

Ivan Veselovsky commented on IGNITE-1451:
-----------------------------------------

Currently success rate of this test is 100%, looks like the problem is not reproducible any more.
Also local run of the test case 100 times did not reveal the failure.

> IgfsClientCacheSelfTest.testCreateConsistencyMultithreaded fails from time to time.
> -----------------------------------------------------------------------------------
>
>                 Key: IGNITE-1451
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1451
>             Project: Ignite
>          Issue Type: Bug
>          Components: hadoop
>    Affects Versions: 1.1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Ivan Veselovsky
>            Priority: Critical
>             Fix For: 1.5
>
>
> Fails pretty rare.
> {code}java.lang.AssertionError: null
>     at org.apache.ignite.internal.processors.igfs.IgfsImpl$15.call(IgfsImpl.java:1211)
>     at org.apache.ignite.internal.processors.igfs.IgfsImpl$15.call(IgfsImpl.java:1148)
>     at org.apache.ignite.internal.processors.igfs.IgfsImpl.safeOp(IgfsImpl.java:2162)
>     at org.apache.ignite.internal.processors.igfs.IgfsImpl.create0(IgfsImpl.java:1148)
>     at org.apache.ignite.internal.processors.igfs.IgfsImpl.create(IgfsImpl.java:1109)
>     at org.apache.ignite.internal.processors.igfs.IgfsAbstractSelfTest$8.run(IgfsAbstractSelfTest.java:1210)
>     at org.apache.ignite.testframework.GridTestUtils$7.call(GridTestUtils.java:949)
>     at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86){code}
> Assertion refers to the following scenario:
> {code}
> IgniteUuid oldId = meta.putIfAbsent(parentId, fileName, info);
> if (oldId == null)
>     break;
> if (!overwrite)
>     throw new IgfsPathAlreadyExistsException("Failed to create file (file already exists): " + path);
> IgfsFileInfo oldInfo = meta.info(oldId);
> assert oldInfo != null;
> {code}
> Old info is null for some reason. Need to investigate whether assertion is valid and who may remove it concurrently. 
> Can it be a cache consistency issue in client mode?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)