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

Transaction should throw TransactionDataRebalancedException during get operation if bucket moved to other member

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.12.0
    • transactions

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              echobravo Ernest Burghardt
              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 - 20m
                  20m