Eric Shu created GEODE-7713:
-------------------------------

             Summary: 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
            Reporter: Eric Shu


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)

Reply via email to