ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Shutak (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-592) [Test] Null can be erroneously passed to filter in optimistic transaction
Date Wed, 25 Mar 2015 17:50:54 GMT
Artem Shutak created IGNITE-592:
-----------------------------------

             Summary: [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
            Assignee: Yakov Zhdanov
             Fix For: sprint-3


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



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

Mime
View raw message