Xiaojian Zhou created GEODE-9705:
------------------------------------

             Summary: When create PR failed with 
DistributedSystemDisconnectedException, should use it as cause of 
PartitionedRegionException
                 Key: GEODE-9705
                 URL: https://issues.apache.org/jira/browse/GEODE-9705
             Project: Geode
          Issue Type: Bug
            Reporter: Xiaojian Zhou


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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to