You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Xiaojian Zhou (Jira)" <ji...@apache.org> on 2021/10/08 23:25:00 UTC
[jira] [Created] (GEODE-9705) When create PR failed with
DistributedSystemDisconnectedException, should use it as cause of
PartitionedRegionException
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)