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

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

Commit 3683f708ae75445e6feb177d766e86c8c828c5ea in geode's branch 
refs/heads/feature/GEODE-8478 from Barry Oglesby
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3683f70 ]

GEODE-8478: Refactored logThresholdExceededAlerts and modified it to handle 
exceptions


> 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
>            Assignee: Barrett Oglesby
>            Priority: Major
>              Labels: pull-request-available
>
> 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)

Reply via email to