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

When create PR failed with DistributedSystemDisconnectedException, should use it as cause of PartitionedRegionException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.15.0
    • None

    Description

      When PR failed with register itself, it will throw DistributedSystemDisconnectedException in cleanupFailedInitialization(). LockServiceDestroyedException should be the cause of DistributedSystemDisconnectedException.

      Currently, we throw PartitionedRegionException directly using LockServiceDestroyedException, which is not expected.

      The fix is to throw PartitionedRegionException using DistributedSystemDisconnectedException (or any other RuntimeException) as cause, then set LockServiceDestroyedException as the cause of the cause.

      Attachments

        Issue Links

          Activity

            People

              zhouxj Xiaojian Zhou
              zhouxj Xiaojian Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: