[
https://issues.apache.org/jira/browse/GEODE-7713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018215#comment-17018215
]
ASF subversion and git services commented on GEODE-7713:
--------------------------------------------------------
Commit 3cdb345d3f8e3a84b2d3f25792636c49602b9a59 in geode's branch
refs/heads/develop from Eric Shu
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3cdb345 ]
GEODE-7713: Throw TransactionDataRebalancedException during get operation
(#4602)
* 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
> Fix For: 1.12.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)