You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:05 UTC

[jira] [Closed] (GEODE-9705) When create PR failed with DistributedSystemDisconnectedException, should use it as cause of PartitionedRegionException

     [ https://issues.apache.org/jira/browse/GEODE-9705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen Nichols closed GEODE-9705.
-------------------------------

> 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
>            Assignee: Xiaojian Zhou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> 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.20.7#820007)