b5ca9c5 | Rene Groeschke | 21 July 2020, 12:13:59 UTC | Simplify gradle test task error reporting (#59760) (#59966) * Simplify test error reporting - avoid using extra plugin - avoid extra task listener (should be avoided related to #57918 ) - keep all logic in the listener | 21 July 2020, 12:13:59 UTC |
aae08e5 | Rene Groeschke | 21 July 2020, 10:55:09 UTC | Remove superflous enforce deprecation failure plugin (#59770) (#59903) - With enforcing the build to fail on all gradle deprecated api usage we do not need this tailored plugin anymore | 21 July 2020, 10:55:09 UTC |
0c5b52f | Lisa Cawley | 21 July 2020, 00:46:03 UTC | [DOCS] Changes level offset of anomaly detection pages (#59911) (#59943) | 21 July 2020, 00:46:03 UTC |
bcc4a41 | Mark Vieira | 21 July 2020, 00:08:22 UTC | Remove enforcement of deprecated Gradle API usages | 21 July 2020, 00:08:22 UTC |
cf0fef9 | Lisa Cawley | 20 July 2020, 20:12:43 UTC | [DOCS] Changes level offset for anomaly detection APIs (#59920) (#59930) | 20 July 2020, 20:12:43 UTC |
65315a4 | Lisa Cawley | 20 July 2020, 20:09:50 UTC | [DOCS] Changes level offset in data frame analytics APIs (#59919) (#59926) | 20 July 2020, 20:09:50 UTC |
151c8ec | James Rodewig | 20 July 2020, 19:59:19 UTC | [DOCS] Reformat agg snippets to use two-space indents (#59912) (#59927) | 20 July 2020, 19:59:19 UTC |
78fd33e | James Rodewig | 20 July 2020, 19:06:52 UTC | [DOCS] Reformat Plugin snippets to use two-space indents (#59895) (#59918) | 20 July 2020, 19:06:52 UTC |
dca8fa0 | James Rodewig | 20 July 2020, 19:05:51 UTC | [DOCS] Add performance warning for scripts (#59890) (#59915) | 20 July 2020, 19:05:51 UTC |
2c64a9a | Nik Everett | 20 July 2020, 15:36:45 UTC | Document supported scenarios for CCS (backport of #58120) (#59894) Documents the supported scenarios for CCS. Co-authored-by: Adam Locke <adam.locke@elastic.co> | 20 July 2020, 15:36:45 UTC |
7aee0d0 | Rene Groeschke | 20 July 2020, 15:27:10 UTC | Enforce fail on deprecated gradle usage (7.9 backport) (7.8 backport) (#59882) * Enforce fail on deprecated gradle usage (7.9 backport) (#59851) * Fix branch specific gradle usage deprecations | 20 July 2020, 15:27:10 UTC |
c32024b | Adam Locke | 20 July 2020, 14:18:39 UTC | [7.8] [DOCS] Updating snapshot/restore pages to align with API changes | 20 July 2020, 14:18:39 UTC |
69c0e7c | James Rodewig | 20 July 2020, 14:09:30 UTC | [DOCS] Fix `requests_per_second` reindex param (#59871) (#59878) Corrects the `requests_per_second` query parameter used in the reindex, delete by query, and update by query API docs. The parameter defaults to `-1` (no throttle). `0` is not an allowed value. | 20 July 2020, 14:09:30 UTC |
2cd2e05 | James Rodewig | 20 July 2020, 13:30:03 UTC | [DOCS] Remove collapsible examples (#59820) (#59859) Snippets are now visible without additional clicks. | 20 July 2020, 13:30:03 UTC |
7a3cfc4 | James Rodewig | 20 July 2020, 13:28:04 UTC | [DOCS] Fix keyword marker docs (#59834) (#59865) Co-authored-by: Rui Almeida <ruial@outlook.com> | 20 July 2020, 13:28:04 UTC |
142dc09 | Albert Zaharovits | 20 July 2020, 06:57:43 UTC | Fix DLS/FLS permission for the submit async search action (#59693) The submit async search action should not populate the thread context DLS/FLS permission set, because it is not currently authorised as an "indices request" and hence the permission set that it builds is incomplete and it overrides the DLS/FLS permission set of the actual spawned search request (which is built correctly). | 20 July 2020, 06:57:43 UTC |
6b7e1d5 | James Rodewig | 17 July 2020, 15:31:55 UTC | [DOCS] Reformat Painless snippets to use two-space indents (#59776) (#59793) | 17 July 2020, 15:31:55 UTC |
d107496 | Adam Locke | 17 July 2020, 15:11:51 UTC | Fix Snapshot Status API Docs Test (#59775) (#59790) Introduce a fix to tests by snapshotting a single index+shard in the snapshot that we get the status for and verifying consistency instead of equality for total file counts. Co-authored-by: Armin Braun <me@obrown.io> | 17 July 2020, 15:11:51 UTC |
f637d89 | James Rodewig | 17 July 2020, 14:57:18 UTC | [DOCS] Move highlighting docs to separate page (#59768) (#59783) Moves the highlighting docs from the deprecated 'Request Body Search' chapter to the new subpage of the 'Run a search chapter' section. No substantive changes were made to the content. | 17 July 2020, 14:57:18 UTC |
64400a1 | Rene Groeschke | 17 July 2020, 08:02:21 UTC | Fix all deprecations in resolveAllDependencies (#59751) This fixes #59743 | 17 July 2020, 08:18:25 UTC |
e3f1827 | Tanguy Leroux | 17 July 2020, 08:02:40 UTC | Revert "Mute AzureSearchableSnapshotsIT (#58775)" (#59750) This reverts commit 3f5b6755daad349cd4ee63014c3cf93072c27c4a. | 17 July 2020, 08:02:40 UTC |
eb25e3f | Rene Groeschke | 17 July 2020, 06:41:00 UTC | Remove deprecated compileOnly resolution (#58857) (#59710) - Ideally this should not be required but current runtime classpath seems to require this. We need to revisit the classpath declarations in detail to be able to remove this type of (in theory) superflous compile only references Related to #57920 | 17 July 2020, 06:41:00 UTC |
7398714 | James Rodewig | 16 July 2020, 17:35:29 UTC | [DOCS] Reformat `predicate_token_filter` tokenfilter (#57705) (#59717) | 16 July 2020, 17:35:29 UTC |
4c91848 | Adam Locke | 16 July 2020, 16:27:29 UTC | [DOCS] Adding get snapshot status API docs (#59355) (#59712) * Adding get snapshot status API docs. * Adding more fields and a link to the new page. * Adding missing spaces in TESTRESPONSES * Adding more parameters and making some edits. * Marking snapshot as optional * Marking repository as optional * Add data type for stats * Add data type for shard_stats * Incorporating review feedback. * Lots of review feedback incorporated. * Fixing tests to unbreak CI builds. * Changing indices to index. | 16 July 2020, 16:27:29 UTC |
8b3d19a | lcawl | 16 July 2020, 16:10:30 UTC | [DOCS] Re-adds coming macro in release notes | 16 July 2020, 16:10:30 UTC |
5201e79 | Rene Groeschke | 16 July 2020, 15:13:55 UTC | Fix license header checks on buildSrc (#58457) (#59706) | 16 July 2020, 15:13:55 UTC |
9034268 | Nhat Nguyen | 15 July 2020, 18:41:21 UTC | Mute CcrRollingUpgradeIT Tracked at #59625 | 16 July 2020, 14:05:32 UTC |
834bc2b | lcawl | 15 July 2020, 23:07:43 UTC | [DOCS] Removes docs PR from release notes | 15 July 2020, 23:09:44 UTC |
f79b114 | Nhat Nguyen | 15 July 2020, 22:54:23 UTC | Assign follower primary to nodes with remote cluster client role (#59375) The primary shards of follower indices during the bootstrap need to be on nodes with the remote cluster client role as those nodes reach out to the corresponding leader shards on the remote cluster to copy Lucene segment files and renew the retention leases. This commit introduces a new allocation decider that ensures bootstrapping follower primaries are allocated to nodes with the remote cluster client role. Backport of #59375 Co-authored-by: Jason Tedor <jason@tedor.me> | 15 July 2020, 22:54:23 UTC |
9a6da22 | Xin Yan | 15 July 2020, 17:53:48 UTC | [DOCS] Update similarity.asciidoc (#59400) Community contribution to fix linking issues in the Similarity module docs. | 15 July 2020, 17:53:48 UTC |
cf410a4 | James Rodewig | 15 July 2020, 15:16:12 UTC | [DOCS] Remove coming tag for 7.8 release highlights (#59629) | 15 July 2020, 15:16:12 UTC |
cdcada3 | Pablo Sanz | 15 July 2020, 10:48:04 UTC | Update configuring-metricbeat.asciidoc There is no mention in the documentation that the monitoring data won't be shown in the monitoring tab unless (at least) the master node is configured to send data to the monitoring cluster... This is relevant because when migrating from internal collection to external collection, customers most likely won't start making changes in the master node. | 15 July 2020, 10:48:04 UTC |
1fb198d | Tanguy Leroux | 15 July 2020, 10:20:01 UTC | Use a dedicated thread pool for searchable snapshot cache prewarming (#59313) (#59595) Since #58728 writing operations on searchable snapshot directory cache files are executed in an asynchronous manner using a dedicated thread pool. The thread pool used is searchable_snapshots which has been created to execute prewarming tasks. Reusing the same thread pool wasn't a good idea as it can lead to deadlock situations. One of these situation arose in a test failure where the thread pool was full of prewarming tasks, all waiting for a cache file to be accessible, while the cache file was being evicted by the cache service. But such an eviction can only be processed when all read/write operations on the cache file are completed and in this case the deadlock occurred because the cache file was actively being read by a concurrent search which also won the privilege to write the range of bytes in cache... and this writing operation could never have been completed because of the prewarming tasks making no progress and filling up the thread pool. This commit renames the searchable_snapshots thread pool to searchable_snapshots_cache_fetch_async. Assertions are added to assert that cache writes are executed using this thread pool and to assert that read on cached index inputs are executed using a different thread pool to avoid potential deadlock situations. This commit also adds a searchable_snapshots_cache_prewarming that is used to execute prewarming tasks. It also converts the existing cache prewarming test into a more complte integration test that creates multiple searchable snapshot indices concurrently with randomized thread pool sizes, and verifies that all files have been correctly prewarmed. | 15 July 2020, 10:20:01 UTC |
f43a233 | Martijn Laarman | 15 July 2020, 09:40:36 UTC | [DOCS] Add release notes for 7.8.1 (#59594) | 15 July 2020, 09:40:36 UTC |
f18893a | Yannick Welsch | 15 July 2020, 07:37:34 UTC | Wait for active license in CcrRestIT (#59543) Relates #53966 Closes #59486 | 15 July 2020, 07:39:01 UTC |
e7f524b | Rene Groeschke | 14 July 2020, 14:55:42 UTC | Remove remaining deprecated api usages (#59231) (#59502) - Fix duplicate path deprecation by removing duplicate test resources - Fix deprecated non annotated input property in LazyPropertyList - Fix deprecated usage of AbstractArchiveTask.version - Resolve correct test resources | 14 July 2020, 14:55:42 UTC |
71c7b14 | Leaf-Lin | 13 July 2020, 23:07:41 UTC | Update node.asciidoc (#59201) TIP block was missing due to the lack of line break prior to the "TIP" | 13 July 2020, 23:07:41 UTC |
f5ea5bf | Mark Vieira | 13 July 2020, 22:57:24 UTC | Ensure fixture runtime dependencies are built before starting containers (#59474) | 13 July 2020, 22:58:25 UTC |
5f70c20 | Adam Locke | 13 July 2020, 20:37:58 UTC | Indicating that the size parameter defaults to 10. (#59438) (#59463) | 13 July 2020, 20:37:58 UTC |
e4b8bfb | Jake Landis | 13 July 2020, 18:53:16 UTC | Convert modules to use yamlRestTest (#59089) (#59447) This commit moves the modules REST tests to the newly introduced yamlRestTest source set. A few tests have also been re-named to include the correct IT suffix. Without changing the names, the testing conventions task would fail since now that the YAML tests are no longer present pacify the convention. These tests have moved to the internalClusterTest source set. related: #56841 | 13 July 2020, 18:53:16 UTC |
3ea4a15 | homersimpsons | 13 July 2020, 13:39:30 UTC | [DOCS] MatchQuery: `transpositions` to `fuzzy_transpositions` (#59371) | 13 July 2020, 16:37:49 UTC |
31939ee | Kartika Prasad | 13 July 2020, 11:19:00 UTC | Update indexing-speed.asciidoc (#59347) typo fix | 13 July 2020, 11:20:24 UTC |
c03f8e4 | Dylan Mann | 13 July 2020, 11:13:46 UTC | Update ICU Analyzer Documentation (#59305) | 13 July 2020, 11:15:47 UTC |
84a425d | István Zoltán Szabó | 13 July 2020, 08:57:03 UTC | [DOCS] Fixes getting time features example in Painless in Transforms (#59379) | 13 July 2020, 08:58:47 UTC |
13d1572 | David Roberts | 13 July 2020, 08:35:09 UTC | [DOCS] Adds extra ml-cpp PRs to release notes (#59354) Following the rebuild of 7.8.1 two extra ml-cpp PRs will now be released in 7.8.1. | 13 July 2020, 08:35:09 UTC |
b5c79e9 | Rene Groeschke | 10 July 2020, 14:25:25 UTC | Fix deprecated unsave project outputs resolution (#59088) (#59357) - Fixes how libs in distribution are resolved - Related to #57920 - Required minor rework on common repository setup to allow distribution projects to resolve thirdparty artifacts - Use Default configurations when resolving tools for distribution packaging | 10 July 2020, 14:25:25 UTC |
49d65f3 | Lisa Cawley | 09 July 2020, 20:12:35 UTC | [DOCS] Clarify subscription requirements (#58958) (#59311) | 09 July 2020, 20:12:35 UTC |
43dc988 | Daniel Mitterdorfer | 09 July 2020, 10:52:25 UTC | Mute testMaxRestoreBytesPerSecIsUsed (#59290) Relates #59287 | 09 July 2020, 10:52:25 UTC |
b935a33 | Adam Locke | 08 July 2020, 21:17:36 UTC | [7.8] [DOCS] Adding get snapshot API docs (#59256) * [7.x] [DOCS] Adding get snapshot api docs (#59238) * [DOCS] Adding get snapshot API docs (#59098) * Adding page for get snapshot API. * Adding values for state and cleaning up some other formatting. * Adding missing forward slash to GET request. * Updating values for start_time and end_time in TESTRESPONSE. * Swap "return" for "retrieve" * Swap "return" for "retrieve" 2 * Change .snapshot to .response * Adding response parameters and incorporating edits from review. * Update response example to include repository info * Change dash to underscore * Add data type for snapshot in response * Incorporating review comments and adding missing response definitions. * Minor rewording in description. * Removing multi-snapshot support for 7.x. * Changing end_time value from build error. * Removing .response from snippet testing. * Removing data streams for 7.8. | 08 July 2020, 21:17:36 UTC |
8fd2699 | Mark Vieira | 08 July 2020, 20:49:46 UTC | Parameterize windows packaging test script (#58980) | 08 July 2020, 20:50:39 UTC |
f2258e4 | Lee Hinman | 08 July 2020, 20:24:27 UTC | [7.8] Allow warnings about 'global' template in upgrade tests (#59242) (#59246) These tests sometimes install a template so they can be compatible with older versions, but they run amok of the occasionally installed "global" template which changes the default number of shards. This commit adds `allowedWarnings` and allows these warnings to be present, but doesn't fail if they are not (since the global template is only randomly installed). Resolves #58807 Resolves #58258 | 08 July 2020, 20:24:27 UTC |
7322f3a | Armin Braun | 08 July 2020, 17:13:10 UTC | Fix SLMSnapshotBlockingIntegTests.testSnapshotInProgress (#59218) (#59240) Waiting `INIT` here is dead code in newer versions that don't use `INIT` any longer and leads to nothing being written to the repository in older versions if the snapshot is cancelled at the `INIT` step which then breaks repo consistency checks. Since we have other tests ensuring that snapshot abort works properly we can just remove the wait for `INIT` here and backport this down to 7.8 to fix tests. relates #59140 | 08 July 2020, 17:13:10 UTC |
58a0076 | Rene Groeschke | 08 July 2020, 15:06:13 UTC | Verify distro archives do not contain plain class files (#59073) (#59228) This is a test to ensure we do not run into a regression like we did in https://github.com/elastic/elasticsearch/issues/59031 | 08 July 2020, 15:06:13 UTC |
03f2490 | Lisa Cawley | 08 July 2020, 15:03:38 UTC | [DOCS] Clarifies transform node settings (#59199) | 08 July 2020, 15:03:38 UTC |
5e2b1a6 | Armin Braun | 08 July 2020, 11:49:54 UTC | Disable WindowsFS in MockAPITests (#59163) (#59215) Turns out these tests sometimes run very slow on `WindowsFS` as well so disabling it here. Closes #59133 | 08 July 2020, 11:49:54 UTC |
65f550d | James Rodewig | 07 July 2020, 19:00:01 UTC | [DOCS] Replace `datatype` with `data type` (#58972) (#59186) | 07 July 2020, 19:00:01 UTC |
cd7e1e6 | Lisa Cawley | 07 July 2020, 18:50:09 UTC | [DOCS] Adds ml-cpp PRs to release notes (#59188) | 07 July 2020, 18:50:09 UTC |
66b16ae | James Rodewig | 07 July 2020, 17:03:20 UTC | [DOCS] Clarify atomic change for alias swaps (#59154) (#59165) Small edit highlighting the fact that atomic cluster state change does not guarantee lack of errors for in-flight requests. Co-authored-by: James Rodewig <james.rodewig@elastic.co> Co-authored-by: Grzegorz Banasiak <grzegorz.banasiak@elastic.co> | 07 July 2020, 17:03:20 UTC |
fc47e01 | Rene Groeschke | 07 July 2020, 14:44:15 UTC | Fix dependency related deprecations (#58892) (#59123) | 07 July 2020, 14:44:15 UTC |
80b8dc8 | Rene Groeschke | 07 July 2020, 11:45:52 UTC | Fix implicit duplicate duplicatesStrategy in processResources (#58929) (#59126) * Fix implicit duplicate duplicatesStrategy in processResources * Fix duplicates strategy in docker distribution setup | 07 July 2020, 11:45:52 UTC |
e6c9fca | Rene Groeschke | 07 July 2020, 09:39:05 UTC | Fix external javadoc reference to server project (#59000) (#59118) * Fix external javadoc reference to server project This fixes https://github.com/elastic/infra/issues/20103 The problem here is that we rename all artifacts in the :server project to elasticsearch. The ideal fix would be to rename the gradle project there to elasticsearch. I'm open to that but it seems quite invasive. Would love to hear other opinions on that. The applied alternative minimal invasive fix provided with this PR just takes potential renamed projects / artifacts (Currently I only see `:server`) into account when declaring external links. | 07 July 2020, 09:39:05 UTC |
b0d1d52 | Nhat Nguyen | 15 June 2020, 17:06:31 UTC | Fix recovery stage transition with sync_id (#57754) If the recovery source is on an old node (before 7.2), then the recovery target won't have the safe commit after phase1 because the recovery source does not send the global checkpoint in the clean_files step. And if the recovery fails and retries, then the recovery stage won't transition properly. If a sync_id is used in peer recovery, then the clean_files step won't be executed to move the stage to TRANSLOG. Relates ##7187 Closes #57708 | 07 July 2020, 03:08:37 UTC |
294b891 | Nhat Nguyen | 02 July 2020, 18:34:19 UTC | Avoid flipping translog header version (#58866) An old translog header does not have a checksum. If we flip the header version of an empty translog to the older version, then we won't detect that corruption, and translog will be considered clean as before. Closes #58671 | 06 July 2020, 20:05:28 UTC |
5d4e0c8 | Jake Landis | 06 July 2020, 19:15:22 UTC | 7.8 - Create plugin for yamlTest task (#56841) (#59092) This commit creates a new Gradle plugin to provide a separate task name and source set for running YAML based REST tests. The only project converted to use the new plugin in this PR is distribution/archives/integ-test-zip. For which the testing has been moved to :rest-api-spec since it makes the most sense and it avoids a small but awkward change to the distribution plugin. The remaining cases in modules, plugins, and x-pack will be handled in followups. This plugin is distinctly different from the plugin introduced in #55896 since the YAML REST tests are intended to be black box tests over HTTP. As such they should not (by default) have access to the classpath for that which they are testing. The YAML based REST tests will be moved to separate source sets (yamlRestTest). The which source is the target for the test resources is dependent on if this new plugin is applied. If it is not applied, it will default to the test source set. Further, this introduces a breaking change for plugin developers that use the YAML testing framework. They will now need to either use the new source set and matching task, or configure the rest resources to use the old "test" source set that matches the old integTest task. (The former should be preferred). As part of this change (which is also breaking for plugin developers) the rest resources plugin has been removed from the build plugin and now requires either explicit application or application via the new YAML REST test plugin. Plugin developers should be able to fix the breaking changes to the YAML tests by adding apply plugin: 'elasticsearch.yaml-rest-test' and moving the YAML tests under a yamlRestTest folder (instead of test) | 06 July 2020, 19:15:22 UTC |
8c1961c | Benjamin Trent | 06 July 2020, 17:43:27 UTC | [ML] add exponent output aggregator to inference (#58933) (#59062) This adds support for the exponent output aggregator for ensemble. This is necessary as ensemble models trained by data frame analytics with the mlse loss function cannot simply be summed up. | 06 July 2020, 17:43:27 UTC |
dc4d72c | Nhat Nguyen | 02 July 2020, 14:03:03 UTC | Fix testRestoreLocalHistoryFromTranslogOnPromotion (#58745) If the global checkpoint equals max_seq_no, then we won't reset an engine (as all operations are safe), and max_seqno_of_updates_or_deletes won't advance to max_seq_no. Closes #58163 | 06 July 2020, 16:23:16 UTC |
3e49cf9 | Lee Hinman | 06 July 2020, 16:20:19 UTC | Fix issue reading template mappings after cluster restart (#58964) Due to the way that our `toXContent` of mappings works, we reduce the type to remove `_doc` from template mappings when serializing them to disk as part of cluster state. This causes problems however, as we always expected there to be a `_doc` field in the mappings. This was resolved in later versions of ES (7.9+) by #58521 which uses a real mapper to handle the mappings. For 7.8.1, however, we need to ensure that we can still read the state after it has been persisted to disk. Resolves #58643 Relates to #58883 Relates to #58521 | 06 July 2020, 16:20:19 UTC |
6c6f4b8 | Adam Locke | 06 July 2020, 15:21:06 UTC | Removing ESS icon for xpack.security.audit.enabled. (#59078) (#59080) | 06 July 2020, 15:21:06 UTC |
a7b5a38 | Rene Groeschke | 06 July 2020, 07:42:32 UTC | Fix security-cli distribution packaging (#59048) - This fixes https://github.com/elastic/elasticsearch/issues/59031 - do not use compileclasspath in distribution packaging as it uses by default plain class files | 06 July 2020, 07:48:38 UTC |
0e17654 | Tanguy Leroux | 05 July 2020, 08:49:51 UTC | Check acknowledged responses in FsSearchableSnapshotsIT (#59021) Despite all my attempts I did not manage to reproduce issues like the ones described in #58961. My guess is that the _mount request got retried at some point but I wasn't able to validate this assumption. Still, the FsSearchableSnapshotsIT can be pretty disk heavy if a small random chunk size and a large number of documents is picked up in the tests. The parent class also does not verify the acknowledged status of some requests. This commit lowers down the chunk size and number of docs in tests (this is extensively tests in unit tests) and also adds assertions on acknowledged responses. Relates #58961 | 05 July 2020, 08:50:57 UTC |
e151b02 | Lisa Cawley | 03 July 2020, 17:58:34 UTC | [DOCS] Clarifies number of file and native realms (#58949) | 03 July 2020, 18:01:37 UTC |
9bd95c0 | Bogdan Pintea | 03 July 2020, 16:12:19 UTC | [7.8] SQL: fix handling of escaped chars in JDBC connection string (#58429) (#58976) SQL: fix handling of escaped chars in JDBC connection string (#58429) This commit fixes an issue emerging when the connection string URI contains escaped characters. The original URI is pre-parsed in order to re-assemble a new URI having the optional elements filled in with defaults. The new URI has been using however the unescaped query and fragment parts. So if these contained any escaped `&` or `=` (such as in the password option value), the unescaping would reveal them and make them later interfere with the options parsing. The commit changes that, so that the new URI be built from the unescaped "raw" parts of the original URI. (cherry picked from commit 94eb5a05e79c6e203de548d05b13e00295bd4489) | 03 July 2020, 16:12:19 UTC |
460c701 | Luca Cavanna | 03 July 2020, 12:58:46 UTC | Improve error handling in async search code (#57925) - The exception that we caught when failing to schedule a thread was incorrect. - We may have failures when reducing the response before returning it, which were not handled correctly and may have caused get or submit async search task to not be properly unregistered from the task manager - when the completion listener onFailure method is invoked, the search task has to be unregistered. Not doing so may cause the search task to be stuck in the task manager although it has completed. Closes #58995 | 03 July 2020, 14:43:03 UTC |
f4f0172 | Hendrik Muhs | 03 July 2020, 13:24:31 UTC | [ML] handle broken setup with state alias being an index (#58999) .ml-state-write is supposed to be an index alias, however by accident it can become an index. If .ml-state-write is a concrete index instead of an alias ML stops working. This change improves error handling by setting the job to failed and properly log and audit the problem. The user still has to manually fix the problem. This change should lead to a quicker resolution of the problem. fixes #58482 | 03 July 2020, 13:34:57 UTC |
72cbf8b | Luca Cavanna | 03 July 2020, 10:16:43 UTC | Submit async search to not require read privilege (#58942) When we execute search against remote indices, the remote indices are authorized on the remote cluster and not on the CCS cluster. When we introduced submit async search we added a check that requires that the user running it has the privilege to execute it on some index. That prevents users from executing async searches against remote indices unless they also have read access on the CCS cluster, which is common when the CCS cluster holds no data. The solution is to let the submit async search go through as we already do for get and delete async search. Note that the inner search action will still check that the user can access local indices, and remote indices on the remote cluster, like search always does. | 03 July 2020, 10:30:36 UTC |
e32b967 | David Turner | 03 July 2020, 07:03:03 UTC | Add section on reviews to CONTRIBUTING.md (#57046) The review phase is an important part of contributing to Elasticsearch, but we do not mention it in our instructions to contributors. This commit adds some notes on how contributions are reviewed and describes some common reasons for rejection. Co-authored-by: Colin Goodheart-Smithe <colings86@users.noreply.github.com> | 03 July 2020, 07:21:46 UTC |
bf04673 | Adam Locke | 03 July 2020, 00:14:40 UTC | [7.8] [DOCS] Add supported ESS settings to ES docs (#57953) (#58982) * Adding ESS icons to supported ES settings. * Adding new file for supported ESS settings. * Adding supported ESS settings for HTTP and disk-based shard allocation. * Adding more supported settings for ESS. * Adding descriptions for each Cloud section, plus additional settings. * Adding new warehouse file for Cloud, plus additional settings. * Adding node settings for Cloud. * Adding audit settings for Cloud. * Resolving merge conflict. * Adding SAML settings (part 1). * Adding SAML realm encryption and signing settings. * Adding SAML SSL settings. * Adding Kerberos realm settings. * Adding OpenID Connect Realm settings. * Adding OpenID Connect SSL settings. * Resolving leftover Git merge markers. * Removing Cloud settings page and link to it. * Add link to mapping source * Update docs/reference/docs/reindex.asciidoc * Incorporate edit of HTTP settings * Remove "cloud" from tag and ID * Remove "cloud" from tag and update description * Remove "cloud" from tag and ID * Change "whitelists" to "specifies" * Remove "cloud" from end tag * Removing cloud from IDs and tags. * Changing link reference to fix build issue. * Adding index management page for missing settings. * Removing warehouse file for Cloud and moving settings elsewhere. * Clarifying true/false usage of http.detailed_errors.enabled. * Changing underscore to dash in link to fix ci build. | 03 July 2020, 00:14:40 UTC |
1763b0b | Jake Landis | 02 July 2020, 21:56:26 UTC | Revert "Remove minimumRuntime sourceSet from build-tools (7.8 backport) (#58473)" (#58971) This reverts commit 8a446a300baba62dfaa2c6b7d139b78ce72a22f4. | 02 July 2020, 21:56:26 UTC |
33efff3 | Tim Brooks | 02 July 2020, 21:02:16 UTC | Use `getPortRange` in http server tests (#58966) Currently we are leaving the settings to default port range in the nio and netty4 http server test. This has recently led to tests failing due to what appears to be a port conflict with other processes. This commit modifies these tests to use the test case helper method to generate port ranges. Fixes #58433 and #58296. | 02 July 2020, 21:02:16 UTC |
740b791 | Benjamin Trent | 02 July 2020, 20:04:22 UTC | [ML] fix inference ml-stats-write alias creation (#58947) (#58960) The check for potentially creating the .ml-stats-write alias should verify that the indices actually exist. closes #58662 | 02 July 2020, 20:04:22 UTC |
60c7e23 | Jim Ferenczi | 02 July 2020, 19:51:28 UTC | Fix exists query on unmapped field in query_string (#58804) Since #55785, exists queries rewrite to MatchNoneQueryBuilder when the field is unmapped. This change also introduced a bug in the `query_string` query, using an unmapped field like `_exists_:foo` throws an exception if the field is unmapped. This commit avoids the exception if the query is built outside of an `ExistsQueryBuilder`. Closes #58737 | 02 July 2020, 19:52:47 UTC |
18f3760 | Tal Levy | 02 July 2020, 19:44:33 UTC | Re-enable support for array-valued geo_shape fields. (#58786) (#58943) (#58954) A regression in the mapping code led to geo_shape no longer supporting array-valued fields. This commit fixes this support and adds an integration test to make sure this problem does not return! | 02 July 2020, 19:44:33 UTC |
d8acc84 | Rene Groeschke | 02 July 2020, 18:52:56 UTC | Fix task input declaration when using LazyPropertyMap (#58850) (#58935) | 02 July 2020, 18:52:56 UTC |
e03da57 | Tim Brooks | 24 June 2020, 17:02:20 UTC | Add error logging when http test fails (#58505) Netty4HttpServerTransportTests has started to fail intermittently. It seems like unexpected successful responses are being received when the test is simulating errors. This commit adds logging to the test to provide additional information when there is an unexpected success. It also adds the logging to the nio http test. | 02 July 2020, 17:49:26 UTC |
3e5c42a | Robin Clarke | 02 July 2020, 17:24:26 UTC | [DOCS] Added caveat about the number of file realms (#58369) | 02 July 2020, 17:26:24 UTC |
a6347a8 | Tanguy Leroux | 02 July 2020, 14:38:05 UTC | Fix SearchableSnapshotDirectoryStatsTests (#58912) Similar to #58847 but in a different tests. The failure never reproduced locally but occurs from time to time on CI. | 02 July 2020, 14:40:04 UTC |
5783b63 | James Rodewig | 02 July 2020, 13:52:14 UTC | [DOCS] Fix headings for simple analyzer docs (#58910) (#58919) | 02 July 2020, 13:52:14 UTC |
0a1ef55 | James Rodewig | 02 July 2020, 12:43:18 UTC | [DOCS] Fix `scroll` param typo | 02 July 2020, 12:48:24 UTC |
660b98b | Rene Groeschke | 02 July 2020, 11:09:04 UTC | Remove deprecated AbstractArchiveTask Gradle API usages (#58657) (#58895) * Fix deprecated ArchiveTask configurations * Fix destinationDirectory property reference | 02 July 2020, 11:09:04 UTC |
9707886 | debadair | 02 July 2020, 00:44:35 UTC | [DOCS] Fix cannot must typo. (#58884) | 02 July 2020, 00:46:52 UTC |
97b346c | Mark Vieira | 01 July 2020, 23:08:38 UTC | Upgrade Gradle docker-compose plugin (#58872) | 01 July 2020, 23:09:56 UTC |
a9c2115 | Adam Locke | 01 July 2020, 19:44:50 UTC | [7.8] [DOCS] Adding delete snapshot API docs. (#58865) (#58876) * [DOCS] Adding delete snapshot API docs. * Adding TESTSETUP snippets and fixing original TEST. * Removing extraneous TESTSETUP. * Revising <snapshot> description. * Removing TEST. * Streamline delete API description. * Improve TESTSETUP for snippets. | 01 July 2020, 19:44:50 UTC |
99f7898 | Mark Vieira | 01 July 2020, 18:51:33 UTC | Ignore test seed used in test system properties (#58789) | 01 July 2020, 18:52:43 UTC |
438417f | Nik Everett | 01 July 2020, 17:35:13 UTC | Document using stored scripts for ingest (#58783) This documents using stored scripts for complex conditionals in indest. | 01 July 2020, 17:57:14 UTC |
c57617a | Lee Hinman | 01 July 2020, 17:50:16 UTC | Preserve templates in rolling-upgrade test cases (#58862) This commit preserves templates in preperation for adding some rolling upgrade tests for composable and component templates. | 01 July 2020, 17:50:34 UTC |
4fe481e | James Rodewig | 01 July 2020, 17:47:27 UTC | [DOCS] Remove problematic terms (#58832) (#58852) | 01 July 2020, 17:47:27 UTC |
bca2a2c | Tanguy Leroux | 01 July 2020, 15:52:08 UTC | Fix AbstractSearchableSnapshotsRestTestCase.testClearCache (#58847) Since #58728 part of searchable snapshot shard files are written in cache in an asynchronous manner in a dedicated thread pool. It means that even if a search query is successful and returns, there are still more bytes to write in the cached files on disk. On CI this can be slow; if we want to check that the cached_bytes_written has changed we need to check multiple times to give some time for the cached data to be effectively written. | 01 July 2020, 16:07:33 UTC |
f685d60 | James Rodewig | 01 July 2020, 16:03:09 UTC | [DOCS] Add redirects for 404 pages (#58846) (#58854) | 01 July 2020, 16:03:09 UTC |
6982623 | Nhat Nguyen | 01 July 2020, 15:42:27 UTC | Ensure CCR partial reads never overuse buffer (#58620) When the documents are large, a follower can receive a partial response because the requesting range of operations is capped by max_read_request_size instead of max_read_request_operation_count. In this case, the follower will continue reading the subsequent ranges without checking the remaining size of the buffer. The buffer then can use more memory than max_write_buffer_size and even causes OOM. Backport of #58620 | 01 July 2020, 15:42:27 UTC |
8a446a3 | Rene Groeschke | 01 July 2020, 15:08:07 UTC | Remove minimumRuntime sourceSet from build-tools (7.8 backport) (#58473) * Remove minimumRuntime sourceSet from build-tools * remove license change in loggedexec task * Fix compatibility issue with Math.floorMod | 01 July 2020, 15:08:07 UTC |