Barrett Oglesby created GEODE-8478:
--------------------------------------
Summary: Exceptions that occur while logging threshold exceeded
alerts cause the GatewaySender to shutdown
Key: GEODE-8478
URL: https://issues.apache.org/jira/browse/GEODE-8478
Project: Geode
Issue Type: Bug
Components: wan
Reporter: Barrett Oglesby
Exceptions that occur while logging threshold exceeded alerts cause the
GatewaySender to shutdown
If an exception occurs while logging threshold exceeded alerts, a fatal message
and warnings like these are logged:
{noformat}
[fatal 2020/07/27 05:23:05.911 EDT <AckReaderThread for : Event Processor for
GatewaySender_mySender_5> tid=0x17487] Stopping the processor because the
following exception occurred while processing a batch:
java.lang.IllegalArgumentException: The Object passed in should not be null.
...
at
org.apache.geode.internal.cache.wan.GatewaySenderEventImpl.getValueAsString(GatewaySenderEventImpl.java:615)
at
org.apache.geode.internal.cache.wan.AbstractGatewaySenderEventProcessor.handleSuccessBatchAck(AbstractGatewaySenderEventProcessor.java:1053)
at
org.apache.geode.internal.cache.wan.GatewaySenderEventRemoteDispatcher$AckReaderThread.run(GatewaySenderEventRemoteDispatcher.java:636)
[warn 2020/07/27 05:23:05.927 EDT <Event Processor for
GatewaySender_mySender_5> tid=0xdb] Pool unexpected Socket closed
connection=Pooled Connection to xxx:12028: Connection[DESTROYED]). Server
unreachable: could not connect after 1 attempts
[warn 2020/07/27 05:23:20.916 EDT <AckReaderThread for : Event Processor for
GatewaySender_mySender_5> tid=0x17487] AckReaderThread ignored cancellation
[warn 2020/07/27 05:23:20.921 EDT <AckReaderThread for : Event Processor for
GatewaySender_mySender_5> tid=0x17487] Destroying GatewayEventDispatcher with
actively queued data.
{noformat}
The catch block in {{GatewaySenderEventRemoteDispatcher$AckReaderThread.run}}
stops the processor.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)