Github user zhan849 commented on a diff in the pull request:
https://github.com/apache/helix/pull/156#discussion_r176498024
--- Diff:
helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java
---
@@ -121,6 +131,18 @@ public void process(ClusterEvent event) throws
Exception {
Message message = null;
+ if (shouldCleanUpPendingMessage(pendingMessage, currentState,
+ currentStateOutput.getEndTime(resourceName, partition,
instanceName))) {
+ logger.info(
+ "Adding pending message {} on instance {} to GC. Msg:
{}->{}, current state of resource {}:{} is {}",
--- End diff --
changed it to "cleanup"
---