ad56dce | James Rodewig | 28 May 2020, 13:52:12 UTC | [DOCS] Add verify snapshot repository API docs (#57253) (#57290) | 28 May 2020, 13:52:12 UTC |
4235c5e | Dan Hermann | 28 May 2020, 13:39:32 UTC | Fix incorrect log warning when exporting monitoring via HTTP without authentication (#57279) | 28 May 2020, 13:39:32 UTC |
24ab3a1 | Rene Groeschke | 28 May 2020, 13:33:53 UTC | Fix deprecation warning in ThirdpartyAuditTask (#57123) (#57229) | 28 May 2020, 13:33:53 UTC |
4efcd9b | James Rodewig | 28 May 2020, 13:27:52 UTC | [DOCS] Adds a doc value field example to Mapper Size docs (#57257) (#57282) Changes: * Updates snippet to include doc value field example. * Fixes a broken link to inline script settings. | 28 May 2020, 13:27:52 UTC |
2a68d42 | David Roberts | 28 May 2020, 11:28:22 UTC | [7.7][ML] Fix monitoring if orphaned anomaly detector persistent tasks exist (#57243) Since #51888 the ML job stats endpoint has returned entries for jobs that have a persistent task but not job config. Such orphaned tasks caused monitoring to fail. This change ignores any such corrupt jobs for monitoring purposes. Backport of #57235 | 28 May 2020, 11:28:22 UTC |
b640f0b | Marios Trivyzas | 28 May 2020, 09:22:56 UTC | SQL: Fix unecessary evaluation for CASE/IIF (#57159) (#57264) Previously, `CASE` and `IIF` when translated to painless scripts (used in GROUP BY, HAVING, WHERE) a custom `caseFunction` registered in the `InternalSqlScriptUtils` was used. This function received and array of arbitrary length: ```[condition1, result1, condition2, result2, ... elseResult]``` Painless doesn't know of the context and therefore is evaluating all conditions and results before invoking the `caseFunction` on them. As a consequence, erroneous result expressions (i.e. division by 0) where always evaluated despite of the guarding condition. Replace the `caseFunction` with painless `<cond> ? <res1> : <res2>` expressions to properly guard the result expressions and only evaluate the one for which its guarding condition evaluates to true (or of course the elseResult). As a bonus, this approach includes performance benefits since we avoid unnecessary evaluations of both conditions and result expressions. Fixes: #49672 (cherry picked from commit 9584b345d89f797bfb658212b928b9812804f02f) | 28 May 2020, 09:22:56 UTC |
17e19ef | Tim Vernum | 28 May 2020, 07:34:23 UTC | Fix smtp.ssl.trust setting for watcher email (#57269) The ssl.trust setting for Watcher provides a list of hostnames that should be automatically trusted for SSL hostname verification. It was accidentally broken when we added the full ssl.* settings for email notifications (see #45272) This commit corrects this, so the setting is once again respected, as long as none of the other ssl settings are configured for email notifications. Resolves: #52153 Backport of: #56090 | 28 May 2020, 07:34:23 UTC |
746de41 | Ryan Ernst | 28 May 2020, 00:40:44 UTC | Move test error reporting to java plugin (#57259) This commit moves the global hook for reporting failed test cases to the ElasticsearchJavaPlugin. It should always be applied for all java projects since the Test class is what emits the failures logged. | 28 May 2020, 00:45:52 UTC |
2cececd | Ryan Ernst | 28 May 2020, 00:27:44 UTC | Move gradle version check to global build info plugin (#57255) The gradle version check currently exists in BuildPlugin. However, there is no reason to check this within every project. Instead, this commit moves the check to the global build info, which is only applied to the root project. Additionally, this commit removes the check from buildSrc because it is not really necessary. The check exists really just for external plugin authors since we use the gradle wrapper for our own build. | 28 May 2020, 00:39:40 UTC |
0e3e85b | Ryan Ernst | 28 May 2020, 00:36:11 UTC | Switch back to runtimeJavaHome for 7.7 feature check | 28 May 2020, 00:36:11 UTC |
df80f20 | Ryan Ernst | 27 May 2020, 22:20:41 UTC | Remove compiler java version flag (#57237) This commit removes the compiler.java setting from the build. It was originally added when Gradle was far behind support for the latest jdk, but is no longer applicable as we don't have any need to update the supported compile version before gradle supports the newer version. Note that the runtime version changing support still exists here, this only ensures we use the same jdk to compile as we use to run gradle. | 28 May 2020, 00:12:31 UTC |
62d1223 | Ryan Ernst | 27 May 2020, 22:07:44 UTC | Upgrade bundled jdk to 14.0.1 (#57233) | 27 May 2020, 22:08:54 UTC |
55d6b2a | James Baiera | 27 May 2020, 19:32:35 UTC | Fix enrich coordinator to reject documents instead of deadlocking (#56247) (#57189) This PR removes the blocking call to insert ingest documents into a queue in the coordinator. It replaces it with an offer call which will throw a rejection exception in the event that the queue is full. This prevents deadlocks of the write threads when the queue fills to capacity and there are more than one enrich processors in a pipeline. | 27 May 2020, 19:32:35 UTC |
10d033b | James Rodewig | 27 May 2020, 19:10:54 UTC | [DOCS] Reformat `min_hash` token filter docs (#57181) (#57248) Changes: * Rewrites description and adds a Lucene link * Reformats the configurable parameters as a definition list * Changes the `Theory` heading to `Using the min_hash token filter for similarity search` * Adds some additional detail to the analyzer example | 27 May 2020, 19:10:54 UTC |
edc0bd9 | Nhat Nguyen | 27 May 2020, 18:13:31 UTC | Remove assertion when safe commit not found If the previous peer recovery failed after copying segment files, then the safe commit invariant won't hold in the next recovery. Relates #57187 | 27 May 2020, 18:14:17 UTC |
ff9be2b | Przemyslaw Gomulka | 27 May 2020, 17:08:49 UTC | SlowLoggers using single logger backport(#56708) (#57216) Slow loggers should use single shared logger as otherwise when index is deleted the log4j logger will remain reachable (log4j is caching) and will create a memory leak. closes https://github.com/elastic/elasticsearch/issues/56171 | 27 May 2020, 17:08:49 UTC |
2ae1c29 | Toby Sutor | 27 May 2020, 15:38:48 UTC | [DOCS] Add note about restoring snapshot versions (#55225) As discussed at https://elastic.slack.com/archives/C0D1XEXEZ/p1586939752242300 is it not possible to restore snapshots taken on newer versions into clusters running lower versions. For example, a snapshot created in a 7.6.0 cluster cannot be restored on a 7.5.0 cluster. This needs to be documented. | 27 May 2020, 15:43:03 UTC |
516d032 | James Rodewig | 27 May 2020, 15:30:09 UTC | [DOCS] Add redirects for 404 pages (#57161) (#57226) Adds several redirects for removed pages that return a 404 response. | 27 May 2020, 15:30:09 UTC |
b0ab9d9 | James Rodewig | 27 May 2020, 15:14:40 UTC | [DOCS] Add get snapshot repo API docs (#57150) (#57220) | 27 May 2020, 15:14:40 UTC |
ba5a085 | Nhat Nguyen | 27 May 2020, 15:05:18 UTC | Fix trimUnsafeCommits for indices created before 6.2 (#57187) If an upgraded node is restarted multiple times without flushing a new index commit, then we will wrongly exclude all commits from the starting commits. This bug is reproducible with these minimal steps: (1) create an empty index on 6.1.4 with translog retention disabled, (2) upgrade the cluster to 7.7.0, (3) restart the upgraded the cluster. The problem is that with the new translog policy can trim translog without having a new index commit, while the existing commit still refers to the previous translog generation. Closes #57091 | 27 May 2020, 15:05:18 UTC |
43d6a8e | Jake Landis | 27 May 2020, 15:02:11 UTC | [7.7] Remove ability to ingore files from spec validation (#56647) (#56689) An ignore parameter was originally added to the ValidateJsonAgainstSchemaTask to allow the build to pass for REST specs that did not properly validate against the schema. Since the introduction of this task, all schemas that did not validate have been fixed to now validate properly. This commit removes the ability to ignore specific files for validation. This allows any consumers the assurance that all REST specs validate against the schema. | 27 May 2020, 15:02:11 UTC |
f98ef20 | Jake Landis | 27 May 2020, 14:59:22 UTC | [7.7] Move license checks back to BuildPlugin (#56975) | 27 May 2020, 14:59:22 UTC |
3775acd | James Rodewig | 27 May 2020, 14:51:13 UTC | [DOCS] Fix clarity of URL snapshot repo docs (#56920) (#57214) Makes following changes to better clarify docs for read-only URL snapshot repositories: * Adds an example snippet for registering a URL repository * Rewrites the protocols paragraph * Adds a note to explicitly point out that only URLs using the `ftp`, `http`, `http`, and `jar` protocols do not need the `path.repo` setting. Fixes #16280 | 27 May 2020, 14:51:13 UTC |
0dd7588 | James Rodewig | 27 May 2020, 14:24:32 UTC | [DOCS] Document index alias swaps are atomic (#55418) (#57211) Co-authored-by: Tugberk Ugurlu <tugberk@outlook.com> | 27 May 2020, 14:24:32 UTC |
c68162e | Samidh | 27 May 2020, 13:48:59 UTC | [Docs] Fix typo in start-watch-service.asciidoc (#57182) | 27 May 2020, 13:48:59 UTC |
5d43f6a | AndyHunt66 | 27 May 2020, 12:30:03 UTC | [DOCS] Fix formatting of create API key API docs (#57138) | 27 May 2020, 12:30:03 UTC |
78fafab | David Kyle | 27 May 2020, 11:32:55 UTC | Fix delete_expired_data/nightly maintenance when many model snapshots need deleting (#57041) (#57145) The queries performed by the expired data removers pull back entire documents when only a few fields are required. For ModelSnapshots in particular this is a problem as they contain quantiles which may be 100s of KB and the search size is set to 10,000. This change makes the search more efficient by only requesting the fields needed to work out which expired data should be deleted. | 27 May 2020, 11:32:55 UTC |
47e6ee9 | Bogdan Pintea | 05 May 2020, 20:25:22 UTC | Fix test on incompatible client versions (#56234) The incomatible client version test is changed to: - iterate on all versions prior to the allowed one_s; - format the exception message just as the server does it. The defect stemed from the fact that the clients will not send a version's qualifier, but just major.minor.revision, so the raised error/exception_message won't contain it, while the test expected it. (cherry picked from commit 4a81c8f7a1f4573e3be95f346d9fb18772b297ee) | 27 May 2020, 10:42:48 UTC |
819fb0e | Christoph Büscher | 27 May 2020, 09:58:38 UTC | Honor IndicesOptions in HLRC putMapping request (#57118) Currently, the IndicesOptions set on a High Level rest client PutMappingRequest are not correctly converted to request parameters. This change adds the missing conversion and tests. Closes #57045 | 27 May 2020, 10:10:50 UTC |
f65c9fe | István Zoltán Szabó | 27 May 2020, 09:38:15 UTC | [DOCS][7.7] Fixes collapsible sections in PUT inference API docs. (#57195) | 27 May 2020, 09:38:15 UTC |
5104f5c | Armin Braun | 27 May 2020, 09:24:08 UTC | Fix GCS Repository YAML Test Build (#57073) (#57101) (#57192) A few relatively obvious issues here: * We cannot run the different IT runs (large blob setting one and normal integ run) concurrently * We need to set the dependency tasks up correctly for the large blob run so that it works in isolation * We can't use the `localAddress` for the location header of the resumable upload (this breaks in YAML tests because GCS is using a loopback port forward for the initial request and the local address will be chosen as the actual Docker container host) Closes #57026 | 27 May 2020, 09:24:08 UTC |
9798f74 | Jim Ferenczi | 27 May 2020, 07:18:33 UTC | Return true for can_match on idle search shards (#55428) (#57158) With this change, we will always return true for can_match requests on idle search shards; otherwise, some shards will never get refreshed if all search requests perform the can_match phase (i.e., total shards > pre_filter_shard_size). Relates #27500 Relates #50043 Co-authored-by: Nhat Nguyen <nhat.nguyen@elastic.co> | 27 May 2020, 07:18:33 UTC |
1755b29 | Mark Vieira | 26 May 2020, 22:05:48 UTC | Include 'sourceUrl' column in dependencies report even when empty (#57163) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> | 26 May 2020, 22:06:35 UTC |
9e03a81 | Ryan Ernst | 26 May 2020, 21:10:07 UTC | Move common repository configuration to java plugin (#57057) This commit moves the common maven repository configuration to the ES java plugin. All java projects need this common set of repos. Note that the Elastic download and maven repos are removed, as they are not necessary anymore since distribution download was split into the DistributionDownloadPlugin. | 26 May 2020, 21:17:27 UTC |
4a349a5 | Jake Landis | 26 May 2020, 18:11:25 UTC | [7.7] 7.x only REST specification fixes (#56736) (#57167) Fixes for the REST specification specific to 7.x * remove ignore "cat.thread_pool.json" and add the "" as valid option. * remove ignore "indices.put_mapping.json" by adding the required / in the path to pass validation. | 26 May 2020, 18:11:25 UTC |
e9ac5cb | Jake Landis | 26 May 2020, 17:37:39 UTC | [7.7] deprecrate size from cat.thread_pool in json spec (#55984) (#56737) The rest spec and documentation for _cat/threadpool supports a "size" parameter. However, the "size" parameter will have no impact since there are no values of type "SizeValue" of the return value of this _cat api. This commit deprecates this from JSON spec and will be removed in a followup. Note - this only impacts the JSON spec since all cat APIs support the same set of parameters, even if the specific call is not impacted by the param. | 26 May 2020, 17:37:39 UTC |
170ad86 | Bogdan Pintea | 26 May 2020, 17:19:00 UTC | Change error message for comp against fields (#57126) (#57160) Change the error message wording for comparisons against fields in filtering (s/variables/fields). (cherry picked from commit d9a1cb50940d0a98fd75b9c0123ca6e1d862f65d) | 26 May 2020, 17:19:00 UTC |
5ddb1fa | Bogdan Pintea | 26 May 2020, 08:16:51 UTC | SQL: update the JLine dependency to 3.14.1 (#57111) * Update the JLine dependency to 3.14.1 Update the JLine dependency from 3.10.0 to 3.14.1. (cherry picked from commit c2d9b74046fa5ddb54604da3afa7887cc38548a1) | 26 May 2020, 15:48:47 UTC |
c747582 | Mike Wong | 26 May 2020, 15:20:09 UTC | [DOCS] Document impact of restore API's `include_global_state` param (#57067) Previously, the restore API snippet included a `include_global_state` value of `true`. Some users copy and paste the code example verbatim, updating only the index and snapshot value names. Running the snippet could inadvertently wipe out a cluster's current ILM policies, index templates, and ingest pipelines. This change updates the snippet to use a `include_global_state` value of `false`. It also adds a callout that better describes impacts of using a `include_global_state` argument of `true`. Co-authored-by: James Rodewig <james.rodewig@elastic.co> Co-authored-by: David Turner <david.turner@elastic.co> | 26 May 2020, 15:20:09 UTC |
c6cd0e6 | Christoph Büscher | 26 May 2020, 14:23:02 UTC | Fix `bool` query behaviour on null value (#56817) Until 7.7 we used to ignore `null` values for `bool`queries `minimum_should_match`, parameters and also for the `must`, `must_not`, `should` and `filter` clauses. An internal refactoring has changed this so now we get a parsing error. While `null` should not a common value here, we should restore the old behaviour for bwc for now. Closes #56812 | 26 May 2020, 14:48:25 UTC |
03a0dc7 | Dan Hermann | 26 May 2020, 13:52:12 UTC | [7.7] Handle exceptions when building _cat/indices response (#57147) | 26 May 2020, 13:52:12 UTC |
dd9be9c | Russ Cam | 26 May 2020, 13:12:14 UTC | [DOCS] Add .NET client link to Bulk API docs (#57095) This commit adds a link in the Bulk API documentation to the .NET client's BulkAllObservable type and associated methods. | 26 May 2020, 13:14:52 UTC |
36c129d | Ioannis Kakavas | 26 May 2020, 07:52:39 UTC | Adjust reload keystore test to pass in FIPS (#57050) (#57135) In KeystoreWrapper class we determine if the error to decrypt a given keystore is caused by a wrong password based on the exception that the SunJCE implementation of AES is throwing (AEADBadTagException). Other implementations from other Security Providers might cause decryption to fail in a different way and cause us to throw a generic error message. We handle this in this test by matching both possible exception messages. Relates: #56889 | 26 May 2020, 07:52:39 UTC |
fd5bac5 | Ioannis Kakavas | 26 May 2020, 07:52:11 UTC | Fix key usage in SamlAuthenticatorTests (#57124) (#57131) In #51089 where SamlAuthenticatorTests were refactored, we missed to update one test case which meant that a single key would be used both for signing and encryption in the same run. As explained in #51089, and due to FIPS 140 requirements, BouncyCastle FIPS provider will block RSA keys that have been used for signing from being used for encryption and vice versa This commit changes testNoAttributesReturnedWhenTheyCannotBeDecrypted to always use the specific keys we have added for encryption. | 26 May 2020, 07:52:11 UTC |
c50744e | Jim Ferenczi | 26 May 2020, 07:29:56 UTC | Stop async search maintenance service on restart (#56982) This change ensures that we stop the maintenance service on all nodes when a data node is restarted. This ensures that we don't send update_by_query requests on the node that is restarted. This commit also raises the log level to trace for some packages in order to investigate the failures to acquire a shard lock after a restart. Relates #56765 | 26 May 2020, 07:32:59 UTC |
ea324d0 | Ioannis Kakavas | 25 May 2020, 11:10:11 UTC | Refactor SamlAuthenticatorTests (#51089) (#57108) - Use opensaml to sign and encrypt responses/assertions/attributes instead of doing this manually - Use opensaml to build response and assertion objects instead of parsing xml strings - Always use different keys for signing and encryption. Due to FIPS 140 requirements, BouncyCastle FIPS provider will block RSA keys that have been used for signing from being used for encryption and vice versa. This change adds new encryption specific keys to be used throughout the tests. | 25 May 2020, 11:10:11 UTC |
b3e9c3a | Ioannis Kakavas | 25 May 2020, 11:09:16 UTC | Don't run IDP tests in FIPS 140 mode (#57048) (#57100) We don't support this for now so there is no need to handle all the test logic/exceptions to run this in FIPS 140 mode. | 25 May 2020, 11:09:16 UTC |
6cdf553 | Rene Groeschke | 25 May 2020, 07:37:56 UTC | Improvement usage of gradle task avoidance api (#56627) (#56984) Use gradle task avoidance api wherever it is possible as a drop in replacement in the es build | 25 May 2020, 07:37:56 UTC |
ec24efd | István Zoltán Szabó | 25 May 2020, 07:09:47 UTC | [DOCS] Improves navigation between forecast APIs and adds short description. (#57035) | 25 May 2020, 07:12:49 UTC |
2d5cff7 | Marios Trivyzas | 22 May 2020, 18:09:36 UTC | SQL: [Tests] Move JDBC integration tests to new module (#56872) (#57078) Move the JDBC functionality integration tests from `:sql:qa` to a separate module `:sql:qa:jdbc`. This way the tests are isolated from the rest of the integration tests and they only depend to the `:sql:jdbc` module, thus removing the danger of accidentally pulling in some dependency that may hide bugs. Moreover this is a preparation for #56722, so that we can run those tests between different JDBC and ES node versions and ensure forward compatibility. Move the rest of existing tests inside a new `:sql:qa:server` project, so that the `:sql:qa` becomes the parent project for both and one can run all the integration tests by using this parent project. (cherry picked from commit c09f4a04484b8a43934fe58fbc41bd90b7dbcc76) | 22 May 2020, 18:09:36 UTC |
914f640 | Marios Trivyzas | 22 May 2020, 16:56:16 UTC | SQL: introduce a query builder for the Rest tests (#55094) (#57075) The new BaseRestSqlTestCase.RequestObjectBuilder class is a helper class to build REST request objects for the tests. Consequently, "manual" string concatenation to form JSON is done away with. The class mimics SqlQueryRequestBuilder API. (cherry picked from commit c8363f04c029542c233a758e9286d33c51d9c0c4) Co-authored-by: Bogdan Pintea <bogdan.pintea@elastic.co> | 22 May 2020, 16:56:16 UTC |
107eb7e | Nhat Nguyen | 22 May 2020, 13:05:05 UTC | Turn off translog retention only when shard started (#57063) We should only turn off the translog retention when a shard is started; otherwise, we can issue unnecessary warn logs. | 22 May 2020, 13:07:13 UTC |
676c8ae | Mayya Sharipova | 21 May 2020, 18:49:43 UTC | Don't run sort optimization on size=0 (#57044) Sort optimization creates TopFieldCollector that errors when size=0. This ensures that sort optimization is not run when size=0. Closes #56923 | 21 May 2020, 20:19:44 UTC |
e68a2ec | James Rodewig | 21 May 2020, 18:42:17 UTC | [DOCS] Add delete snapshot repo API docs (#57043) Changes: * Adds API reference docs for the delete snapshot repo API. * Corrects an error in the delete snapshot repo API spec. Comma-separated repository names are not supported. * Relocates the existing delete snapshot repo API example docs. | 21 May 2020, 18:42:17 UTC |
902f0cd | James Rodewig | 21 May 2020, 17:57:12 UTC | [DOCS] Reformat `shingle` token filter (#57040) Changes: * Rewrites description and adds Lucene link * Adds analyze example * Rewrites parameter documentation * Updates custom analyzer and filter examples * Adds anchor to `index.max_shingle_diff` index-level setting | 21 May 2020, 17:57:12 UTC |
6107e60 | István Zoltán Szabó | 21 May 2020, 15:30:59 UTC | [DOCS] Removes the Jobs section from the ML anomaly detection APIs page. (#57031) | 21 May 2020, 15:33:39 UTC |
b376463 | James Rodewig | 21 May 2020, 13:35:52 UTC | [DOCS] Fix anchor in put snapshot repo API docs | 21 May 2020, 13:37:17 UTC |
b8c2a15 | Ryan Ernst | 21 May 2020, 02:20:23 UTC | Make internalClusterTest run after unit tests (#57016) This commit adds an ordering rule to ensure unit tests are run first when running a higher level task like check. | 21 May 2020, 02:24:00 UTC |
b3c1136 | Ryan Ernst | 20 May 2020, 21:12:36 UTC | Add individual precommit task plugins (#56926) (#57015) Each precommit task is currently registered inside the shared PrecommitTasks class. Having a single class with all precommit tasks makes individualizing which precommit tasks are needed based on type of project difficult, where we often just disable somet tasks eg for all qa projects. This commit creates plugins for each precommit task, and moves the configuration of the task into each plugin. PrecommitTasks remains for now, and just delegates to each plugin, but will be removed in a future change. | 21 May 2020, 02:23:00 UTC |
120ddb0 | James Rodewig | 20 May 2020, 20:34:45 UTC | [DOCS] Add watcher multi-doc index ex (#52040) Adds an example snippet for creating a `_doc` payload field with the Watcher `index` action. Co-authored-by: Luiz Guilherme Pais dos Santos <luiz.santos@elastic.co> | 20 May 2020, 20:34:45 UTC |
13465d4 | Jason Tedor | 20 May 2020, 13:23:48 UTC | Fix some licenses in our own code (#56978) All of these files were written by us, and not sourced from anywhere. Therefore, the license head should be granting licenses to Elasticsearch, rathern than to the ASF. This commit address them by changing the license to our standard Apache 2.0 license header. | 20 May 2020, 19:36:05 UTC |
6db1c56 | James Rodewig | 20 May 2020, 18:59:59 UTC | [DOCS] Reformat `hunspell` token filter (#56955) Changes: * Rewrites description and adds Lucene link * Adds analyze example * Rewrites parameter documentation * Updates custom analyzer example * Rewrites related setting documentation | 20 May 2020, 18:59:59 UTC |
86304e6 | Brandon Morelli | 20 May 2020, 18:28:31 UTC | docs: update links to beats security docs (#56875) (#56952) # Conflicts: # x-pack/docs/en/security/ccs-clients-integrations/index.asciidoc # x-pack/docs/en/security/get-started-security.asciidoc # x-pack/docs/en/security/securing-communications/setting-up-ssl.asciidoc Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> | 20 May 2020, 18:28:31 UTC |
d7d55bf | Bogdan Pintea | 20 May 2020, 16:10:17 UTC | SQL: JDBC: fix temporary directory locked test errors in Windows (#56917) * Fix temp dir locked errors The tests involving a temporary directory (containing the JDBC JAR) fail on Windows because they can't be deleted, due to still being in use. This commit forces a premature closing of the JAR file, which mitigates the failure by giving the JVM more time to collect any open FDs. (Calling the System.gc() in the tests is another working alternative fix.) The stream-based JAR access is taken care by disabling the cache usage (cherry picked from commit 04f97333a015404a68e8f19223f33aadeb396687) | 20 May 2020, 17:42:49 UTC |
98be6ad | Ryan Ernst | 20 May 2020, 16:32:33 UTC | Split dependenciesInfo task to its own plugin (#56957) The dependenciesInfo task is used to gather information about all dependencies in elasticsearch. This commit separates it into its own gradle plugin. | 20 May 2020, 17:26:54 UTC |
7d15755 | Leaf-Lin | 20 May 2020, 15:53:10 UTC | [DOCS] Fix default for `http.compression` setting (#56899) Elasticsearch enables HTTP compression by default. However, to mitigate potential security risks like the BREACH attack, compression is disabled by default if HTTPS is enabled. This updates the `http.compression` setting definition accordingly and adds additional context. | 20 May 2020, 15:53:10 UTC |
4039849 | Florian Kelbert | 20 May 2020, 13:46:20 UTC | [Docs] Insert missing colon (#56980) | 20 May 2020, 13:46:20 UTC |
3087f96 | Albert Zaharovits | 20 May 2020, 13:34:00 UTC | DOCS Correct audit emit_node_id default value as false (#56995) Since version 7, the `xpack.security.audit.logfile.emit_node_id` setting defaults to `false`, yet the docs say otherwise. This commit fixes that. | 20 May 2020, 13:38:05 UTC |
451a496 | Théophile Helleboid - chtitux | 20 May 2020, 13:21:28 UTC | [DOCS] Fix typo in search API `explain` param def (#56991) Co-authored-by: James Rodewig <james.rodewig@elastic.co> | 20 May 2020, 13:22:56 UTC |
180ad17 | Eddie Turizo | 20 May 2020, 12:43:16 UTC | [DOCS] Fix ulimit value in system settings docs (#56973) Correctly documents the ulimit value as 65535. The limit was lowered as part of #37537. | 20 May 2020, 12:44:48 UTC |
112ab7c | James Rodewig | 19 May 2020, 20:54:36 UTC | [DOCS] Add JS client helper links to docs (#55216) Adds links for the Elasticsearch-js client to the bulk and scroll docs. Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com> | 19 May 2020, 20:54:36 UTC |
8df97f6 | Adam Locke | 19 May 2020, 19:09:18 UTC | [DOCS] Add links to `flattened` datatype (#56794) (#56962) * Changes for #52239. * Incorporating review feedback from Julie T. Also single-sourcing nexted options in the Mapping page and referencing them in the Nested page. * Moving tip after the introduction and clarifying limits. * Update docs/reference/mapping.asciidoc Co-authored-by: James Rodewig <james.rodewig@elastic.co> * Update docs/reference/mapping/types/nested.asciidoc Co-authored-by: James Rodewig <james.rodewig@elastic.co> Co-authored-by: James Rodewig <james.rodewig@elastic.co> Co-authored-by: James Rodewig <james.rodewig@elastic.co> | 19 May 2020, 19:09:18 UTC |
489d1d3 | Adam Mohammed | 19 May 2020, 16:02:34 UTC | [DOCS] Fix typo in secure settings docs (#56778) | 19 May 2020, 16:07:35 UTC |
61b0e3a | James Rodewig | 19 May 2020, 15:04:53 UTC | [DOCS] Remove outdated links for `similarity` mapping param args (#56925) | 19 May 2020, 15:22:29 UTC |
7d3c5c6 | Abhilash Bolla | 19 May 2020, 13:14:51 UTC | [DOCS] Fix fingerprint token filter's analyzer example (#56811) | 19 May 2020, 13:14:51 UTC |
dc47ea0 | Rene Groeschke | 18 May 2020, 15:35:00 UTC | Update spotless plugin (#56880) | 18 May 2020, 15:35:38 UTC |
d406a53 | Rene Groeschke | 18 May 2020, 15:10:40 UTC | Update gradle enterprise plugin to 3.3.1 (#56885) - includes several fixes regarding duplicate id errors - includes fix for background upload | 18 May 2020, 15:20:36 UTC |
d7808a6 | Rene Groeschke | 18 May 2020, 15:09:11 UTC | Update gradle wrapper to 6.4.1 (#56881) | 18 May 2020, 15:20:32 UTC |
82e751d | Yannick Welsch | 18 May 2020, 14:10:34 UTC | Increase timeout for assertLongBusy in AutoFollowIT (#56910) Closes #56891 | 18 May 2020, 14:23:02 UTC |
fd926fd | Mark Vieira | 18 May 2020, 14:19:40 UTC | Ensure dependency report task depends on upstream reporting tasks (#56853) | 18 May 2020, 14:20:37 UTC |
dd165f3 | Dan Hermann | 18 May 2020, 13:39:58 UTC | Report used memory as zero when total memory cannot be obtained | 18 May 2020, 13:39:58 UTC |
80bcd0a | James Rodewig | 18 May 2020, 12:58:25 UTC | [DOCS] Add put snapshot repo API docs (#56827) (#56902) | 18 May 2020, 12:58:25 UTC |
82746af | David Kyle | 18 May 2020, 09:05:53 UTC | Mute sql.client.VersionTests suite (#56883) For #56882 | 18 May 2020, 09:10:16 UTC |
cfb87d4 | Bogdan Pintea | 16 May 2020, 06:57:37 UTC | Fix range of version number generation in test (#56849) The version number componenent can't equal or exceed the revision multiplier. This fixes a the VersionTests unit test. (cherry picked from commit 7d2331a2818ae20024c5c3617cd4433f90e9c098) | 16 May 2020, 07:01:43 UTC |
7fdefea | Jake Landis | 15 May 2020, 22:46:46 UTC | [7.7] Ensure that .watcher-history-11* template is in installed prior to use (#56734) (#56848) WatcherIndexTemplateRegistry as of #52962 requires all nodes to be on 7.7.0 before it allows the version 11 index template to be installed. While in a mixed cluster, nothing prevents Watcher from running on the new host before the all of the nodes are on 7.7.0. This will result in the .watcher-history-11* index without the proper mappings. Without the proper mapping a single document (for a large watch) can exceed the default 1000 field limit and cause error to show in the logs. This commit ensures the same logic for writing to the index is applied as for installing the template. In a mixed cluster, the `10` index template will continue to be written. Only once all of nodes are on 7.7.0+ will the `11` index template be installed and used. closes #56732 | 15 May 2020, 22:46:46 UTC |
0b25ad3 | Tim Brooks | 15 May 2020, 21:57:57 UTC | Prevent connection races in testEnsureWeReconnect (#56847) Currently it is possible that a sniff connection round is occurring as we enter another test loop in testEnsureWeReconnect. The problem is that once we enter another loop, closing the connection manually can cause this pre-existing connection round to fail. This round failing can fail the test. This commit fixes the issue by ensuring that there are no in-progress connections before entering another loop. | 15 May 2020, 22:14:28 UTC |
5f4411c | James Rodewig | 15 May 2020, 21:17:05 UTC | [DOCS] Sort metric and pipeline agg docs (#56613) (#56844) Co-authored-by: Gil Raphaelli <gil@elastic.co> | 15 May 2020, 21:17:05 UTC |
c5949ac | Gabriel Petrovay | 15 May 2020, 20:52:09 UTC | Fixed calendar intervals documentation (#56666) - the 1-letter intervals are not parseable (`m`, `h`, `d`, `w`, `M`, `q`, `y`) - fixed formatting broken by new lines | 15 May 2020, 20:54:19 UTC |
e02e305 | Dimitris Athanasiou | 15 May 2020, 17:52:35 UTC | [7.7][ML] Ensure class is represented when its cardinality is low (#56783) (#56832) In DF analytics classification, it is possible to use no samples of a class if its cardinality is too low. This commit fixes this by ensuring the target sample count can never be zero. Backport of #56783 | 15 May 2020, 17:52:35 UTC |
090dcef | Bogdan Pintea | 15 May 2020, 17:35:16 UTC | SQL: JDBC: fix access to the Manifest for non-entry JAR URLs (#56797) (#56837) * JDBC: fix access to the Manifest for non-entry JAR The JDBC driver will attempt to read its version from the Manifest file embedded into its JAR. The URL pointing to the JAR can be provided in a few ways. So far, accessing the Manfiest was attempted by getting a URLConnection out of the URL and then getting an input stream out of this connection. For file JAR URLs, this only works however if the URL points to the driver as a JAR file entry (i.e. <sub-url>!/jdbc-driver.jar!/). If that's not the case, the JarURLConnection will throw an IOException. This commit fixes that: in case the URL points to a JAR entry (jar:file:<path>/jdbc-driver.jar!/), the manifest is read directly with JarURLConnection#getManifest(). (cherry picked from commit 2175b7b01cf5fcf3ab2bb21404a9bd454a8df3f0) | 15 May 2020, 17:35:16 UTC |
c18ddde | Lee Hinman | 15 May 2020, 17:14:22 UTC | Remove unneeded component template YML test (#56791) In 7.7 this test is unnecessary, as component templates were not used at all, and we now have tests in the 7.8+ branches that test the functionality. The component template APIs were always behind a system property flag and never actually exposed. This test is causing failures where the system property flag was not set in all places where the test was run, and rather than the added complexity of propogating the system property, it would be better to remove the test from a branch where the functionality was never actually exposed. | 15 May 2020, 17:14:22 UTC |
0b1eb22 | James Baiera | 15 May 2020, 16:02:18 UTC | EnrichProcessorFactory should not throw NPE if missing metadata (#55977) (#56798) In some cases the Enrich processor factory may be called before it is ready to create processors. While these calls are usually made in error, the response from the Enrich processor is an NPE which is almost always an unhelpful error when debugging an issue. | 15 May 2020, 16:02:18 UTC |
6d269ab | Martijn van Groningen | 15 May 2020, 15:43:10 UTC | Remove data stream yaml test in 7.7 branch (#56808) Data streams were not released in 7.7.x and only available behind a feature flag. The feature flag isn't set in all the places and instead of adding complexity to the 7.7 branch for an unreleased feature, it would be better to remove the yaml test. | 15 May 2020, 15:43:10 UTC |
85a864b | David Turner | 15 May 2020, 06:40:30 UTC | Suppress Kerberos tests on JDK15 (#56767) Somewhat convoluted AwaitsFix for #56507 that only applies on JDK15. | 15 May 2020, 09:04:02 UTC |
06759c6 | Jim Ferenczi | 14 May 2020, 09:45:36 UTC | Stop/Start async search maintenance service in tests(#56673) This change ensures that the maintenance service that is responsible for deleting the expired response is stopped between each test. This is needed since we check that no search context are in-flight after each test method. Fixes #55988 | 15 May 2020, 08:28:23 UTC |
a199c56 | Ryan Ernst | 15 May 2020, 01:56:59 UTC | Move publishing configuration to a separate plugin (#56727) This is another part of the breakup of the massive BuildPlugin. This PR moves the code for configuring publications to a separate plugin. Most of the time these publications are jar files, but this also supports the zip publication we have for integ tests. | 15 May 2020, 03:29:26 UTC |
571f67c | Mark Vieira | 14 May 2020, 21:53:22 UTC | Apply spotless formatting | 14 May 2020, 21:53:22 UTC |
6df7c0e | Mark Vieira | 14 May 2020, 20:57:42 UTC | Enforce strict license distribution requirements (#56642) | 14 May 2020, 21:43:36 UTC |
96d8ffc | Jake Landis | 14 May 2020, 20:52:24 UTC | [7.7] Reduce chance for test failure due to schedule (#56633) (#56693) If CI is running tests at exactly 0 or 5 minutes past the hour the ack-watch docs tests may fail with a 409 error if the ack test happens to run at the exact time that the schedule watch is running. This commit changes the public documentation (and the test) for the ack to a feb 29th at noon schedule. Test doc or tests do not really care about the schedule date and this is chosen since it is a valid date, but one that is extremely unlikely to cause issues. | 14 May 2020, 20:52:24 UTC |
742e683 | David Turner | 14 May 2020, 11:32:52 UTC | Revert "AwaitsFix for #56761" This reverts commit b2ec3db48dbfc3cbc03067cb5c4d5360c5ee5b54. | 14 May 2020, 11:32:52 UTC |