{"push_id":927851449,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"0b1a7fc2b84854b5e4e6eef9833eb3000d286d58","before":"349352c85ab123f6ae5ff1609cf28ba5803f42ca","commits":[{"sha":"871d1b48853bc3b31376a00d8b5a74edbd64e857","author":{"email":"68c46a606457643eab92053c1c05574abb26f861@tedor.me","name":"Jason Tedor"},"message":"Remove and forbid use of j.u.c.ThreadLocalRandom\n\nThis commit removes and now forbids all uses of\njava.util.concurrent.ThreadLocalRandom across the codebase. The\nunderlying issue with ThreadLocalRandom is that it can not be\nseeded. This means that if ThreadLocalRandom is used in production code,\nthen tests that cover any code path containing ThreadLocalRandom will be\nprevented from being reproducible by use of ThreadLocalRandom. Instead,\nusing org.elasticsearch.common.random.Randomness#get will give\nreproducible sources of random when running under tests and otherwise\nstill give an instance of ThreadLocalRandom when running as production\ncode.","distinct":true,"url":"https://api.github.com/repos/elastic/elasticsearch/commits/871d1b48853bc3b31376a00d8b5a74edbd64e857"},{"sha":"0b1a7fc2b84854b5e4e6eef9833eb3000d286d58","author":{"email":"68c46a606457643eab92053c1c05574abb26f861@tedor.me","name":"Jason Tedor"},"message":"Merge pull request #15862 from jasontedor/thread-local-random-be-gone\n\nRemove and forbid use of j.u.c.ThreadLocalRandom\r\n\r\nCloses #15294","distinct":true,"url":"https://api.github.com/repos/elastic/elasticsearch/commits/0b1a7fc2b84854b5e4e6eef9833eb3000d286d58"}]}