{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/29329","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29329/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29329/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29329/events","html_url":"https://github.com/elastic/elasticsearch/pull/29329","id":310358306,"number":29329,"title":"Change bulk's retry condition to be based on RestStatus","user":{"login":"PnPie","id":7472431,"avatar_url":"https://avatars3.githubusercontent.com/u/7472431?v=4","gravatar_id":"","url":"https://api.github.com/users/PnPie","html_url":"https://github.com/PnPie","followers_url":"https://api.github.com/users/PnPie/followers","following_url":"https://api.github.com/users/PnPie/following{/other_user}","gists_url":"https://api.github.com/users/PnPie/gists{/gist_id}","starred_url":"https://api.github.com/users/PnPie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PnPie/subscriptions","organizations_url":"https://api.github.com/users/PnPie/orgs","repos_url":"https://api.github.com/users/PnPie/repos","events_url":"https://api.github.com/users/PnPie/events{/privacy}","received_events_url":"https://api.github.com/users/PnPie/received_events","type":"User","site_admin":false},"labels":[{"id":493198109,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core/Java%20High%20Level%20REST%20Client","name":":Core/Java High Level REST Client","color":"0e8a16","default":false},{"id":23173,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Ebug","name":">bug","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-04-01T22:14:35Z","updated_at":"2018-04-20T08:39:36Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/29329","html_url":"https://github.com/elastic/elasticsearch/pull/29329","diff_url":"https://github.com/elastic/elasticsearch/pull/29329.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/29329.patch"},"body":"Previously bulk's retry logic was based on the exception type (`EsRejectedExecutionException`) of the failed response, this changes it to be based on RestStatus (`RestStatus.TOO_MANY_REQUESTS`), in order to support rest hight level client. (more information can be found #29254).\r\n\r\nClose #28885"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/383027368","html_url":"https://github.com/elastic/elasticsearch/pull/29329#issuecomment-383027368","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29329","id":383027368,"user":{"login":"PnPie","id":7472431,"avatar_url":"https://avatars3.githubusercontent.com/u/7472431?v=4","gravatar_id":"","url":"https://api.github.com/users/PnPie","html_url":"https://github.com/PnPie","followers_url":"https://api.github.com/users/PnPie/followers","following_url":"https://api.github.com/users/PnPie/following{/other_user}","gists_url":"https://api.github.com/users/PnPie/gists{/gist_id}","starred_url":"https://api.github.com/users/PnPie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PnPie/subscriptions","organizations_url":"https://api.github.com/users/PnPie/orgs","repos_url":"https://api.github.com/users/PnPie/repos","events_url":"https://api.github.com/users/PnPie/events{/privacy}","received_events_url":"https://api.github.com/users/PnPie/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T08:39:36Z","updated_at":"2018-04-20T08:39:36Z","author_association":"CONTRIBUTOR","body":"Hi @javanna,\r\nYes, seems sometimes `org.elasticsearch.action.bulk.BulkProcessorRetryIT` fails after adding the `rejectedAfterAllRetries` changes. I can look at it this week-end."}}
{"actor":{"display_login":"PnPie"}}