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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-1451:
---------------------------------------

             Summary: 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
            Priority: Critical
             Fix For: ignite-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)