mivanac commented on a change in pull request #7323:
URL: https://github.com/apache/geode/pull/7323#discussion_r839958162
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java
##########
@@ -2187,6 +2187,13 @@ boolean doClose(String reason, Throwable
systemFailureCause, boolean keepAlive,
return false;
}
+ for (GatewaySender sender : allGatewaySenders) {
+ try {
+ sender.prepareForStop();
+ } catch (Exception ignore) {
+ }
Review comment:
This is put here, because after cache close is started, message can not
be sent, due to CacheClosedException.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]