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 2020/01/17 00:59:00 UTC

[jira] [Commented] (GEODE-7713) Transaction should throw TransactionDataRebalancedException during get operation if bucket moved to other member

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

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

Commit c938be920e2a8ff11b93970243276ba2676efcf1 in geode's branch refs/heads/feature/GEODE-7713 from Eric Shu
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c938be9 ]

GEODE-7713: Throw TransactionDataRebalancedException during get operation

  * Throw TransactionDataRebalancedException during get operation
    if bucket moved to other member.


> Transaction should throw TransactionDataRebalancedException during get operation if bucket moved to other member
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7713
>                 URL: https://issues.apache.org/jira/browse/GEODE-7713
>             Project: Geode
>          Issue Type: Bug
>          Components: transactions
>    Affects Versions: 1.1.0
>            Reporter: Eric Shu
>            Assignee: Eric Shu
>            Priority: Major
>              Labels: GeodeCommons
>
> Currently TransactionException is thrown, but TransactionDataRebalancedException is more appropriate in this case.
> org.apache.geode.cache.TransactionException: Failed to get key: Object_1312, caused by org.apache.geode.internal.cache.ForceReattemptException: bucket moved to other member during read op
>   at org.apache.geode.internal.cache.PartitionedRegion.getFromBucket(PartitionedRegion.java:4175)
>   at org.apache.geode.internal.cache.PartitionedRegion.findObjectInSystem(PartitionedRegion.java:3495)
>   at org.apache.geode.internal.cache.TXState.findObject(TXState.java:1758)
>   at org.apache.geode.internal.cache.TXStateProxyImpl.findObject(TXStateProxyImpl.java:577)
>   at org.apache.geode.internal.cache.PartitionedRegion.get(PartitionedRegion.java:3280)
>   at org.apache.geode.internal.cache.LocalRegion.get(LocalRegion.java:1306)
>   at org.apache.geode.internal.cache.AbstractRegion.get(AbstractRegion.java:436)
> Caused by: org.apache.geode.internal.cache.ForceReattemptException: bucket moved to other member during read op
>   at org.apache.geode.internal.cache.PartitionedRegionDataStore.checkIfBucketMoved(PartitionedRegionDataStore.java:1878)
>   at org.apache.geode.internal.cache.PartitionedRegionDataStore.getLocally(PartitionedRegionDataStore.java:1992)
>   at org.apache.geode.internal.cache.PartitionedRegion.getFromBucket(PartitionedRegion.java:4089)
>   ... 20 more



--
This message was sent by Atlassian Jira
(v8.3.4#803005)