{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/15117","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15117/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15117/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15117/events","html_url":"https://github.com/elastic/elasticsearch/issues/15117","id":119514773,"node_id":"MDU6SXNzdWUxMTk1MTQ3NzM=","number":15117,"title":"Task Management","user":{"login":"imotov","id":655851,"node_id":"MDQ6VXNlcjY1NTg1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/655851?v=4","gravatar_id":"","url":"https://api.github.com/users/imotov","html_url":"https://github.com/imotov","followers_url":"https://api.github.com/users/imotov/followers","following_url":"https://api.github.com/users/imotov/following{/other_user}","gists_url":"https://api.github.com/users/imotov/gists{/gist_id}","starred_url":"https://api.github.com/users/imotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imotov/subscriptions","organizations_url":"https://api.github.com/users/imotov/orgs","repos_url":"https://api.github.com/users/imotov/repos","events_url":"https://api.github.com/users/imotov/events{/privacy}","received_events_url":"https://api.github.com/users/imotov/received_events","type":"User","site_admin":false},"labels":[{"id":289830280,"node_id":"MDU6TGFiZWwyODk4MzAyODA=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Distributed/Task%20Management","name":":Distributed/Task Management","color":"0e8a16","default":false},{"id":23172,"node_id":"MDU6TGFiZWwyMzE3Mg==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Efeature","name":">feature","color":"006b75","default":false},{"id":158399402,"node_id":"MDU6TGFiZWwxNTgzOTk0MDI=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/Meta","name":"Meta","color":"e11d21","default":false},{"id":654498781,"node_id":"MDU6TGFiZWw2NTQ0OTg3ODE=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v6.0.0-beta1","name":"v6.0.0-beta1","color":"dddddd","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2015-11-30T15:28:45Z","updated_at":"2018-06-14T15:24:06Z","closed_at":"2017-07-19T12:50:00Z","author_association":"MEMBER","body":"We have identified several potential features of elasticsearch that can spawn long running tasks and therefore require a common management mechanism for this tasks. This issue will introduce task management API that will provide a mechanism for communicating with and controlling currently running tasks. The task management API will be based on the top of existing TransportAction framework, which will allow any transport action to become a task. \r\n\r\nThe tasks will maintain parent/child relationship between tasks running on the coordinating nodes and subtasks that are spawn by the coordinating node on other nodes.\r\n\r\nThe task management will be introduced in several iterations. The first phase will be back-ported to 2.x and the second phase will be only available in 5.0.\r\nPhase I\r\n- [X] #15347 Create framework for registering and communicating with tasks. \r\n- [X] #16033 Make the Task object available to the action caller\r\n- [X] #15931 Establish parent/child relationship for master node, replication and broadcast actions\r\n- [X] #16320 Add support for task cancellation\r\n- [X] #16356 Add a task status field to the task info object\r\n- [X] #16586 Add wait for task registration to testCanFetchIndexStatus\r\n- [X] #16744 Combine node name and task id into single string task id\r\n- [X] #16829 Store and report task start time and duration\r\n\r\nPhase II\r\n- [X] #17383 Add Task Management API Documentation\r\n- [X] #17551 Add cat API version of task management APIs\r\n- [X] #17928 Provide a generic mechanism for storing results of long running tasks\r\n- [x] Add ability for a task to survive restart of coordinating node\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/397335335","html_url":"https://github.com/elastic/elasticsearch/issues/15117#issuecomment-397335335","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15117","id":397335335,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzMzNTMzNQ==","user":{"login":"oleg-andreyev","id":1244112,"node_id":"MDQ6VXNlcjEyNDQxMTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1244112?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-andreyev","html_url":"https://github.com/oleg-andreyev","followers_url":"https://api.github.com/users/oleg-andreyev/followers","following_url":"https://api.github.com/users/oleg-andreyev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-andreyev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-andreyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-andreyev/subscriptions","organizations_url":"https://api.github.com/users/oleg-andreyev/orgs","repos_url":"https://api.github.com/users/oleg-andreyev/repos","events_url":"https://api.github.com/users/oleg-andreyev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-andreyev/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T15:24:06Z","updated_at":"2018-06-14T15:24:06Z","author_association":"NONE","body":"About #15975, it was closed in favor of this ticket, so can we retrieve information about _forcemerge?"}}
{"actor":{"display_login":"oleg-andreyev"}}