{"action":"created","issue":{"url":"https://api.github.com/repos/hibernate/hibernate-search/issues/1023","repository_url":"https://api.github.com/repos/hibernate/hibernate-search","labels_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/1023/labels{/name}","comments_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/1023/comments","events_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/1023/events","html_url":"https://github.com/hibernate/hibernate-search/pull/1023","id":138979931,"number":1023,"title":"HSEARCH-2146 Waiting until ES indexes have become green","user":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars.githubusercontent.com/u/28612?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hibernate/hibernate-search/labels/Changes%20Suggested","name":"Changes Suggested","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"Sanne","id":42573,"avatar_url":"https://avatars.githubusercontent.com/u/42573?v=3","gravatar_id":"","url":"https://api.github.com/users/Sanne","html_url":"https://github.com/Sanne","followers_url":"https://api.github.com/users/Sanne/followers","following_url":"https://api.github.com/users/Sanne/following{/other_user}","gists_url":"https://api.github.com/users/Sanne/gists{/gist_id}","starred_url":"https://api.github.com/users/Sanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sanne/subscriptions","organizations_url":"https://api.github.com/users/Sanne/orgs","repos_url":"https://api.github.com/users/Sanne/repos","events_url":"https://api.github.com/users/Sanne/events{/privacy}","received_events_url":"https://api.github.com/users/Sanne/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-07T13:36:31Z","updated_at":"2016-03-09T08:52:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hibernate/hibernate-search/pulls/1023","html_url":"https://github.com/hibernate/hibernate-search/pull/1023","diff_url":"https://github.com/hibernate/hibernate-search/pull/1023.diff","patch_url":"https://github.com/hibernate/hibernate-search/pull/1023.patch"},"body":"The second commit aims at parallelizing index creation. While it works it feels a bit ad-hoc-ish. Let me know what you think. It cuts down test execution time a bit more, but of obviously the effect will be larger if there are more indexes involved.\r\n\r\nNote that I'm handling (index creation + mapping creation) as one execution unit, one could think about splitting these two up, too. This wouldn't improve the end-to-end time, but it'd free threads when waiting for index creation to finish. I don't think it's needed right now."},"comment":{"url":"https://api.github.com/repos/hibernate/hibernate-search/issues/comments/194187982","html_url":"https://github.com/hibernate/hibernate-search/pull/1023#issuecomment-194187982","issue_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/1023","id":194187982,"user":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars.githubusercontent.com/u/28612?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T08:52:16Z","updated_at":"2016-03-09T08:52:16Z","body":"@Sanne Reworked some of the things you mentioned and force-pushed.\r\n\r\nNote that I've removed the commit which parallelized index creation as I noticed it was causing data races when it comes to indexes shared between different entities. This will need some more consideration."}}