{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/12395","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12395/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12395/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12395/events","html_url":"https://github.com/elastic/elasticsearch/pull/12395","id":96539986,"number":12395,"title":"Cleanup TransportReplicationAction","user":{"login":"martijnvg","id":580421,"avatar_url":"https://avatars.githubusercontent.com/u/580421?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnvg","html_url":"https://github.com/martijnvg","followers_url":"https://api.github.com/users/martijnvg/followers","following_url":"https://api.github.com/users/martijnvg/following{/other_user}","gists_url":"https://api.github.com/users/martijnvg/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnvg/subscriptions","organizations_url":"https://api.github.com/users/martijnvg/orgs","repos_url":"https://api.github.com/users/martijnvg/repos","events_url":"https://api.github.com/users/martijnvg/events{/privacy}","received_events_url":"https://api.github.com/users/martijnvg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Internal","name":":Internal","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/blocker","name":"blocker","color":"e11d21"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-22T11:16:23Z","updated_at":"2015-08-25T12:06:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12395","html_url":"https://github.com/elastic/elasticsearch/pull/12395","diff_url":"https://github.com/elastic/elasticsearch/pull/12395.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/12395.patch"},"body":"* Split the actual primary operation from the primary phase into a dedicated AsyncPrimaryAction class (similar to AsyncReplicaAction)\r\n* Removed threaded_operation option from replication based transport actions.\r\n* Let the threading be handled by by the transport service and drop forking from new threads from the transport replication action."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/134565203","html_url":"https://github.com/elastic/elasticsearch/pull/12395#issuecomment-134565203","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12395","id":134565203,"user":{"login":"martijnvg","id":580421,"avatar_url":"https://avatars.githubusercontent.com/u/580421?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnvg","html_url":"https://github.com/martijnvg","followers_url":"https://api.github.com/users/martijnvg/followers","following_url":"https://api.github.com/users/martijnvg/following{/other_user}","gists_url":"https://api.github.com/users/martijnvg/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnvg/subscriptions","organizations_url":"https://api.github.com/users/martijnvg/orgs","repos_url":"https://api.github.com/users/martijnvg/repos","events_url":"https://api.github.com/users/martijnvg/events{/privacy}","received_events_url":"https://api.github.com/users/martijnvg/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T12:06:27Z","updated_at":"2015-08-25T12:06:27Z","body":"@bleskes I brought back the chasing of the primary shard to `PrimaryPhase` inner class and delegate to the primary action if the primary shard is local."}}