{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/26062","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/26062/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/26062/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/26062/events","html_url":"https://github.com/elastic/kibana/pull/26062","id":383359703,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyODQ0MzMy","number":26062,"title":"[migrations] Throw error if reindex task fails","user":{"login":"tylersmalley","id":40265,"node_id":"MDQ6VXNlcjQwMjY1","avatar_url":"https://avatars2.githubusercontent.com/u/40265?v=4","gravatar_id":"","url":"https://api.github.com/users/tylersmalley","html_url":"https://github.com/tylersmalley","followers_url":"https://api.github.com/users/tylersmalley/followers","following_url":"https://api.github.com/users/tylersmalley/following{/other_user}","gists_url":"https://api.github.com/users/tylersmalley/gists{/gist_id}","starred_url":"https://api.github.com/users/tylersmalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylersmalley/subscriptions","organizations_url":"https://api.github.com/users/tylersmalley/orgs","repos_url":"https://api.github.com/users/tylersmalley/repos","events_url":"https://api.github.com/users/tylersmalley/events{/privacy}","received_events_url":"https://api.github.com/users/tylersmalley/received_events","type":"User","site_admin":false},"labels":[{"id":470241342,"node_id":"MDU6TGFiZWw0NzAyNDEzNDI=","url":"https://api.github.com/repos/elastic/kibana/labels/:Operations","name":":Operations","color":"fef2c0","default":false},{"id":135307740,"node_id":"MDU6TGFiZWwxMzUzMDc3NDA=","url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"0052cc","default":false},{"id":1129035211,"node_id":"MDU6TGFiZWwxMTI5MDM1MjEx","url":"https://api.github.com/repos/elastic/kibana/labels/v6.5.2","name":"v6.5.2","color":"ffffff","default":false},{"id":1062169267,"node_id":"MDU6TGFiZWwxMDYyMTY5MjY3","url":"https://api.github.com/repos/elastic/kibana/labels/v6.6.0","name":"v6.6.0","color":"ffffff","default":false},{"id":654061976,"node_id":"MDU6TGFiZWw2NTQwNjE5NzY=","url":"https://api.github.com/repos/elastic/kibana/labels/v7.0.0","name":"v7.0.0","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":{"login":"jbudz","id":3143860,"node_id":"MDQ6VXNlcjMxNDM4NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/3143860?v=4","gravatar_id":"","url":"https://api.github.com/users/jbudz","html_url":"https://github.com/jbudz","followers_url":"https://api.github.com/users/jbudz/followers","following_url":"https://api.github.com/users/jbudz/following{/other_user}","gists_url":"https://api.github.com/users/jbudz/gists{/gist_id}","starred_url":"https://api.github.com/users/jbudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbudz/subscriptions","organizations_url":"https://api.github.com/users/jbudz/orgs","repos_url":"https://api.github.com/users/jbudz/repos","events_url":"https://api.github.com/users/jbudz/events{/privacy}","received_events_url":"https://api.github.com/users/jbudz/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbudz","id":3143860,"node_id":"MDQ6VXNlcjMxNDM4NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/3143860?v=4","gravatar_id":"","url":"https://api.github.com/users/jbudz","html_url":"https://github.com/jbudz","followers_url":"https://api.github.com/users/jbudz/followers","following_url":"https://api.github.com/users/jbudz/following{/other_user}","gists_url":"https://api.github.com/users/jbudz/gists{/gist_id}","starred_url":"https://api.github.com/users/jbudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbudz/subscriptions","organizations_url":"https://api.github.com/users/jbudz/orgs","repos_url":"https://api.github.com/users/jbudz/repos","events_url":"https://api.github.com/users/jbudz/events{/privacy}","received_events_url":"https://api.github.com/users/jbudz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-22T02:39:21Z","updated_at":"2018-11-22T02:39:23Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/26062","html_url":"https://github.com/elastic/kibana/pull/26062","diff_url":"https://github.com/elastic/kibana/pull/26062.diff","patch_url":"https://github.com/elastic/kibana/pull/26062.patch"},"body":"We are not correctly handing the re-index task failing. This is a problem in a scenerio where there are missing shards, which mean that some or all of the documents will be lost.\r\n\r\n**Testing**:\r\n\r\nStart ES with a Kibana index pre 6.5.0, which requires a migration and has a missing segment file. This will result in a re-index failure of `.kibana` > `.kibana_1`\r\n\r\nAlternatively, you can start ES using my data directory [here](https://drive.google.com/file/d/15p9aFDYNLsmNxPoCOuca_CQdpt88A6h5/view?usp=sharing). "},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/440895385","html_url":"https://github.com/elastic/kibana/pull/26062#issuecomment-440895385","issue_url":"https://api.github.com/repos/elastic/kibana/issues/26062","id":440895385,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDg5NTM4NQ==","user":{"login":"elasticmachine","id":15837671,"node_id":"MDQ6VXNlcjE1ODM3Njcx","avatar_url":"https://avatars3.githubusercontent.com/u/15837671?v=4","gravatar_id":"","url":"https://api.github.com/users/elasticmachine","html_url":"https://github.com/elasticmachine","followers_url":"https://api.github.com/users/elasticmachine/followers","following_url":"https://api.github.com/users/elasticmachine/following{/other_user}","gists_url":"https://api.github.com/users/elasticmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticmachine/subscriptions","organizations_url":"https://api.github.com/users/elasticmachine/orgs","repos_url":"https://api.github.com/users/elasticmachine/repos","events_url":"https://api.github.com/users/elasticmachine/events{/privacy}","received_events_url":"https://api.github.com/users/elasticmachine/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T02:39:23Z","updated_at":"2018-11-22T02:39:23Z","author_association":"NONE","body":"Pinging @elastic/kibana-operations"}}
{"actor":{"display_login":"elasticmachine"}}