junkaixue commented on code in PR #2958:
URL: https://github.com/apache/helix/pull/2958#discussion_r1833156941


##########
helix-core/src/main/java/org/apache/helix/task/WorkflowDispatcher.java:
##########
@@ -525,6 +525,8 @@ private void cleanupWorkflow(String workflow) {
         // clean all the contexts even if Configs and IdealStates are exists. 
Then all the workflows
         // and jobs will rescheduled again.
         removeContexts(workflow, jobs, _clusterDataCache.getTaskDataCache());
+        // Request for full-data refresh to re-fetch workflow resource configs.
+        _clusterDataCache.requireFullRefresh();

Review Comment:
   I dont think this is a sustainable fix. Full refresh is very expansive. We 
should fix as we need.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to