Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7706

TransactionDataRebalancedException should be thrown if RegionDestroyedException is thrown trying to get data region for write

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: transactions
    • Labels:

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                echobravo Ernest Burghardt
                Reporter:
                eshu Eric Shu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m