[jira] [Created] (IGNITE-793) DR: GridCache.entrySet does not return all entries.

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

[jira] [Created] (IGNITE-793) DR: GridCache.entrySet does not return all entries.

Anton Vinogradov (Jira)
Artem Shutak created IGNITE-793:
-----------------------------------

             Summary: DR: GridCache.entrySet does not return all entries.
                 Key: IGNITE-793
                 URL: https://issues.apache.org/jira/browse/IGNITE-793
             Project: Ignite
          Issue Type: Bug
            Reporter: Artem Shutak
            Assignee: Yakov Zhdanov
             Fix For: sprint-5


Hi Alexey,
Could you please take a look at the issue found in 7434-1 by DR tests. I created simple test reproducing issue: two nodes do put in PESSIMISTIC transaction using the same key for synchronization, but GridCache.entrySet() does not return entries created on remote node.
There are two tests for replicated and partitioned caches (GridCacheReplicatedEntrySetAbstractTest, GridCacheDhtEntrySetAbstractTest), in sp-19 test for replicated cache pass, for partitioned fails. In gg-7434-1 both tests fail.
junit.framework.AssertionFailedError:
Expected :1
Actual   :0
 <Click to see difference>
        at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEntrySetAbstractTest.putAndCheckEntrySet(GridCacheEntrySetAbstractTest.java:101)
        at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEntrySetAbstractTest.access$200(GridCacheEntrySetAbstractTest.java:29)
        at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEntrySetAbstractTest$1.call(GridCacheEntrySetAbstractTest.java:69)
        at org.gridgain.grid.GridTestThread.run(GridTestThread.java:81)

See GG-7626



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