{"action":"created","issue":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/1401","labels_url":"https://api.github.com/repos/gearpump/gearpump/issues/1401/labels{/name}","comments_url":"https://api.github.com/repos/gearpump/gearpump/issues/1401/comments","events_url":"https://api.github.com/repos/gearpump/gearpump/issues/1401/events","html_url":"https://github.com/gearpump/gearpump/issues/1401","id":105523002,"number":1401,"title":"Executor for dead processor is still alive?","user":{"login":"stanleyxu2005","id":5162687,"avatar_url":"https://avatars.githubusercontent.com/u/5162687?v=3","gravatar_id":"","url":"https://api.github.com/users/stanleyxu2005","html_url":"https://github.com/stanleyxu2005","followers_url":"https://api.github.com/users/stanleyxu2005/followers","following_url":"https://api.github.com/users/stanleyxu2005/following{/other_user}","gists_url":"https://api.github.com/users/stanleyxu2005/gists{/gist_id}","starred_url":"https://api.github.com/users/stanleyxu2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanleyxu2005/subscriptions","organizations_url":"https://api.github.com/users/stanleyxu2005/orgs","repos_url":"https://api.github.com/users/stanleyxu2005/repos","events_url":"https://api.github.com/users/stanleyxu2005/events{/privacy}","received_events_url":"https://api.github.com/users/stanleyxu2005/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gearpump/gearpump/labels/core","name":"core","color":"207de5"},{"url":"https://api.github.com/repos/gearpump/gearpump/labels/dashboard","name":"dashboard","color":"207de5"},{"url":"https://api.github.com/repos/gearpump/gearpump/labels/feature","name":"feature","color":"0052cc"},{"url":"https://api.github.com/repos/gearpump/gearpump/labels/P2","name":"P2","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-09T05:36:34Z","updated_at":"2015-09-11T07:11:17Z","closed_at":null,"body":"While troubleshooting #1399, we found the the application (also in worker section) will return all executors, including those work for dead processors. Actually, dead processor stops processing any new messages, but the process is still alive. \r\n\r\nIt needs to be distinguish the following things in the dashboard:\r\n1. The processor page is still accessible by typing url? (considering yes, and provide links in a new history page)\r\n2. The impacted executors should still appear in executor list table (in application overview)? (considering no. The backend should consider how to define the status of such an executor. Currently it is still `running`.)\r\n3. The executors should still appear in worker page? (considering yes but with a grey indicator color. Currently the worker does have executor status information.)\r\n"},"comment":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/comments/139469746","html_url":"https://github.com/gearpump/gearpump/issues/1401#issuecomment-139469746","issue_url":"https://api.github.com/repos/gearpump/gearpump/issues/1401","id":139469746,"user":{"login":"clockfly","id":2595532,"avatar_url":"https://avatars.githubusercontent.com/u/2595532?v=3","gravatar_id":"","url":"https://api.github.com/users/clockfly","html_url":"https://github.com/clockfly","followers_url":"https://api.github.com/users/clockfly/followers","following_url":"https://api.github.com/users/clockfly/following{/other_user}","gists_url":"https://api.github.com/users/clockfly/gists{/gist_id}","starred_url":"https://api.github.com/users/clockfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clockfly/subscriptions","organizations_url":"https://api.github.com/users/clockfly/orgs","repos_url":"https://api.github.com/users/clockfly/repos","events_url":"https://api.github.com/users/clockfly/events{/privacy}","received_events_url":"https://api.github.com/users/clockfly/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T07:11:17Z","updated_at":"2015-09-11T07:11:17Z","body":"@stanleyxu2005 \r\n\r\nThis is related with dynamic-dag. \r\n1. Sometimes user still want to query the in-memory state of processor that has been repalced. That is why we don't shutdown it down.\r\n2. another reason is that it is tricky to handle the recovery when we want to recover to state of old DAG(before dag replacement)\r\n\r\nMaybe We can make that configurable(whether to shut down old dag processor that has been replaced)."}}