[ https://issues.apache.org/jira/browse/GEODE-9705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426413#comment-17426413 ]
ASF subversion and git services commented on GEODE-9705: -------------------------------------------------------- Commit 821eae116d82454295b0ac6a92950aa1eaaa30d4 in geode's branch refs/heads/feature/GEODE-9705 from zhouxh [ https://gitbox.apache.org/repos/asf?p=geode.git;h=821eae1 ] GEODE-9705: When create PR failed with DistributedSystemDisconnectedException, should use it as cause of PartitionedRegionException > 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 > Priority: Major > Labels: needsTriage > > 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)