You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/15 20:24:46 UTC

[jira] [Commented] (GEODE-669) Add CacheObserver for ShutdownAll and also let WAN to return CancelException

    [ https://issues.apache.org/jira/browse/GEODE-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15058607#comment-15058607 ] 

ASF subversion and git services commented on GEODE-669:
-------------------------------------------------------

Commit ae2d529405f28caa0ab9fc1a3d309ebddbda4920 in incubator-geode's branch refs/heads/develop from zhouxh
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=ae2d529 ]

GEODE-669
Add CacheObserver for ShutdownAll

Let GatewayReceiverCommand to throw CacheClosedException instead of
RegionDestroyedException when ShutdownAll happened.


> Add CacheObserver for ShutdownAll and also let WAN to return CancelException
> ----------------------------------------------------------------------------
>
>                 Key: GEODE-669
>                 URL: https://issues.apache.org/jira/browse/GEODE-669
>             Project: Geode
>          Issue Type: Bug
>          Components: core
>            Reporter: xiaojian zhou
>            Assignee: xiaojian zhou
>
> We need a CacheObserver for ShutdownAll. 
> There's chance that getRegion() returns null due to shutdownall. With that CacheObserver, it'll help the unit test. 
> An example is: GatewayReceiverCommand will find the region of events will be null when shutdownall is on-going. In this case, it will throw CacheDestroyedException (i.e. subclass of CancelException) instead of RegionDestroyedException.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)