geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2021) Goede transaction failed to throw TransactionDataNotColocatedException when a get operation gets on a non colocated key.
Date Fri, 21 Oct 2016 18:59:58 GMT

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

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

Commit 56917a26a8916b83f0cec6e85285b5040ff66ee6 in incubator-geode's branch refs/heads/develop
from [~eshu]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=56917a2 ]

GEODE-2021: Non colocated gets in a transaction should get TransactionDataNotColocatedException

Throw TransactionDataNotColocatedException when get locally failed with BucketNotFoundException
Added a dunit test with two transactions with gets that will use TXStateStub or TXState based
on data location.


> Goede transaction failed to throw TransactionDataNotColocatedException when a get operation
gets on a non colocated key.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-2021
>                 URL: https://issues.apache.org/jira/browse/GEODE-2021
>             Project: Geode
>          Issue Type: Bug
>          Components: transactions
>            Reporter: Eric Shu
>            Assignee: Eric Shu
>
> If a transaction first get operation touches a remote node entry, a TXStateStub is created
on the remote node. The subsequent get on another remote node will correctly cause the transaction
to fail with TransactionDataNotColocatedException.
> However, if a transaction first get is touches a key on a local node, a TXState is created
to track the transaction. Currently a subsequent get on non colocated data does not cause
the transaction to fail with TransactionDataNotColocatedException.



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

Mime
View raw message