geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-669) Add CacheObserver for ShutdownAll and also let WAN to return CancelException
Date Tue, 15 Dec 2015 19:24:46 GMT

    [ 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)

Mime
View raw message