From 6122890f6e4f841d4e50b8045a38ec4a131019a8 Mon Sep 17 00:00:00 2001 From: yanyanhu Date: Tue, 6 Jan 2015 04:01:10 -0500 Subject: [PATCH] Add a work item about action progress control. --- TODO | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 10b602284..1c2bcb9c2 100644 --- a/TODO +++ b/TODO @@ -18,7 +18,10 @@ ENGINE e.g. run_action, wait, stop, notify; - dispatcher using db.api to get action and use scheduler to dispatch run and control action; - - use event to control action progress + - use event to control action progress: wrap action_proc into ActionRunner + and using start/step to support event wait. + - action(ClusterAction, NodeAction, etc.) itself has to handle its own + progress control(e.g. implement as generator and support canceling) - complete parser logic, construct profile/policy objects there? DRIVER