You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (JIRA)" <ji...@apache.org> on 2015/10/01 16:00:43 UTC
[jira] [Updated] (IGNITE-592) [Test] Null can be erroneously passed
to filter in optimistic transaction
[ https://issues.apache.org/jira/browse/IGNITE-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton Vinogradov updated IGNITE-592:
------------------------------------
Labels: Muted_test (was: failedtest)
> [Test] Null can be erroneously passed to filter in optimistic transaction
> -------------------------------------------------------------------------
>
> Key: IGNITE-592
> URL: https://issues.apache.org/jira/browse/IGNITE-592
> Project: Ignite
> Issue Type: Bug
> Reporter: Artem Shutak
> Labels: Muted_test
>
> For optimsitic transaction filter is applied in GridCacheTxLocalAdapter.enlistWrite, and there are two issues:
> - when put is started from backup node we pass to filter detached entry without value, so that GridCacheEntry.peek returns null even if we have value locally
> - when offheap is enabled then entry is unswapped before it is passed to filter, but there is a race so that another thread can swap it again before filter is applied (GridCacheOffHeapMultiThreadedUpdateSelfTest.testPutWithFilterTx)
> see GG-8118
> Next test(s) should be unmuted on TC: GridCacheOffHeapMultiThreadedUpdateSelfTest # testPutTxOptimistic and testPutxIfAbsentTxOptimistic
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)