76088da | Mark Vieira | 26 May 2021, 14:57:15 UTC | Add JAVA15_HOME to packer_cache.sh script | 26 May 2021, 14:57:23 UTC |
b44ea7b | David Roberts | 26 May 2021, 14:53:49 UTC | [ML] Further increase memory estimates for categorization (#73370) Memory estimates for categorization were increased in #68859, but testing has shown some data sets where categorization legitimately creates far more categories that usual. This change doubles the categorization memory estimate to 20MB per partition, and also applies the multiplier when stop-on-warn is disabled to single partition categorization (where it is not possible to enable stop-on-warn). | 26 May 2021, 14:53:49 UTC |
ca6c7e4 | David Roberts | 26 May 2021, 14:43:53 UTC | [ML] Reduce warning logging from get categories Grok pattern creation (#73373) The Grok pattern creator used within the get categories action works by looking at the examples for each category. Sometimes these examples are truncated, and cannot be used for Grok pattern determination. Previously when this happened we would log a warning, but that caused a feedback loop in the case where the Elasticsearch logs themselves were being categorized: the warning messages would end up creating new categories in the Elasticsearch log categorization, with very long examples that would be truncated, leading to the same problem occurring yet again. This change reduces the warning log to trace for truncated log messages, and also removes the example from the log message to shorten it. | 26 May 2021, 14:43:53 UTC |
2aa4c36 | James Rodewig | 26 May 2021, 13:43:26 UTC | [DOCS] Fix typos | 26 May 2021, 13:43:26 UTC |
3254062 | James Rodewig | 26 May 2021, 13:20:46 UTC | [DOCS] Change 'wildcard expression' to 'wildcard pattern' | 26 May 2021, 13:20:46 UTC |
7e3f098 | Przemysław Witek | 26 May 2021, 11:49:54 UTC | [Transform] Revamp transform config and query validation code (#72526) | 26 May 2021, 11:49:54 UTC |
ddc3744 | Armin Braun | 26 May 2021, 10:54:26 UTC | Speed up Maps.copyMapWithAddedEntry to Speed up ITs (#73308) This method is taking about 4% of CPU time with internal cluster tests for me. 80% of that were coming from the slow immutability assertion, the rest was due to the slow way we were building up the new map. The CPU time slowness likely translates into outright test slowness, because this was mainly hit through adding transport handlers when starting nodes (which happens on the main test thread). Fixed both to save a few % of test runtime. | 26 May 2021, 10:54:26 UTC |
0bb41ba | István Zoltán Szabó | 26 May 2021, 10:06:54 UTC | [DOCS] Adds screenshots to Transform examples (#72939) Co-authored-by: Lisa Cawley <lcawley@elastic.co> | 26 May 2021, 10:06:54 UTC |
628980c | Martijn van Groningen | 26 May 2021, 08:07:12 UTC | Data stream aliases and action request's includeDataStreams flag. (#73266) When data stream aliases are resolved then the includeDataStreams flag of an action request should be taken into account, so that data stream aliases aren't resolved to backing indices for apis that don't support data streams. Closes #73195 | 26 May 2021, 08:07:12 UTC |
8c5f50f | Tanguy Leroux | 26 May 2021, 07:40:28 UTC | Do not remove write block when unfreezing cold/frozen indices (#73368) Unfreezing a snapshot backed index does not work well because the unfreeze action always removes the index.blocks.write block, causing shards to be failed when the cluster state is applied on data nodes. This is because searchable snapshots shards always expect the index.blocks.write to be set to true. This commit changes the freeze/unfreeze action so that the write block is not removed when unfreezing searchable snapshots indices. It also changes the toggling of index.frozen and index.search.throttled settings so that they are just removed (instead of being turned to false) when unfreezing. | 26 May 2021, 07:40:28 UTC |
1a2a3df | Marios Trivyzas | 26 May 2021, 06:39:35 UTC | SQL: Fix issue with aliased subqueries and GROUP BY (#73233) Previously, when a subquery was used with an alias in combination with a nested GROUP BY, the collapsing of the nested queries into a flattened `Aggregate` query, lead to wrong attribute qualifier on the external projection, which was still referencing the removed subquery. e.g.: For the following query: ``` SELECT languages FROM ( SELECT languages FROM test_emp GROUP BY languages ) AS subquery ``` The `languages` of the top level SELECT, was qualified with `subquery` which was removed during the flattening optimisation leading to Exception of not being able to resolve the refenced group: `test_emp.languages`. Fix this behaviour by introducing a new rule which precedes the `PruneSubqueryAliases` rules and updates the `qualifier` for the `FieldAttributes`. Fixes: #69263 | 26 May 2021, 06:39:35 UTC |
35584d9 | Tamara Braun | 26 May 2021, 06:25:53 UTC | Make RBACEngine.resolveAuthorizedIndicesFromRole Return Set for Lookups (#72598) This changes the result of AuthorizationEngine.loadAuthorizedIndices (and dependent methods) from List<String> to Set<String>. This has the following performance benefits: 1. `contains` checks are faster 2. RBACEngine always formed this collections as a Set, so this change reduces unnecessary copying. An additional performance improvement was added when resolve authorized index names for data streams. | 26 May 2021, 06:25:53 UTC |
157f533 | Ignacio Vera | 26 May 2021, 05:16:17 UTC | speed up geotile aggregation over geo_shape field (#72984) compute the range of tiles that needs to be added instead of using recursion. | 26 May 2021, 05:16:17 UTC |
b58dfee | Yang Wang | 26 May 2021, 03:48:15 UTC | Service Accounts - Add token source to authenticate metadata (#73135) Service token of the same name can come from either a file or the security index. Add the token source information to the authentication metadata to differentiate between them. This information is also serialised under token.type in the rest response back to users. | 26 May 2021, 03:48:15 UTC |
7f8ee2a | Yang Wang | 26 May 2021, 00:44:21 UTC | Service Accounts - show token name for name validation failures (#73131) The code now shows the exact token name when it fails to validate. So it is no longer needed to guess the actual failure. | 26 May 2021, 00:44:21 UTC |
8b0f884 | Mark Vieira | 25 May 2021, 23:43:40 UTC | Use OpenJDK15 for building BWC branches | 25 May 2021, 23:43:40 UTC |
034cd45 | Mark Vieira | 25 May 2021, 23:39:46 UTC | Add JAVA15 environment variable for EAR CI job | 25 May 2021, 23:39:46 UTC |
980fd73 | Mark Vieira | 25 May 2021, 23:38:32 UTC | Add JAVA15 environment variable for required CI builds | 25 May 2021, 23:38:41 UTC |
584974e | William Brafford | 25 May 2021, 20:45:49 UTC | Validate that system indices aren't also hidden indices (#72768) * Validate that system indices aren't also hidden inidices * Remove hidden from ingest geo system index * Add test coverage * Remove hidden setting from system index even if not upgrading | 25 May 2021, 20:45:49 UTC |
39a0314 | James Rodewig | 25 May 2021, 20:19:00 UTC | [DOCS] Update alias xrefs (#73380) Updates several internal 'alias' xrefs to point to the aliases guide rather than API docs. | 25 May 2021, 20:19:00 UTC |
bc9521e | Mark Vieira | 25 May 2021, 19:43:20 UTC | Bump minimum compiler version to Java 16 (#71989) | 25 May 2021, 19:43:20 UTC |
221c571 | David Turner | 25 May 2021, 19:23:12 UTC | Fix location of repository analyzer API spec (#73378) The repository analyzer API spec was incorrectly stored in the plugin directory rather than in the main `rest-api-spec` directory. This commit fixes that. | 25 May 2021, 19:23:12 UTC |
89ed0c8 | Adam Locke | 25 May 2021, 19:09:31 UTC | [DOCS] Expand information on using a runtime field without a script (#73219) * [DOCS] Expand information on when to use a runtime field without a script * Reworking information based on review feedback * Clarify case where doc_values are disabled * A few minor changes from review feedback | 25 May 2021, 19:09:31 UTC |
13b8715 | Adam Locke | 25 May 2021, 19:07:35 UTC | [DOCS] Adding redirect for cross-link from Cloud (#73351) (#73383) | 25 May 2021, 19:07:35 UTC |
0336e01 | Adam Locke | 25 May 2021, 18:23:58 UTC | [DOCS] Update bi-directional CCR note (#72266) * [DOCS] Update bi-directional CCR note * Integrating note with a new sub-section * Add "particularly" | 25 May 2021, 18:23:58 UTC |
a4e7fcf | James Rodewig | 25 May 2021, 16:23:42 UTC | [DOCS] Fix typo | 25 May 2021, 16:23:42 UTC |
b1ad71b | James Rodewig | 25 May 2021, 15:52:16 UTC | [DOCS] Add alias guide (#73062) Creates a guide for aliases. We can use this guide to house concepts, examples, and tips for aliases. | 25 May 2021, 15:52:16 UTC |
7458b47 | Yang Cheng | 25 May 2021, 15:44:59 UTC | [Doc]Missing xpack role in cat transforms (#73310) | 25 May 2021, 15:44:59 UTC |
6cf3d65 | Mark Vieira | 25 May 2021, 15:25:55 UTC | Add 7.13.1 version constant | 25 May 2021, 15:26:25 UTC |
822eb9d | Chris Roberson | 25 May 2021, 14:35:10 UTC | [Monitoring] Add ability for monitoring_user role to read from metricbeat-* (#71233) * Add ability for monitoring_user role to read from metricbeat-* * Fix style | 25 May 2021, 14:35:10 UTC |
4b4f5f8 | David Roberts | 25 May 2021, 13:05:25 UTC | [ML] Adjusting minimum version where ML uses composable templates (#73360) To be merged after #73335 | 25 May 2021, 13:05:25 UTC |
fe21fe7 | Martijn van Groningen | 25 May 2021, 12:54:41 UTC | Fix jdocs of EnrichStore#putPolicy(...) method and tweak logic. (#73364) | 25 May 2021, 12:54:41 UTC |
c816765 | Yang Wang | 25 May 2021, 07:01:43 UTC | [Test] Synchronize when iterate through SynchronizedCollection (#73080) A SychronizedCollection needs to be manually synchronized when iterating through it, including stream. This is explicitly called out in its source code https://github.com/openjdk/jdk15u/blob/master/src/java.base/share/classes/java/util/Collections.java#L2105 NOTE: Though this issue exists for both master and 7.x, the test was muted for a different reason in master. Hence this PR does not remove the mute on master. It will remove the mute on 7.x when backporting. Resolves: #68664 | 25 May 2021, 07:01:43 UTC |
95fe9c7 | Yang Wang | 25 May 2021, 06:42:16 UTC | Service Accounts - audit logging for service token name (#72198) Multiple service tokens can be created for the same service account. Each token has a name to uniquely identify itself. This PR ensures the token name is logged for audit events of authentication_success, authentication_failed (when applicable), access_granted and access_denied. | 25 May 2021, 06:42:16 UTC |
aa66724 | Adam Locke | 24 May 2021, 21:43:46 UTC | [DOCS] Add redirects for Cloud pages to SAML and OIDC docs (#73343) (#73348) | 24 May 2021, 21:43:46 UTC |
95bccda | Lee Hinman | 24 May 2021, 20:38:34 UTC | Remove deprecated ._tier allocation filtering settings (#73074) These settings were deprecated in 7.13+ in #72835 and are now removed by this commit. This commit also ensures that the settings are removed from index metadata when the metadata is loaded. The reason for this is that if we allow the settings to remain (because they are not technically "invalid"), then the index will not be able to be allocated, because the FilterAllocationDecider will be looking for nodes with the _tier attribute. | 24 May 2021, 20:38:34 UTC |
12c2c1f | James Rodewig | 24 May 2021, 18:19:52 UTC | [DOCS] Fix formatting (#73338) | 24 May 2021, 18:19:52 UTC |
6a38aff | Andrei Dan | 24 May 2021, 18:15:16 UTC | [DOCS] Clarify that at least one met condition triggers rollover (#73224) | 24 May 2021, 18:15:16 UTC |
6b991c5 | Nik Everett | 24 May 2021, 18:14:12 UTC | Test: Use hamcrest for MatchAssertion (#72928) Ever since I wrote `NotEqualsMessageBuilder` I've thought to myself "if this were a hamcrest matcher we could use it everywhere and get nicer error messages." A few weeks ago I finally built a work-alike hamcrest matcher that I think produces better error messages. This plugs that matcher into the `MatchAssertion` used by our yaml and docs tests. | 24 May 2021, 18:14:12 UTC |
6aa47a9 | Nik Everett | 24 May 2021, 17:57:23 UTC | Fix spurious error in test (#73336) Fix a test that was failing to correctly identify that we can't optimize the `exist` filter on keyword fields. We can't optimize it most of the time, but it thought we could *sometimes* because we can optimize it *sometimes*. Specifically, when there are no values for that field in the segment at all. The test bumped into segments like that and, correctly, optimized the filter. This changes the test to make sure we never bump into segments like that when we're asserting that we *can't* optimize the agg. Closes #73185 | 24 May 2021, 17:57:23 UTC |
ffa3833 | David Roberts | 24 May 2021, 13:54:17 UTC | Muting ILMDocumentationIT.testAddSnapshotLifecyclePolicy Due to https://github.com/elastic/elasticsearch/issues/73317 | 24 May 2021, 13:54:17 UTC |
0f1fb46 | James Rodewig | 24 May 2021, 12:39:05 UTC | [DOCS] Expand and reuse `aliases` parameters (#73296) Changes: * Expands the `aliases` parameter for the create index API to better document supported properties. * Reuses `aliases` parameter in the following API docs: * Clone index API * Shrink index API * Split index API | 24 May 2021, 12:39:05 UTC |
6050bd5 | David Roberts | 24 May 2021, 12:21:03 UTC | Muting search/110_field_collapsing/field collapsing and search_after (#73320) Due to https://github.com/elastic/elasticsearch/issues/73316 | 24 May 2021, 12:21:03 UTC |
0216cf0 | David Roberts | 24 May 2021, 10:13:24 UTC | [ML] Switch ML internal index templates to composable templates (#73232) Legacy index templates are deprecated but ML was still using them for its hidden indices. This PR switches the legacy ML index templates to use the new composable index template framework. The composable index templates get installed once the master node is on a version that understands them. For templates that need to be up-to-date in mixed version clusters where the master might still be on a version that doesn't understand composable index templates we still ship the legacy template too, and install this if required in the mixed version cluster. (The notifications index template falls into this category.) This makes a couple of places in the code a little messy, as the new style template definitions don't contain a dummy _doc level (where the type used to be), but the legacy template definitions do - hopefully we can tidy this up in master once 8.0 is released. There is one more change of note in this PR that is not strictly related to switching to composable templates, but which was shown up during the testing. We used to wait for all templates to be installed by the master node before running tests in mixed version clusters. I do not believe we should have been doing this, as other upgrade orchestration systems, e.g. Cloud, will not be doing this. Our production code needs to install templates and/or mappings before any operation that requires them if there's a chance that the elected master won't have done this in time. Fixes #65437 | 24 May 2021, 10:13:24 UTC |
7080aef | Tim Vernum | 24 May 2021, 03:53:16 UTC | Add more logging to SAML Realm (#73279) This change adds more debug/trace logging to the SAML realm so that its behaviour can be traced more easily at runtime. Some of the information being added is also available from the role mapping log messages, however the runtime behaviour of the SAML realm should be observable without an over reliance on the logging of another package. | 24 May 2021, 03:53:16 UTC |
6c5ab8c | James Rodewig | 20 May 2021, 19:42:54 UTC | [DOCS] Fix data stream ref in index template docs (#73292) Updates an outdated reference to empty `data_stream` objects. The create index template API's `data_stream` parameter now supports the `hidden` property. | 20 May 2021, 19:42:54 UTC |
f5aa824 | Armin Braun | 20 May 2021, 19:25:44 UTC | Stricter Parsing Shard Level Repository Metadata (#73269) Similar to #73268 we should be stricter here, especially when we are super-strict about additional fields anyway. Also, use our parser exception utils to get better exceptions if parsing fails. | 20 May 2021, 19:25:44 UTC |
41a9eae | James Rodewig | 20 May 2021, 18:40:10 UTC | [DOCS] Update `hidden` anchor (#73287) | 20 May 2021, 18:40:10 UTC |
cb943db | James Rodewig | 20 May 2021, 16:21:20 UTC | [DOCS] Reuse index template body params in simulate template API (#73177) Changes: * Reuses and reorders the index template API's body parameters in the simulate template API docs. * Replaces several includes with a shorter xref. * Reformats a sidebar on naming collisions with built-in index templates. | 20 May 2021, 16:21:20 UTC |
a11ea87 | James Rodewig | 20 May 2021, 16:08:40 UTC | [DOCS] Update exists API for data streams (#73180) Updates the exists API docs to better reflect its support of data streams and aliases. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> | 20 May 2021, 16:08:40 UTC |
522283c | Bogdan Pintea | 20 May 2021, 14:56:02 UTC | SQL: Add ODBC proxy support documentation (#73263) This documents how to configure the proxy support for ODBC. It also removes the documentation of the connection string values, these are now all covered by the GUI settings. Co-authored-by: Andrei Stefan <astefan@users.noreply.github.com> | 20 May 2021, 14:56:02 UTC |
b13f43b | Armin Braun | 20 May 2021, 13:51:58 UTC | Refactor RestoreService Restore Path (#73258) Make the restore path a little easier to follow by splitting it up into the cluster state update and the steps that happen before the CS update. Also, document more pieces of it and remove some confusing redundant code. | 20 May 2021, 13:51:58 UTC |
81de369 | James Rodewig | 20 May 2021, 12:38:37 UTC | [DOCS] Fix query parameters for restore API (#73015) | 20 May 2021, 12:38:37 UTC |
25dcc62 | Armin Braun | 20 May 2021, 12:16:12 UTC | Fix SnapshotInfo.fromXContentInternal not Fully Consuming Parser (#73268) The parsing here was causing trouble with the new streaming deserialization because it did not fully consume the parser so if the internal buffer of the parser was just enough to finish reading the `"snapshot"` field but missed the closing bracket, then the stream behind the parser would not have been consumed fully. Also it was strangely lenient and would just read a broken in-progress `SnapshotInfo` if it ran into SMILE that contained any object field under any key that isn't "snapshot". I made it a little stricter now to enforce that we have a "snapshot" field and not just an object field by any name. | 20 May 2021, 12:16:12 UTC |
0f0cdcb | Henning Andersen | 20 May 2021, 09:18:42 UTC | [DOCS] Use partially mounted in autoscaling docs (#73229) Fixed autoscaling docs to no longer call partially mounted indices or shards for frozen indices/shards, now uses partially mounted indices or shards. Closes #73132 Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> | 20 May 2021, 09:18:42 UTC |
0b03f69 | Rene Groeschke | 20 May 2021, 06:46:20 UTC | Fix Spotless failing with InvocationTargetException on JDK 16 (#73246) | 20 May 2021, 06:46:20 UTC |
b23dfe2 | Julie Tibshirani | 19 May 2021, 23:24:23 UTC | Adjust REST tests now that #73023 is backported | 19 May 2021, 23:24:23 UTC |
f85a9dd | Julie Tibshirani | 19 May 2021, 21:21:18 UTC | Support field collapsing with search_after (#73023) This change adds support for using `search_after` with field collapsing. When using these in conjunction, the same field must be used for both sorting and field collapsing. This helps keep the behavior simple and predictable. Otherwise it would be possible for a group to appear on multiple pages of results. Currently search after is handled directly in `CollapsingTopDocsCollector`. As a follow-up, we could generalize the logic and move support to the Lucene grouping framework. Closes #53115. | 19 May 2021, 21:21:18 UTC |
9b99234 | Mark Tozzi | 19 May 2021, 20:04:36 UTC | Javadoc for how aggs work (#73214) Based a tech talk Nik gave, I just typed up the notes. | 19 May 2021, 20:04:36 UTC |
4162a57 | Gordon Brown | 19 May 2021, 19:09:35 UTC | Handle the existence of system data streams in Get Aliases API (#73244) This commit adjusts the behavior of the Get Aliases API to more thoroughly prevent errors and warnings from being emitted unnecessarily from the Get Aliases API by retrieving all indices including system ones and only warning in the post processing of the action. Additionally, the IndexAbstractionResolver has been updated to properly handle system data streams when evaluating visibility. Closes #73218 Co-authored-by: jaymode <jay@elastic.co> | 19 May 2021, 19:09:35 UTC |
caffbd5 | Joe Gallo | 19 May 2021, 16:19:34 UTC | Remove obsolete ilm BWC checks (#73220) | 19 May 2021, 16:19:34 UTC |
70cfcf8 | Joe Gallo | 19 May 2021, 16:18:26 UTC | Remove obsolete datastream BWC checks (#73247) | 19 May 2021, 16:18:26 UTC |
8170376 | David Turner | 19 May 2021, 15:16:41 UTC | Restore global state does not merge (#73226) Today the docs indicate that restoring a snapshot with `include_global_state` set will merge the ingest pipelines, ILM policies, settings etc in the snapshot with those already in the cluster. This isn't the case, we simply replace all the things. This commit corrects the docs. | 19 May 2021, 15:16:41 UTC |
25dcfae | James Rodewig | 19 May 2021, 13:44:51 UTC | [DOCS] Fix reindex API intro (#73188) The destination doesn't need to pre-exist. | 19 May 2021, 13:44:51 UTC |
fb212e4 | James Rodewig | 19 May 2021, 12:50:19 UTC | [DOCS] Fix typo | 19 May 2021, 12:50:19 UTC |
c9a09e3 | James Rodewig | 19 May 2021, 12:37:16 UTC | [DOCS] Remove `_all` examples from 'Fix common cluster issues' (#73217) We plan to deprecate the `_all` wildcard pattern. This removes several `_all` examples from the 'Fix common cluster issues' guide. | 19 May 2021, 12:37:16 UTC |
a6830ed | István Zoltán Szabó | 19 May 2021, 12:34:11 UTC | Fixes URL in security enroll node API json. (#73228) | 19 May 2021, 12:34:11 UTC |
f273bcf | Martijn van Groningen | 19 May 2021, 12:15:34 UTC | Disable watcher debug logging in full cluster restart qa tests, maybe enabling it again when investigating watcher full cluster restart qa tests (#48381) | 19 May 2021, 12:18:17 UTC |
35460a5 | Przemyslaw Gomulka | 19 May 2021, 11:23:47 UTC | [Rest Api Compatibility] REST Terms vector typed response (#73117) Enabling the tests and adds a type field for termvector response the commit that enabled typed endpoints but missed to update the response #72155 | 19 May 2021, 11:23:47 UTC |
4b2c3ab | Martijn van Groningen | 19 May 2021, 08:07:11 UTC | The get aliases api should not return entries for data streams with no aliases (#72953) The get alias api should take into account the aliases parameter when returning aliases that refer to data streams and don't return entries for data streams that don't have any aliases pointing to it. Relates to #66163 | 19 May 2021, 08:07:11 UTC |
e125cb1 | Benjamin Trent | 18 May 2021, 16:08:12 UTC | [ML] adds latest record timestamp to model snapshot deprecation warning (#73066) This adds the latest record timestamp of the deprecated model snapshot in the warning. This hopefully gives the user a better view into whether they would want to delete the snapshot or to upgrade it. | 18 May 2021, 16:08:12 UTC |
7a0eaab | David Turner | 18 May 2021, 15:59:45 UTC | Improve BlobStoreFormatTests#randomCorruption (#73201) This method today corrupts bytes until the checksum changes, but (a) it's comparing the checksum vs one computed before even reading the file, and (b) changing a single byte will always invalidate a CRC-32 checksum so the loop is unnecessary as is the checksum calculation. It also doesn't ever try truncating the file which is a realistic kind of corruption that we must be able to detect. This commit addresses all that. | 18 May 2021, 15:59:45 UTC |
8e46acf | Marten | 18 May 2021, 14:58:44 UTC | Fix typo in Rectangle() error message (#73124) Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> | 18 May 2021, 14:58:44 UTC |
dfa5903 | Benjamin Trent | 18 May 2021, 14:23:37 UTC | [ML] fix empty body on post issue for datafeed _preview (#73205) It is common practice to pass an empty body on a `POST` call. Consequently, a `POST _ml/datafeed/<ID>/_preview` could fail if the body is empty as we try to parse it while IGNORING the ID in the URL. This commit fixes that bug. closes #73206 | 18 May 2021, 14:23:37 UTC |
814839e | Armin Braun | 18 May 2021, 14:19:00 UTC | Fix Edge-Case Threading Bug in TransportMountSearchableSnapshotAction (#73196) The callback to loading the repository-data may not run on generic in the uncached case because of the repo data deduplication logic. The same issue was fixed for the snapshot status API in https://github.com/elastic/elasticsearch/pull/68023 | 18 May 2021, 14:19:00 UTC |
06fc62f | Armin Braun | 18 May 2021, 13:43:34 UTC | Fix UpdateThreadPoolSettingsTests (#73199) Small and obvious oversight from #73172 | 18 May 2021, 13:43:34 UTC |
6a038b2 | Yang Wang | 18 May 2021, 13:19:27 UTC | Service Accounts - Ensure valid random service token name (#73098) The random token name is a base64 UUID. It can sometimes vilolate the validation rules. The base64 UUID is now prefixed with a string token_ to ensure the name is always valid. | 18 May 2021, 13:19:27 UTC |
da24285 | Armin Braun | 18 May 2021, 12:40:39 UTC | Introduce SNAPSHOT_META Threadpool for Fetching Repository Metadata (#73172) Adds new snapshot meta pool that is used to speed up the get snapshots API by making `SnapshotInfo` load in parallel. Also use this pool to load `RepositoryData`. A follow-up to this would expand the use of this pool to the snapshot status API and make it run in parallel as well. | 18 May 2021, 12:40:39 UTC |
77d756b | Ryan Ernst | 18 May 2021, 12:38:35 UTC | Deprecate shared and index data path settings (#73178) This commit adds deprecation warnings for use of the path.shared_data setting as well as the index setting index.data_path. relates #73168 | 18 May 2021, 12:38:35 UTC |
6dd2a2a | Armin Braun | 18 May 2021, 12:33:11 UTC | Deserialize BlobStore Metadata Files in a Streaming Manner (#73149) We were reading the full file contents up-front here because of the complexity of verifying the footer otherwise. This commit moves the logic for reading metadata blobs (that can become quite sizable in some cases) in a streaming manner by manually doing the footer verification as Lucene's utility methods don't allow for verification on top of a stream. | 18 May 2021, 12:33:11 UTC |
d5bf72a | Przemyslaw Gomulka | 18 May 2021, 11:07:13 UTC | [Rest Api Compatibility] Typed endpoints for RestUpdateAction and RestDeleteAction (#73115) the previously removed typed enpotins for Update and Delete are retrofitted in this commit the commit that removed them https://github.com/elastic/elasticsearch/pull/47671 relates main meta issue #51816 relates types removal issue #54160 | 18 May 2021, 11:07:13 UTC |
963c226 | Martijn van Groningen | 18 May 2021, 10:20:37 UTC | Adjust get alias api with aliases pointing to data streams (#73140) Change the get alias api to not return a 404 when filtering by alias name that refers to data streams. Originated from #72953 Relates to #66163 | 18 May 2021, 10:20:37 UTC |
f041a02 | Martijn van Groningen | 18 May 2021, 10:09:39 UTC | Take data stream aliases into account with snapshot and restore (#72970) Data stream aliases are stored separately from the data streams in the cluster state. Currently snapshot/restore only takes data streams into account during snapshotting and restoring, this change changes snapshot/restore to also capture and restore data stream aliases. Which alias instances to use depends on the actual data streams that are included in a snapshot or restored from a snapshot. Relates to #66163 | 18 May 2021, 10:09:39 UTC |
809af34 | Philip Krauss | 18 May 2021, 09:05:31 UTC | Incorrect Parameter value in watcher.stats tests (#73006) * correct param value * remove metric param * Change the expected warning Co-authored-by: Joe Gallo <joegallo@gmail.com> | 18 May 2021, 09:05:31 UTC |
d748852 | Michael Bischoff | 18 May 2021, 07:04:48 UTC | Dissect parsing: An `%` occurring in the delimiter causes incorrect capture of the `${key}` that follows (#72876) * Extending parser Regex Patterns to take into account % appearing in the input. * Adding example failure from the ER to the tests | 18 May 2021, 07:04:48 UTC |
009cbb8 | Yang Wang | 18 May 2021, 01:57:30 UTC | Service Accounts - enforcing token secret min length at authc time (#72519) The secret value of a service account token generated using either the CLI or API is a time-based UUID of length 22 which provides sufficient entropy. But file-based service account tokens can be created with external tools. It is therefore possible that a token is created with too short secret value. Since there is no way to detect it at the token creation or load (from the file) time, this PR adds a check at authentication time to reject such tokens, i.e. it returns an error if the service token (decoded from the bearer string) has a secret value with length less than 10. | 18 May 2021, 01:57:30 UTC |
7ed32f6 | Joe Gallo | 17 May 2021, 23:42:12 UTC | Searchable snapshots mounted in the 'hot' phase should be pinned to hot nodes (#72696) | 17 May 2021, 23:42:12 UTC |
6c29374 | Nhat Nguyen | 17 May 2021, 23:17:27 UTC | Adjust Lucene version after upgraded to 8.9 on 7.14 (#73182) Relates #73130 | 17 May 2021, 23:17:27 UTC |
e36adb3 | Nhat Nguyen | 17 May 2021, 22:09:41 UTC | Disable BWC to upgrade Lucene on 7.x | 17 May 2021, 22:09:41 UTC |
eeb1098 | James Rodewig | 17 May 2021, 16:18:50 UTC | [DOCS] Use query parameters in search API example (#73158) The current search API documentation doesn't include any examples of query parameter usage. This updates the docs to include a simple syntax example using the `from` and `size` query parameters. | 17 May 2021, 16:18:50 UTC |
e9add28 | James Rodewig | 17 May 2021, 15:39:12 UTC | [DOCS] Update anchor and xrefs for `alias` glossary entry (#73169) | 17 May 2021, 15:39:12 UTC |
25421df | James Rodewig | 17 May 2021, 15:08:07 UTC | [DOCS] Add `alias` to glossary (#73065) https://github.com/elastic/elasticsearch/pull/72613 adds data stream support to aliases. This adds an `alias` glossary entry and removes out the current `index alias` entry. | 17 May 2021, 15:08:07 UTC |
6f46ae4 | Greg Back | 17 May 2021, 15:05:03 UTC | Fix comment about number of roles (#73163) This comment is out of date since #71710. | 17 May 2021, 15:05:03 UTC |
dbc37f9 | markharwood | 17 May 2021, 14:54:53 UTC | TermsEnum api - allow null search strings (#73144) Allow null search strings (matches all) Closes #73141 | 17 May 2021, 14:54:53 UTC |
7b64cae | James Rodewig | 17 May 2021, 14:02:08 UTC | [DOCS] Clarify when SLM deletes expired snapshots (#73155) Changes: * Removes an error in the create SLM policy API's `schedule` parameter def. `schedule` is not used to delete expired snapshots. * Updates the `expire_after` parameter def to mention the `slm.retention_schedule` cluster setting. | 17 May 2021, 14:02:08 UTC |
d9b39d3 | James Rodewig | 17 May 2021, 13:49:41 UTC | [DOCS] Fix typo (#73137) (#73150) Co-authored-by: Ernesto Reig <ernesto.reig@gmail.com> | 17 May 2021, 13:49:41 UTC |
1764e8b | Nhat Nguyen | 17 May 2021, 13:37:20 UTC | Upgrade to Lucene-8.9.0-SNAPSHOT-efdc43fee18 (#73130) Upgrades to Lucene-8.9 snapshot which includes: - LUCENE-9507: Custom order for leaves (/cc @mayya-sharipova) - LUCENE-9935: Enable bulk merge for stored fields with index sort | 17 May 2021, 13:37:20 UTC |
ff406a8 | Seth Michael Larson | 17 May 2021, 13:08:06 UTC | Rename 'termsenum' API to 'terms_enum' for better readability | 17 May 2021, 13:08:06 UTC |
4268c76 | David Turner | 17 May 2021, 12:57:49 UTC | Clean up FsHealthService after MDP removal (#73136) Following #72432 we now no longer need a `Set` of unhealthy paths, we can just track the individual path directly. | 17 May 2021, 12:57:49 UTC |
9061e59 | David Turner | 17 May 2021, 12:56:39 UTC | Complete backport of #72931 (#73143) Adjusts wire-compat and re-enables BWC tests | 17 May 2021, 12:56:39 UTC |