gesterzhou commented on a change in pull request #5486: URL: https://github.com/apache/geode/pull/5486#discussion_r487486048
########## File path: geode-core/src/main/java/org/apache/geode/internal/cache/wan/AbstractGatewaySender.java ########## @@ -1118,6 +1115,24 @@ public void distribute(EnumListenerEvent operation, EntryEventImpl event, } } + private void dropEvent(EntryEventImpl event) { + final boolean isDebugEnabled = logger.isDebugEnabled(); + if (this.eventProcessor != null) { + this.eventProcessor.registerEventDroppedInPrimaryQueue(event); + } else { + // Add empty event so that in case the event stays for long in Review comment: yes, I think it's good. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org