{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/12137","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12137/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12137/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12137/events","html_url":"https://github.com/elastic/elasticsearch/pull/12137","id":93925150,"number":12137,"title":"Handle upserts failing when document has already been created by another process ","user":{"login":"vedil","id":2587405,"avatar_url":"https://avatars.githubusercontent.com/u/2587405?v=3","gravatar_id":"","url":"https://api.github.com/users/vedil","html_url":"https://github.com/vedil","followers_url":"https://api.github.com/users/vedil/followers","following_url":"https://api.github.com/users/vedil/following{/other_user}","gists_url":"https://api.github.com/users/vedil/gists{/gist_id}","starred_url":"https://api.github.com/users/vedil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedil/subscriptions","organizations_url":"https://api.github.com/users/vedil/orgs","repos_url":"https://api.github.com/users/vedil/repos","events_url":"https://api.github.com/users/vedil/events{/privacy}","received_events_url":"https://api.github.com/users/vedil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:CRUD","name":":CRUD","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/bug","name":"bug","color":"9e2c2c"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"jasontedor","id":4744941,"avatar_url":"https://avatars.githubusercontent.com/u/4744941?v=3","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-09T01:06:18Z","updated_at":"2015-07-12T14:23:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12137","html_url":"https://github.com/elastic/elasticsearch/pull/12137","diff_url":"https://github.com/elastic/elasticsearch/pull/12137.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/12137.patch"},"body":"Closes #11506"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/120725192","html_url":"https://github.com/elastic/elasticsearch/pull/12137#issuecomment-120725192","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12137","id":120725192,"user":{"login":"vedil","id":2587405,"avatar_url":"https://avatars.githubusercontent.com/u/2587405?v=3","gravatar_id":"","url":"https://api.github.com/users/vedil","html_url":"https://github.com/vedil","followers_url":"https://api.github.com/users/vedil/followers","following_url":"https://api.github.com/users/vedil/following{/other_user}","gists_url":"https://api.github.com/users/vedil/gists{/gist_id}","starred_url":"https://api.github.com/users/vedil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedil/subscriptions","organizations_url":"https://api.github.com/users/vedil/orgs","repos_url":"https://api.github.com/users/vedil/repos","events_url":"https://api.github.com/users/vedil/events{/privacy}","received_events_url":"https://api.github.com/users/vedil/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T14:23:54Z","updated_at":"2015-07-12T14:23:54Z","body":"so my change does not fix the issue, i agree that a consistent test case would be of great use, i will try to write one, probably using thread pool to create a "}}