{"push_id":2756711800,"size":143,"distinct_size":3,"ref":"refs/heads/2017-12-22-orientation-bug","head":"0084311b297d8b2426b87b5f9e715849b8940e99","before":"5a6c9f20f0c16e97f88657875b0ae6f68f0d20a5","commits":[{"sha":"5856c396ddd9e36094c5471d436be100bb586e60","author":{"name":"Boaz Leskes","email":"992531bec19101e9308e69893b3169c39fdfdd41@gmail.com"},"message":"A replica can be promoted and started in one cluster state update (#32042)\n\nWhen a replica is fully recovered (i.e., in `POST_RECOVERY` state) we send a request to the master\r\nto start the shard. The master changes the state of the replica and publishes a cluster state to that\r\neffect. In certain cases, that cluster state can be processed on the node hosting the replica\r\n*together* with a cluster state that promotes that, now started, replica to a primary. This can\r\nhappen due to cluster state batched processing or if the master died after having committed the\r\ncluster state that starts the shard but before publishing it to the node with the replica. If the master\r\nalso held the primary shard, the new master node will remove the primary (as it failed) and will also\r\nimmediately promote the replica (thinking it is started). \r\n\r\nSadly our code in IndexShard didn't allow for this which caused [assertions](https://github.com/elastic/elasticsearch/blob/13917162ad5c59a96ccb4d6a81a5044546c45c22/server/src/main/java/org/elasticsearch/index/seqno/ReplicationTracker.java#L482) to be tripped in some of our tests runs.","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/5856c396ddd9e36094c5471d436be100bb586e60"},{"sha":"8235b254abf274e99b7af91d125edc0a9dbe627a","author":{"name":"Vladimir Dolzhenko","email":"3a78a27f136f209ec3ab5cd40996cb60fd254c56@gmail.com"},"message":"Add EC2 credential test for repository-s3 (#31918)\n\nAdd EC2 credential test for repository-s3\r\n\r\nRelates to #26913","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/8235b254abf274e99b7af91d125edc0a9dbe627a"},{"sha":"1924f5d07c9f739821bc8c749a5314a074dab36b","author":{"name":"Martijn van Groningen","email":"4bbd6538573d69157ec8155ac2937b38e64a59f4@gmail.com"},"message":"Add more contexts to painless execute api (#30511)\n\nThis change adds two contexts the execute scripts against:\r\n\r\n* SEARCH_SCRIPT: Allows to run scripts in a search script context.\r\nThis context is used in `function_score` query's script function,\r\nscript fields, script sorting and `terms_set` query.\r\n\r\n* FILTER_SCRIPT: Allows to run scripts in a filter script context.\r\nThis context is used in the `script` query.\r\n\r\nIn both contexts a index name needs to be specified and a sample document.\r\nThe document is needed to create an in-memory index that the script can\r\naccess via the `doc[...]` and other notations. The index name is needed\r\nbecause a mapping is needed to index the document.\r\n\r\nExamples:\r\n\r\n```\r\nPOST /_scripts/painless/_execute\r\n{\r\n  \"script\": {\r\n    \"source\": \"doc['field'].value.length()\"\r\n  },\r\n  \"context\" : {\r\n    \"search_script\": {\r\n      \"document\": {\r\n        \"field\": \"four\"\r\n      },\r\n      \"index\": \"my-index\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nReturns:\r\n\r\n```\r\n{\r\n  \"result\": 4\r\n}\r\n```\r\n\r\nPOST /_scripts/painless/_execute\r\n{\r\n  \"script\": {\r\n    \"source\": \"doc['field'].value.length() <= params.max_length\",\r\n    \"params\": {\r\n      \"max_length\": 4\r\n    }\r\n  },\r\n  \"context\" : {\r\n    \"filter_script\": {\r\n      \"document\": {\r\n        \"field\": \"four\"\r\n      },\r\n      \"index\": \"my-index\"\r\n    }\r\n  }\r\n}\r\n\r\nReturns:\r\n\r\n```\r\n{\r\n  \"result\": true\r\n}\r\n```\r\n\r\nAlso changed PainlessExecuteAction.TransportAction to use TransportSingleShardAction\r\ninstead of HandledAction, because now in case score or filter contexts are used\r\nthe request needs to be redirected to a node that has an active IndexService\r\nfor the index being referenced (a node with a shard copy for that index).","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/1924f5d07c9f739821bc8c749a5314a074dab36b"},{"sha":"53ab470264261b25e799696085c134df09ddaf77","author":{"name":"Martijn van Groningen","email":"4bbd6538573d69157ec8155ac2937b38e64a59f4@gmail.com"},"message":"use before instead of onOrBefore","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/53ab470264261b25e799696085c134df09ddaf77"},{"sha":"380b45b96590a313507f26ff2b0e3a2af54f4706","author":{"name":"David Turner","email":"e1ebbda61e8771b4bbe71b4365d8423f36c3bf41@elastic.co"},"message":"Improve docs for search preferences (#32159)\n\nToday it is unclear what guarantees are offered by the search preference\r\nfeature, and we claim a guarantee that is stronger than what we really offer:\r\n\r\n> A custom value will be used to guarantee that the same shards will be used\r\n> for the same custom value.\r\n\r\nThis commit clarifies this documentation.\r\n\r\nForward-port of #32098 to `master`.","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/380b45b96590a313507f26ff2b0e3a2af54f4706"},{"sha":"6de1f96cadd8d187e3732b710eb10264f733d422","author":{"name":"Armin Braun","email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@obrown.io"},"message":"Fix BwC Tests looking for UUID Pre 6.4 (#32158)\n\n* UUID field was added for #31791 and only went into 6.4 and 7.0\r\n* Fixes #32119","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/6de1f96cadd8d187e3732b710eb10264f733d422"},{"sha":"cfb30144c9175d1f1538af0aa5c1841f72159128","author":{"name":"Alan Woodward","email":"b7b0c6787377b50e73722d78c6f6b98225fd30c9@gmail.com"},"message":"Call setReferences() on custom referring tokenfilters in _analyze (#32157)\n\nWhen building custom tokenfilters without an index in the _analyze endpoint,\r\nwe need to ensure that referring filters are correctly built by calling\r\ntheir #setReferences() method\r\n\r\nFixes #32154","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/cfb30144c9175d1f1538af0aa5c1841f72159128"},{"sha":"605dc49c4828fe74d039e361cbe283bbf19a9a49","author":{"name":"Jack Conradson","email":"c668eaddb1ac88e36275120d4be43e1eca37d013@gmail.com"},"message":"Painless: Fix caching bug and clean up addPainlessClass. (#32142)\n\nThis change cleans up the addPainlessClass methods by doing the following things:\r\n\r\n* Rename many variable names to match the new conventions described in the JavaDocs \r\nfor PainlessLookup\r\n* Decouples Whitelist.Class from adding a PainlessClass directly\r\n* Adds a second version of addPainlessClass that is intended for use to add future \r\ndefaults in a follow PR\r\n\r\nThis change also fixes the method and field caches by storing Classes instead of Strings \r\nsince it would technically be possible now that the whitelists are extendable to have \r\ndifferent Classes with the same name. It was convenient to add this change together \r\nsince some of the new constants are shared.\r\n\r\nNote the changes are largely mechanical again where all the code behavior should \r\nremain the same.","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/605dc49c4828fe74d039e361cbe283bbf19a9a49"},{"sha":"15ff3da653c5dd9eae7f7a654a9ee6a931d478b7","author":{"name":"Julie Tibshirani","email":"d110b0b20cbb1d77bb86f1e9dbbe42824cc02bf7@elastic.co"},"message":"Add support for field aliases. (#32172)\n\n* Add basic support for field aliases in index mappings. (#31287)\r\n* Allow for aliases when fetching stored fields. (#31411)\r\n* Add tests around accessing field aliases in scripts. (#31417)\r\n* Add documentation around field aliases. (#31538)\r\n* Add validation for field alias mappings. (#31518)\r\n* Return both concrete fields and aliases in DocumentFieldMappers#getMapper. (#31671)\r\n* Make sure that field-level security is enforced when using field aliases. (#31807)\r\n* Add more comprehensive tests for field aliases in queries + aggregations. (#31565)\r\n* Remove the deprecated method DocumentFieldMappers#getFieldMapper. (#32148)","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/15ff3da653c5dd9eae7f7a654a9ee6a931d478b7"},{"sha":"e20f59aa716f094296960afdc39f927a987481b5","author":{"name":"Andy Bristol","email":"6e4a57f298cab7a7b5716cb4d858136c8d9d46a2@elastic.co"},"message":"[test] use randomized runner in packaging tests (#32109)\n\nUse the randomized runner from the test framework and add some basic\r\nlogging to make the packaging tests behave more similarly to how we use\r\njunit in the rest of the project","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/e20f59aa716f094296960afdc39f927a987481b5"},{"sha":"90fcb38448158d3a5d595307ee9f5c3d64b42e7f","author":{"name":"Tim Brooks","email":"5ee0edb9e2229c0838f1959779f1949031de0123@uncontended.net"},"message":"Adjust SSLDriver behavior for JDK11 changes (#32145)\n\nThis is related to #32122. A number of things changed related to adding\r\nTLS 1.3 support in JDK11. Some exception messages and other SSLEngine\r\nbehavior changed. This commit fixes assertions on exception messages.\r\nAdditionally it identifies two bugs related to how the SSLDriver behaves\r\nin regards to JDK11 changes. Finally, it mutes a tests until correct\r\nbehavior can be identified. There is another open issue for that muted\r\ntest (#32144).","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/90fcb38448158d3a5d595307ee9f5c3d64b42e7f"},{"sha":"63749498ea92dc03ac424f7f5764eed752eb567e","author":{"name":"Michael Basnight","email":"180923fa42bdd6f2d234322b27c91f18387134d1@gmail.com"},"message":"Remove empty @return from JavaDoc","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/63749498ea92dc03ac424f7f5764eed752eb567e"},{"sha":"27d663b64b775355bb787355888132837f28db2e","author":{"name":"Tal Levy","email":"72601a8e9b0cbe66dbefe816c40d3b8c1538be45@gmail.com"},"message":"Revert \"Introduce a Hashing Processor (#31087)\" (#32178)\n\nThis reverts commit 8c78fe711486a3f722879d8f7cf89632daf793e0.","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/27d663b64b775355bb787355888132837f28db2e"},{"sha":"aae0133847254ce38dd2dc3ee01a10b486589243","author":{"name":"Andy Bristol","email":"6e4a57f298cab7a7b5716cb4d858136c8d9d46a2@elastic.co"},"message":"[test] port linux package packaging tests (#31943)\n\nAdd packaging tests for the linux package distributions to the java test\r\nproject and remove them from bats. Most of the tests that lived in\r\n30_deb_package.bats and 40_rpm_package.bats are applicable to both\r\npackage types and are combined into a single type of test case. Others\r\nare separated out into separate cases to make their intent more clear\r\n\r\nFor #26741","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/aae0133847254ce38dd2dc3ee01a10b486589243"},{"sha":"38e2e1d553280de0f49ed9bb5a2c7df4187d4ed5","author":{"name":"Alpar Torok","email":"ea81b2e7d913dc7dae901781766a687b3bfb664b@gmail.com"},"message":"Detect and prevent configuration that triggers a Gradle bug (#31912)\n\n* Detect and prevent configuration that triggers a Gradle bug\r\n\r\nAs we found in #31862, this can lead to a lot of wasted time as it's not\r\nimmediatly obvius what's going on.\r\nGivent how many projects we have it's getting increasingly easier to run\r\ninto gradle/gradle#847.","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/38e2e1d553280de0f49ed9bb5a2c7df4187d4ed5"},{"sha":"644a92f1582ceeda6981c0653a5e455f5ec43e3c","author":{"name":"Jim Ferenczi","email":"701d4548e9f8dd871da464fc4aad420bdff89a1a@elastic.co"},"message":"Fix rollup on date fields that don't support epoch_millis (#31890)\n\nThe rollup indexer uses a range query to select the next page\r\nof results based on the last time bucket of the previous round\r\nand the `delay` configured on the rollup job. This query uses\r\nthe `epoch_millis` format implicitly but doesn't set the `format`.\r\nThis result in errors during the rollup job if the field\r\ndefinition doesn't allow this format. It can also miss documents\r\nif the format is not accepted but another format in the field\r\ndefinition is able to parse the query (e.g.: `epoch_second`).\r\nThis change ensures that we use `epoch_millis` as the only format\r\nto parse the rollup range query.","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/644a92f1582ceeda6981c0653a5e455f5ec43e3c"},{"sha":"f232c36c197d7d2e470823e672f66e85e4e1e20c","author":{"name":"Christoph Büscher","email":"e94fcfcfda62411722b8e83e850b947a59336941@posteo.de"},"message":"Fix comments causing errors with Java 11","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/f232c36c197d7d2e470823e672f66e85e4e1e20c"},{"sha":"185689ad75955522872acfc7cf21170036680fea","author":{"name":"Ryan Ernst","email":"ea3cd978650417470535f3a4725b6b5042a6ab59@iernst.net"},"message":"Build: Remove pom generation for plugin zip files (#32180)\n\nIn 1.x and 2.x, plugins were published to maven and the plugin\r\ninstaller downloaded them from there. This was later changed to install\r\nfrom the download service, and in 5.0 plugin zips were no longer\r\npublished to maven. However, the build still currently produces an\r\nunused pom file. This is troublesome in the special case when the main\r\njar of a plugin needs to be published (and thus needs a pom file of\r\nthe same name).\r\n\r\ncloses #31946","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/185689ad75955522872acfc7cf21170036680fea"},{"sha":"202894b8322571c447bc20a6262fd49da89f9bf5","author":{"name":"Alexander Reelsen","email":"e46fc836cca3acec03944314d1457c2ae6c68ef3@reelsen.net"},"message":"Rest HL client: Add put watch action (#32026)\n\nRelates #29827\r\n\r\nThis implementation behaves like the current transport client, that you basically cannot configure a Watch POJO representation as an argument to the put watch API, but only a bytes reference. You can use the the `WatchSourceBuilder` from the `org.elasticsearch.plugin:x-pack-core` dependency to build watches.\r\n\r\nThis commit also changes the license type to trial, so that watcher is available in high level rest client tests.\r\n\r\n/cc @hub-cap","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/202894b8322571c447bc20a6262fd49da89f9bf5"},{"sha":"9aa562d3dd943103e6ae5dbfb2305778e572c76a","author":{"name":"Ryan Ernst","email":"ea3cd978650417470535f3a4725b6b5042a6ab59@iernst.net"},"message":"Make x-pack-core generate a pom file\n\nThis was a forgotten part of #32180","distinct":false,"url":"https://api.github.com/repos/DaveCTurner/elasticsearch/commits/9aa562d3dd943103e6ae5dbfb2305778e572c76a"}]}
{"actor":{"display_login":"DaveCTurner"}}