Eric Shu created GEODE-7706: ------------------------------- Summary: TransactionDataRebalancedException should be thrown if RegionDestroyedException is thrown trying to get data region for write Key: GEODE-7706 URL: https://issues.apache.org/jira/browse/GEODE-7706 Project: Geode Issue Type: Bug Components: transactions Reporter: Eric Shu
Currently TransactionDataNotColocatedException is thrown, instead, TransactionDataRebalancedException should be thrown. org.apache.geode.cache.TransactionDataNotColocatedException: Key Object_3653 is not colocated with transaction at org.apache.geode.internal.cache.PartitionedRegion.getDataRegionForWrite(PartitionedRegion.java:9533) at org.apache.geode.internal.cache.PartitionedRegion.getDataRegionForWrite(PartitionedRegion.java:260) at org.apache.geode.internal.cache.TXState.txReadEntry(TXState.java:1536) at org.apache.geode.internal.cache.TXState.txReadEntry(TXState.java:1525) at org.apache.geode.internal.cache.TXState.getSerializedValue(TXState.java:1628) at org.apache.geode.internal.cache.TXStateProxyImpl.getSerializedValue(TXStateProxyImpl.java:704) at org.apache.geode.internal.cache.partitioned.GetMessage.operateOnPartitionedRegion(GetMessage.java:180) at org.apache.geode.internal.cache.partitioned.PartitionMessage.process(PartitionMessage.java:340) at org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:372) at org.apache.geode.distributed.internal.DistributionMessage.schedule(DistributionMessage.java:427) at org.apache.geode.distributed.internal.ClusterDistributionManager.scheduleIncomingMessage(ClusterDistributionManager.java:2071) at org.apache.geode.distributed.internal.ClusterDistributionManager.handleIncomingDMsg(ClusterDistributionManager.java:1845) at org.apache.geode.distributed.internal.membership.adapter.GMSMembershipManager.dispatchMessage(GMSMembershipManager.java:1064) at org.apache.geode.distributed.internal.membership.adapter.GMSMembershipManager.handleOrDeferMessage(GMSMembershipManager.java:994) at org.apache.geode.distributed.internal.membership.adapter.GMSMembershipManager$MyDCReceiver.messageReceived(GMSMembershipManager.java:422) at org.apache.geode.distributed.internal.direct.DirectChannel.receive(DirectChannel.java:706) at org.apache.geode.internal.tcp.TCPConduit.messageReceived(TCPConduit.java:703) at org.apache.geode.internal.tcp.Connection.dispatchMessage(Connection.java:3393) at org.apache.geode.internal.tcp.Connection.readMessage(Connection.java:3132) at org.apache.geode.internal.tcp.Connection.processInputBuffer(Connection.java:2927) at org.apache.geode.internal.tcp.Connection.readMessages(Connection.java:1752) at org.apache.geode.internal.tcp.Connection.run(Connection.java:1584) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) -- This message was sent by Atlassian Jira (v8.3.4#803005)