ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-1451) IgfsClientCacheSelfTest.testCreateConsistencyMultithreaded fails from time to time.
Date Fri, 20 Nov 2015 12:42:10 GMT

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

Ivan Veselovsky edited comment on IGNITE-1451 at 11/20/15 12:41 PM:
--------------------------------------------------------------------

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


was (Author: iveselovskiy):
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)

Mime
View raw message