You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/05/31 21:45:12 UTC

[jira] [Commented] (GEODE-1400) An inflight transaction op could arrive later than a client failover operation and work on a TXState which has been removed from hostedTXStates map

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

ASF subversion and git services commented on GEODE-1400:
--------------------------------------------------------

Commit 384d379ae7040c8fe222afdeab96973f50157296 in incubator-geode's branch refs/heads/feature/GEODE-1400 from [~eshu]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=384d379 ]

GEODE-1400: An inflight transaction op could arrive later than a client failover operation

 * Handle inflight p2p transaction message received
   later than failover message.
 * Add unit tests.
 * Move hasTxAlreadyFinished method to TXManagerImpl.


> An inflight transaction op could arrive later than a client failover operation and work on a TXState which has been removed from hostedTXStates map
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-1400
>                 URL: https://issues.apache.org/jira/browse/GEODE-1400
>             Project: Geode
>          Issue Type: Bug
>          Components: transactions
>            Reporter: Eric Shu
>            Assignee: Eric Shu
>
> {noformat}
> A server connection thread could put a TXStateProxy into the hostedTXStates map, before the TxFailover op command removed it from the map. A race could occur there, when an inflight P2P tx msg is received to perform a tx operation gets the TXStateProxy to be removed. The operations done on this TXStateProxy could cause offheap memory leak.
> {noformat}



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