-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding best_compression #49974
Adding best_compression #49974
Commits on Jan 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3f3f4ee - Browse repository at this point
Copy the full SHA 3f3f4eeView commit details -
Reenable bw tests after merging elastic#50333. (elastic#50746)
PR elastic#50333 has been merged.
Configuration menu - View commit details
-
Copy full SHA for 1d882c9 - Browse repository at this point
Copy the full SHA 1d882c9View commit details -
[Docs] Update similarity.asciidoc (elastic#50719)
DFRSimilarity -> DFR similarity
Configuration menu - View commit details
-
Copy full SHA for bca8790 - Browse repository at this point
Copy the full SHA bca8790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c37c16 - Browse repository at this point
Copy the full SHA 3c37c16View commit details -
[DOCS] Add default index-time analyzer example (elastic#50501)
The Analysis docs mention including a default analyzer in the index settings. However, no example snippet is included. This adds an example snippet that users can easily copy and adjust.
Configuration menu - View commit details
-
Copy full SHA for 61b6994 - Browse repository at this point
Copy the full SHA 61b6994View commit details -
Make Multiplexer inherit filter chains analysis mode (elastic#50662)
Currently, if an updateable synonym filter is included in a multiplexer filter, it is not reloaded via the _reload_search_analyzers because the multiplexer itself doesn't pass on the analysis mode of the filters it contains, so its not recognized as "updateable" in itself. Instead we can check and merge the AnalysisMode settings of all filters in the multiplexer and use the resulting mode (e.g. search-time only) for the multiplexer itself, thus making any synonym filters contained in it reloadable. This, of course, will also make the analyzers using the multiplexer be usable at search-time only. Closes elastic#50554
Configuration menu - View commit details
-
Copy full SHA for 3594fb2 - Browse repository at this point
Copy the full SHA 3594fb2View commit details -
ElasticSearchExceptionTests guessRootCauses fix (elastic#50752)
testFailureToAndFromXContentWithDetails had incorporated that guessRootCauses returned the wrapper when the underlying exception was not an ElasticsearchException, fixed. Relates elastic#50525
Configuration menu - View commit details
-
Copy full SHA for 95b2a79 - Browse repository at this point
Copy the full SHA 95b2a79View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf47d4 - Browse repository at this point
Copy the full SHA cbf47d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b45d9a1 - Browse repository at this point
Copy the full SHA b45d9a1View commit details -
Fix java home environment variables for experimental jjbb job
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7fe8f02 - Browse repository at this point
Copy the full SHA 7fe8f02View commit details -
Inject environment variables like we do in other CI builds
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 49a8048 - Browse repository at this point
Copy the full SHA 49a8048View commit details -
[DOCS] Add overview page to analysis topic (elastic#50515)
Adds a 'text analysis overview' page to the analysis topic docs. The goals of this page are: * Concisely summarize the analysis process while avoiding in-depth concepts, tutorials, or API examples * Explain why analysis is important, largely through highlighting problems with full-text searches missing analysis * Highlight how analysis can be used to improve search results
Configuration menu - View commit details
-
Copy full SHA for e796b55 - Browse repository at this point
Copy the full SHA e796b55View commit details -
Make InitializePolicyContextStep retryable (elastic#50685)
This commits makes the "init" ILM step retryable. It also adds a test where an index is created with a non-parsable index name and then fails. Related to elastic#48183
Configuration menu - View commit details
-
Copy full SHA for d4ea1a5 - Browse repository at this point
Copy the full SHA d4ea1a5View commit details -
Fix open/close race in ConnectionManagerTests (elastic#50621)
Currently we reuse the same test connection for all connection attempts in the testConcurrentConnectsAndDisconnects test. This means that if the connection fails due to a pre-existing connection, the connection will be closed impacting the state of all connection attempts. This commit fixes the test, by returning a unique connection for each attempt. Fixes elastic#49903.
Configuration menu - View commit details
-
Copy full SHA for 5aff41d - Browse repository at this point
Copy the full SHA 5aff41dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 720ec8f - Browse repository at this point
Copy the full SHA 720ec8fView commit details -
SQL: Optimisation fixes for conjunction merges (elastic#50703)
* SQL: Optimisation fixes for conjunction merges This commit fixes the following issues around the way comparisions are merged with ranges in conjunctions: * the decision to include the equality of the lower limit is corrected; * the selection of the upper limit is corrected to use the upper bound of the range; * the list of terms in the conjunction is sorted to have the ranges at the bottom; this allows subsequent binary comarisions to find compatible ranges and potentially be merged away. The end guarantee being that the optimisation takes place irrespective of the order of the conjunction terms in the statement. Some comments are also corrected. * adress review observation on anon. comparator Replace anonymous comparator of split AND Expressions with a lambda.
Configuration menu - View commit details
-
Copy full SHA for e6fba66 - Browse repository at this point
Copy the full SHA e6fba66View commit details -
Add experimental build for identifying docker-compose issues in CI
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8cc63a0 - Browse repository at this point
Copy the full SHA 8cc63a0View commit details -
Ensure that field collapsing works with field aliases. (elastic#50722)
Previously, the following situation would throw an error: * A search contains a `collapse` on a particular field. * The search spans multiple indices, and in one index the field is mapped as a concrete field, but in another it is a field alias. The error occurs when we attempt to merge `CollapseTopFieldDocs` across shards. When merging, we validate that the name of the collapse field is the same across shards. But the name has already been resolved to the concrete field name, so it will be different on shards where the field was mapped as an alias vs. shards where it was a concrete field. This PR updates the collapse field name in `CollapseTopFieldDocs` to the original requested field, so that it will always be consistent across shards. Note that in elastic#32648, we already made a fix around collapsing on field aliases. However, we didn't test this specific scenario where the field was mapped as an alias in only one of the indices being searched.
Configuration menu - View commit details
-
Copy full SHA for ab7c3b5 - Browse repository at this point
Copy the full SHA ab7c3b5View commit details -
Remove UBI-based Docker images (elastic#50747)
This commit removes the UBI-based Docker images as we are not using this work for now.
Configuration menu - View commit details
-
Copy full SHA for 6fcb6b4 - Browse repository at this point
Copy the full SHA 6fcb6b4View commit details -
Another attempt to work around the JJBB job workspace issue
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e38de2e - Browse repository at this point
Copy the full SHA e38de2eView commit details -
Disable the build trigger until we sort out the JJBB workspace issue
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3465efa - Browse repository at this point
Copy the full SHA 3465efaView commit details -
Foreach processor - fork recursive call (elastic#50514)
A very large number of recursive calls can cause a stack overflow exception. This commit forks the recursive calls for non-async processors. Once forked, each thread will handle at most 10 recursive calls to help keep the stack size and thread count down to a reasonable size.
Configuration menu - View commit details
-
Copy full SHA for 027546b - Browse repository at this point
Copy the full SHA 027546bView commit details -
Adjust the skip version in tests for field collapsing with aliases.
Follow-up to elastic#50722, which was also backported to 7.5 and 7.6.
Configuration menu - View commit details
-
Copy full SHA for 8801ed0 - Browse repository at this point
Copy the full SHA 8801ed0View commit details -
ILM action to wait for SLM policy execution (elastic#50454)
This change add new ILM action to wait for SLM policy execution to ensure that index has snapshot before deletion. Closes elastic#45067
Configuration menu - View commit details
-
Copy full SHA for ee20767 - Browse repository at this point
Copy the full SHA ee20767View commit details -
Wrap triggering of a watch inside an assertBusy(...) invocation
This test replaces the watch index after watcher got started. This triggers watches being reloaded and while this happens the trigger engine is paused, which disallows watches from being triggered. At this time there are no watches in the .watches index and I think this is just unlucky timing. Reloading of watches happens in the background and the watch state can be started when that happens. For normal schedule trigger engines this is not an issue, because watches that are meant to be triggered are triggered when the engine triggers the next time. However for the mock scheduled trigger engine this is different, because watches are triggered programatically and there is no retry in this test. I think just adding `timeWarp().trigger("mywatch");` inside a `assertBusy(...)`` is the right fix here. If it fails because the mock schedule trigger engine is paused then the test will try again. In the mean time the the watches can be reloaded, which then resumes the mock scheduled trigger engine. Closes elastic#50658
Configuration menu - View commit details
-
Copy full SHA for 2a372a9 - Browse repository at this point
Copy the full SHA 2a372a9View commit details -
[DOCS] Improves description for forecast_stats (elastic#50729)
Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for d377298 - Browse repository at this point
Copy the full SHA d377298View commit details -
Enforce Logging of Errors in GCS Rest RetriesTests (elastic#50761)
It's impossible to tell why elastic#50754 fails without this change. We're failing to close the `exchange` somewhere and there is no write timeout in the GCS SDK (something to look into separately) only a read timeout on the socket so if we're failing on an assertion without reading the full request body (at least into the read-buffer) we're locking up waiting forever on `write0`. This change ensure the `exchange` is closed in the tests where we could lock up on a write and logs the failure so we can find out what broke elastic#50754.
Configuration menu - View commit details
-
Copy full SHA for 1ecb19e - Browse repository at this point
Copy the full SHA 1ecb19eView commit details -
[DOCS] Clarifies model_size_stats.total_xxx_field_count objects and r…
…emoves notes in GET job stats API docs. (elastic#50728)
Configuration menu - View commit details
-
Copy full SHA for 2d27087 - Browse repository at this point
Copy the full SHA 2d27087View commit details -
[DOCS] Forms role and privilege requirements as bulleted lists in DFA…
… API docs (elastic#50732) Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for 4f1a344 - Browse repository at this point
Copy the full SHA 4f1a344View commit details -
[DOCS] Improves find_file_structure documentation (elastic#50743)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for 2f9db15 - Browse repository at this point
Copy the full SHA 2f9db15View commit details -
Remove Snapshot Tool from 8.0+ (elastic#50784)
We are only using the snapshot tool with JDK8 and it only works until and excluding 7.4.0. There is no point in continuing to have it in `master`. We should maintain it in `7.x` if it ever needs any changes but its unused and just dead code in `master`.
Configuration menu - View commit details
-
Copy full SHA for 76c6cd1 - Browse repository at this point
Copy the full SHA 76c6cd1View commit details -
[DOCS] Moves analysis resources to PUT DFA API docs (elastic#50704)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for 323ea17 - Browse repository at this point
Copy the full SHA 323ea17View commit details -
Mute TimeSeriesLifecycleActionsIT.testWaitForSnapshot (elastic#50790)
This one is failing a lot => mute Relates elastic#50781
Configuration menu - View commit details
-
Copy full SHA for c093f7f - Browse repository at this point
Copy the full SHA c093f7fView commit details -
[ML][Inference][HLRC] Add necessary lang ident classes (elastic#50705)
This adds the necessary named XContent classes to the HLRC for the lang ident model. This is so the HLRC can call `GET _ml/inference/lang_ident_model_1?include_definition=true` without XContent parsing errors. The constructors are package private as since this classes are used exclusively within the pre-packaged model (and require the specific weights, etc. to be of any use).
Configuration menu - View commit details
-
Copy full SHA for 6b9eba0 - Browse repository at this point
Copy the full SHA 6b9eba0View commit details -
Fix Snapshot Repository Corruption in Downgrade Scenarios (elastic#50692
Configuration menu - View commit details
-
Copy full SHA for dcbe7bb - Browse repository at this point
Copy the full SHA dcbe7bbView commit details -
[Transform] fail to start/put on missing pipeline (elastic#50701)
If a pipeline referenced by a transform does not exist, we should not allow the transform to be created. We do allow the pipeline existence check to be skipped with defer_validations, but if the pipeline still does not exist on `_start`, the pipeline will fail to start. relates: elastic#50135
Configuration menu - View commit details
-
Copy full SHA for 6ccef91 - Browse repository at this point
Copy the full SHA 6ccef91View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffba952 - Browse repository at this point
Copy the full SHA ffba952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62b13fe - Browse repository at this point
Copy the full SHA 62b13feView commit details -
Remove type parameter from CIR.mapping(type, object...) (elastic#50739)
This commit removes the type parameter from `CreateIndexRequest.mapping(type, object...)`, and the associated delegating method on `CreateIndexRequestBuilder`. To make migration simpler, the method on `CreateIndexRequest` is renamed to `simpleMapping`, and on `CreateIndexRequestBuilder` to `setMapping`; this should help the compiler catch all necessary changes on upgrades. Relates to elastic#41059
Configuration menu - View commit details
-
Copy full SHA for 31a29df - Browse repository at this point
Copy the full SHA 31a29dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b7f001 - Browse repository at this point
Copy the full SHA 5b7f001View commit details -
Move scripted metric to ObjectParser (elastic#50708)
This replaces the hand rolled parsing code for scripted metric with `ObjectParser` which is simpler to work with because it is declarative.
Configuration menu - View commit details
-
Copy full SHA for 10ebe8c - Browse repository at this point
Copy the full SHA 10ebe8cView commit details -
Drop "funny" functions building parsers (elastic#50715)
Replaces the "funny" `Function<String, ConstructingObjectParser<T, Void>>` with a much simpler `ConstructingObjectParser<T, String>`. This makes pretty much all of our object parsers static.
Configuration menu - View commit details
-
Copy full SHA for a357a0e - Browse repository at this point
Copy the full SHA a357a0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 933a1bf - Browse repository at this point
Copy the full SHA 933a1bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8602cf - Browse repository at this point
Copy the full SHA e8602cfView commit details -
Do not force refresh when write indexing buffer (elastic#50769)
Today we periodically check the indexing buffer memory every 5 seconds or after we have used 1/30 of the configured memory. If the total used memory is over the threshold, then we refresh the "largest" shards. If refreshing takes longer these intervals (i.e., 5s or 1/30 buffer), then we continue to enqueue refreshes to these shards. This leads to two issues: - The refresh thread pool can be exhausted and other shards can't refresh - Execute too many refreshes for the "largest" shards With this change, we only refresh the largest shards if they are not refreshing. Here we rely on the periodic check to trigger another refresh if needed. We can harden this by making the ongoing refresh triggers the memory check when it's completed. I opted out this option in this PR for simplicity. See: https://discuss.elastic.co/t/write-queue-continue-to-rise/213652/
Configuration menu - View commit details
-
Copy full SHA for fa60d92 - Browse repository at this point
Copy the full SHA fa60d92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a29921 - Browse repository at this point
Copy the full SHA 2a29921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f73522 - Browse repository at this point
Copy the full SHA 4f73522View commit details -
[DOCS] Move snapshot-restore out of modules. (elastic#49618)
* [DOCS] Move snapshot-restore docs out of modules. * [DOCS] Incorporates comments from @jrodewig. * [DOCS] Fix snippet tests
Configuration menu - View commit details
-
Copy full SHA for c1437be - Browse repository at this point
Copy the full SHA c1437beView commit details -
Remove the 'template' field in index templates. (elastic#49460)
The `template` field was deprecated in 6.0 in favor of `index_patterns`, and can now be removed. Relates to elastic#21009.
Configuration menu - View commit details
-
Copy full SHA for 8f48f79 - Browse repository at this point
Copy the full SHA 8f48f79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8334487 - Browse repository at this point
Copy the full SHA 8334487View commit details -
Fix Snapshot Shard Status Request Deduplication (elastic#50788)
* Fix Snapshot Shard Status Request Deduplication The request deduplication didn't actually work for these requests since they had no `equals` and `hashCode` so the deduplicator wouldn't actually recognize equal requests.
Configuration menu - View commit details
-
Copy full SHA for 61a61d7 - Browse repository at this point
Copy the full SHA 61a61d7View commit details -
Mute TimeSeriesLifecycleActionsIT.testWaitForSnapshotSlmExecutedBefore (
elastic#50842) Muting the test while I work on fixing its flakiness. Relates elastic#50781
Configuration menu - View commit details
-
Copy full SHA for 331c6c8 - Browse repository at this point
Copy the full SHA 331c6c8View commit details -
[ML] Reuse SourceDestValidator for data frame analytics (elastic#50841)
This commit removes validation logic of source and dest indices for data frame analytics and replaces it with using the common `SourceDestValidator` class which is already used by transforms. This way the validations and their messages become consistent while we reduce code. This means that where these validations fail the error messages will be slightly different for data frame analytics.
Configuration menu - View commit details
-
Copy full SHA for 8cec7b1 - Browse repository at this point
Copy the full SHA 8cec7b1View commit details -
Introduce reusable QL plugin for SQL and EQL (elastic#50815)
Extract reusable functionality from SQL into its own dedicated project QL. Implemented as a plugin, it provides common components across SQL and the upcoming EQL. While this commit is fairly large, for the most part it's just a big file move from sql package to the newly introduced ql.
Configuration menu - View commit details
-
Copy full SHA for c63d440 - Browse repository at this point
Copy the full SHA c63d440View commit details -
Fix MultiVersionRepositoryAccessIT Tests (elastic#50848)
We need the same fix we did in `7.x` (elastic#50797) and only get snapshot status for the current version or older. Otherwise these tests break for e.g.`7.0.1` due to the same index metadata incompatibility. Closes elastic#50819
Configuration menu - View commit details
-
Copy full SHA for c7f6de9 - Browse repository at this point
Copy the full SHA c7f6de9View commit details -
GlobalBuildInfo support packed-refs with work-tree (elastic#50791)
The packed-refs support was using the original .git path, changed to use the real .git directory after reference from worktree has been followed. Relates elastic#47464
Configuration menu - View commit details
-
Copy full SHA for f04f7aa - Browse repository at this point
Copy the full SHA f04f7aaView commit details -
[DOCS] Fix time_zone example in range query docs (elastic#50830)
One of the example snippets in the range query docs was missing a required 'T' in the `date` format. This adds the required 'T'.
Configuration menu - View commit details
-
Copy full SHA for a68e8da - Browse repository at this point
Copy the full SHA a68e8daView commit details -
Remove type parameter from PutMappingRequest.buildFromSimplifiedDef() (…
…elastic#50844) Mappings built by this method should all be wrapped with _doc, so there's no need to pass the type any more. This also renames the method to simpleMapping, in line with CreateIndexRequest, to help migration by causing compilation errors; and changes the signature to take a String... rather than an Object.... Relates to elastic#41059
Configuration menu - View commit details
-
Copy full SHA for a2e8f67 - Browse repository at this point
Copy the full SHA a2e8f67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 853d528 - Browse repository at this point
Copy the full SHA 853d528View commit details -
Fix testSkipRefreshIfShardIsRefreshingAlready (elastic#50856)
The test checked queue size and active count, however, ThreadPoolExecutor pulls out the request from the queue before marking the worker active, risking that we think all tasks are done when they are not. Now check on completed-tasks metric instead, which is guaranteed to be monotonic. Relates elastic#50769
Configuration menu - View commit details
-
Copy full SHA for 0b67fa1 - Browse repository at this point
Copy the full SHA 0b67fa1View commit details -
Fix upgrade of custom similarity (elastic#50851)
This change fixes the upgrade of index metadata that contain a custom similarity with options that are not compatible with BM25. The upgrade doesn't need a real similarity service so we fake one that resolves all custom similarity to BM25 but this logic fails because the BM25 provider checks that all options are compatible. This commit removes the verification step as it is not needed during the upgrade (the verification is done when the index is restored/opened). Closes elastic#50763
Configuration menu - View commit details
-
Copy full SHA for 617b4a0 - Browse repository at this point
Copy the full SHA 617b4a0View commit details -
Drop BWC suppressions for composite aggs (elastic#50857)
When I implemented elastic#50609 I suppressed a few backwards compatibility checks until I finished the backport. I've now finished the backport so this enables the tests.
Configuration menu - View commit details
-
Copy full SHA for adb135f - Browse repository at this point
Copy the full SHA adb135fView commit details -
Adjust the skip version in flattened field telemetry tests.
It can be lowered to 7.5.99 now that the functionality was backported in elastic#48972.
Configuration menu - View commit details
-
Copy full SHA for f40bd30 - Browse repository at this point
Copy the full SHA f40bd30View commit details -
Fix format problem in composite of unmapped (elastic#50869)
When a composite aggregation is reduced using the results from an index that has one of the fields unmapped we were throwing away the formatter. This is mildly annoying, except in the case of IP addresses which were coming out as non-utf-8-characters. And tripping assertions. This carefully preserves the formatter from the working bucket. Closes elastic#50600
Configuration menu - View commit details
-
Copy full SHA for c5d2402 - Browse repository at this point
Copy the full SHA c5d2402View commit details -
Fix SLM check for restore in progress (elastic#50868)
* Fix SLM check for restore in progress This commit fixes the check in SLM where the `RestoreInProgress` metadata was checked for existence. Rather than check existence we should instead check the `isEmpty` method. Prior to this, a successful restore for a repository that used SLM retention would prevent SLM retention from running in subsequent invocations, due to SLM thinking that a restore was still running.
Configuration menu - View commit details
-
Copy full SHA for c56637d - Browse repository at this point
Copy the full SHA c56637dView commit details -
Adding GET/PUT ILM cluster privileges to
kibana_system
role (elasti……c#49451) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d1adea6 - Browse repository at this point
Copy the full SHA d1adea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b11a0 - Browse repository at this point
Copy the full SHA 51b11a0View commit details -
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0ff99b0 - Browse repository at this point
Copy the full SHA 0ff99b0View commit details -
[ML][Inference] PUT API (elastic#50852)
This adds the `PUT` API for creating trained models that support our format. This includes * HLRC change for the API * API creation * Validations of model format and call
Configuration menu - View commit details
-
Copy full SHA for 842a208 - Browse repository at this point
Copy the full SHA 842a208View commit details -
Fix non-corruption in testCurrentHeaderVersion (elastic#50883)
Today we make multiple attempts to corrupt the translog header in `TranslogHeaderTests#testCurrentHeaderVersion`, but if we are extraordinarily unlucky then this sequence of corruptions may restore the file to its original state. This change adjusts the test to only corrupt the file once, which is certain not to leave the file in its original state.
Configuration menu - View commit details
-
Copy full SHA for c289beb - Browse repository at this point
Copy the full SHA c289bebView commit details -
Fix memory leak in DLS bitset cache (elastic#50635)
The Document Level Security BitSet cache stores a secondary "lookup map" so that it can determine which cache entries to invalidate when a Lucene index is closed (merged, etc). There was a memory leak because this secondary map was not cleared when entries were naturally evicted from the cache (due to size/ttl limits). This has been solved by adding a cache removal listener and processing those removal events asyncronously.
Configuration menu - View commit details
-
Copy full SHA for 0265ba4 - Browse repository at this point
Copy the full SHA 0265ba4View commit details -
Validate field permissions when creating a role (elastic#50212)
When creating a role, we do not check if the exceptions for the field permissions are a subset of granted fields. If such a role is assigned to a user then that user's authentication fails for this reason. We added a check to validate role query in elastic#46275 and on the same lines, this commit adds check if the exceptions for the field permissions is a subset of granted fields when parsing the index privileges from the role descriptor. Co-authored-by: Yogesh Gaikwad <bizybot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7f0fe96 - Browse repository at this point
Copy the full SHA 7f0fe96View commit details -
Increase Size and lower TTL on DLS BitSet Cache (elastic#50535)
The Document Level Security BitSet Cache (see elastic#43669) had a default configuration of "small size, long lifetime". However, this is not a very useful default as the cache is most valuable for BitSets that take a long time to construct, which is (generally speaking) the same ones that operate over a large number of documents and contain many bytes. This commit changes the cache to be "large size, short lifetime" so that it can hold bitsets representing billions of documents, but releases memory quickly. The new defaults are 10% of heap, and 2 hours. This also adds some logging when a single BitSet exceeds the size of the cache and when the cache is full. Resolves: elastic#49260
Configuration menu - View commit details
-
Copy full SHA for bfd44b7 - Browse repository at this point
Copy the full SHA bfd44b7View commit details -
Add max_resource_units to enterprise license (elastic#50735)
The enterprise license type must has "max_resource_units" and may not have "max_nodes". This change adds support for this new field, validation that the field is present if-and-only-if the license is enterprise and bumps the license version number to reflect the new field.
Configuration menu - View commit details
-
Copy full SHA for 34401a2 - Browse repository at this point
Copy the full SHA 34401a2View commit details -
Make .async-search-* a restricted namespace (elastic#50294)
Hide the `.async-search-*` in Security by making it a restricted index namespace. The namespace is hard-coded. To grant privileges on restricted indices, one must explicitly toggle the `allow_restricted_indices` flag in the indices permission in the role definition. As is the case with any other index, if a certain user lacks all permissions for an index, that index is effectively nonexistent for that user.
Configuration menu - View commit details
-
Copy full SHA for 913e285 - Browse repository at this point
Copy the full SHA 913e285View commit details -
Relates a620525
Configuration menu - View commit details
-
Copy full SHA for 40c522b - Browse repository at this point
Copy the full SHA 40c522bView commit details -
[ML][Inference] minor fixes for created_by, and action permission (el…
…astic#50890) The system created and models we provide now use the `_xpack` user for uniformity with our other features The `PUT` action is now an admin cluster action And XPackClient class now references the action instance.
Configuration menu - View commit details
-
Copy full SHA for 7604055 - Browse repository at this point
Copy the full SHA 7604055View commit details -
Prevent Old Version Clusters From Corrupting Snapshot Repositories (e…
…lastic#50853) Follow up to elastic#50692 that starts writing a `min_version` field to the `RepositoryData` so that pre-7.6 ES versions can not read it (and potentially corrupt it if they attempt to modify the repo contents) after the repository moved to the new metadata format.
Configuration menu - View commit details
-
Copy full SHA for 997dd5c - Browse repository at this point
Copy the full SHA 997dd5cView commit details -
Add certutil http command (elastic#49827)
This adds a new "http" sub-command to the certutil CLI tool. The http command generates certificates/CSRs for use on the http interface of an elasticsearch node/cluster. It is designed to be a guided tool that provides explanations and sugestions for each of the configuration options. The generated zip file output includes extensive "readme" documentation and sample configuration files for core Elastic products.
Configuration menu - View commit details
-
Copy full SHA for 581640f - Browse repository at this point
Copy the full SHA 581640fView commit details -
Move metadata storage to Lucene (elastic#50907)
Today we split the on-disk cluster metadata across many files: one file for the metadata of each index, plus one file for the global metadata and another for the manifest. Most metadata updates only touch a few of these files, but some must write them all. If a node holds a large number of indices then it's possible its disks are not fast enough to process a complete metadata update before timing out. In severe cases affecting master-eligible nodes this can prevent an election from succeeding. This commit uses Lucene as a metadata storage for the cluster state, and is a squashed version of the following PRs that were targeting a feature branch: * Introduce Lucene-based metadata persistence (elastic#48733) This commit introduces `LucenePersistedState` which master-eligible nodes can use to persist the cluster metadata in a Lucene index rather than in many separate files. Relates elastic#48701 * Remove per-index metadata without assigned shards (elastic#49234) Today on master-eligible nodes we maintain per-index metadata files for every index. However, we also keep this metadata in the `LucenePersistedState`, and only use the per-index metadata files for importing dangling indices. However there is no point in importing a dangling index without any shard data, so we do not need to maintain these extra files any more. This commit removes per-index metadata files from nodes which do not hold any shards of those indices. Relates elastic#48701 * Use Lucene exclusively for metadata storage (elastic#50144) This moves metadata persistence to Lucene for all node types. It also reenables BWC and adds an interoperability layer for upgrades from prior versions. This commit disables a number of tests related to dangling indices and command-line tools. Those will be addressed in follow-ups. Relates elastic#48701 * Add command-line tool support for Lucene-based metadata storage (elastic#50179) Adds command-line tool support (unsafe-bootstrap, detach-cluster, repurpose, & shard commands) for the Lucene-based metadata storage. Relates elastic#48701 * Use single directory for metadata (elastic#50639) Earlier PRs for elastic#48701 introduced a separate directory for the cluster state. This is not needed though, and introduces an additional unnecessary cognitive burden to the users. Co-Authored-By: David Turner <david.turner@elastic.co> * Add async dangling indices support (elastic#50642) Adds support for writing out dangling indices in an asynchronous way. Also provides an option to avoid writing out dangling indices at all. Relates elastic#48701 * Fold node metadata into new node storage (elastic#50741) Moves node metadata to uses the new storage mechanism (see elastic#48701) as the authoritative source. * Write CS asynchronously on data-only nodes (elastic#50782) Writes cluster states out asynchronously on data-only nodes. The main reason for writing out the cluster state at all is so that the data-only nodes can snap into a cluster, that they can do a bit of bootstrap validation and so that the shard recovery tools work. Cluster states that are written asynchronously have their voting configuration adapted to a non existing configuration so that these nodes cannot mistakenly become master even if their node role is changed back and forth. Relates elastic#48701 * Remove persistent cluster settings tool (elastic#50694) Adds the elasticsearch-node remove-settings tool to remove persistent settings from the on disk cluster state in case where it contains incompatible settings that prevent the cluster from forming. Relates elastic#48701 * Make cluster state writer resilient to disk issues (elastic#50805) Adds handling to make the cluster state writer resilient to disk issues. Relates to elastic#48701 * Omit writing global metadata if no change (elastic#50901) Uses the same optimization for the new cluster state storage layer as the old one, writing global metadata only when changed. Avoids writing out the global metadata if none of the persistent fields changed. Speeds up server:integTest by ~10%. Relates elastic#48701 * DanglingIndicesIT should ensure node removed first (elastic#50896) These tests occasionally failed because the deletion was submitted before the restarting node was removed from the cluster, causing the deletion not to be fully acked. This commit fixes this by checking the restarting node has been removed from the cluster. Co-authored-by: David Turner <david.turner@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for af85743 - Browse repository at this point
Copy the full SHA af85743View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f83985 - Browse repository at this point
Copy the full SHA 3f83985View commit details -
Disallow Password Change when authenticated by Token (elastic#49694)
Password changes are only allowed when the user is currently authenticated by a realm (that permits the password to be changed) and not when authenticated by a bearer token or an API key.
Configuration menu - View commit details
-
Copy full SHA for 8327fc8 - Browse repository at this point
Copy the full SHA 8327fc8View commit details -
Improve warning value extraction performance in Response (elastic#50208)
This commit improves the performance of warning value extraction in the low-level REST client, and is similar to the approach taken in elastic#24114. There are some differences since the low-level REST client might be connected to Elasticsearch through a proxy that injects its own warnings.
Configuration menu - View commit details
-
Copy full SHA for d970d3f - Browse repository at this point
Copy the full SHA d970d3fView commit details -
Use default profile for remote connections (elastic#50828)
Currently, the connection manager is configured with a default profile for both the sniff and proxy connection stratgies. This profile correctly reflects the expected number of connection (6 for sniff, 18 for proxy). This commit removes the proxy strategy usages of the per connection attempt profile configuration. Additionally, it refactors other unnecessary code around the connection manager. The connection manager now can always be built inside the remote connection.
Configuration menu - View commit details
-
Copy full SHA for 3e82852 - Browse repository at this point
Copy the full SHA 3e82852View commit details -
Fix build scan logic to support folder nested Jenkins job names
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1d6ab13 - Browse repository at this point
Copy the full SHA 1d6ab13View commit details -
Add protection in windows for slow file lock releasing (elastic#50884)
This commit adds retries for windows cleanup after tests, which may fail due to file locks not being immediately released after a windows process exits. closes elastic#50825
Configuration menu - View commit details
-
Copy full SHA for 21499b6 - Browse repository at this point
Copy the full SHA 21499b6View commit details -
Migrate certgen packaging test from bats (elastic#50880)
This commit moves the packaging tests for elasticsearch-certgen to java from bats. Although certgen is deprecated, the tests are moved rather than just deleted, and the tests themselves should be easily adaptable to certutil. One note is that the test is simplified to use a single node, rather than the two node test from bats, which was problematic given how the newer distro tests only operate with a single distribution. relates elastic#46005
Configuration menu - View commit details
-
Copy full SHA for 8b367c9 - Browse repository at this point
Copy the full SHA 8b367c9View commit details -
Refresh cached phase policy definition if possible on new poli… (elas…
…tic#50820) * Refresh cached phase policy definition if possible on new policy There are some cases when updating a policy does not change the structure in a significant way. In these cases, we can reread the policy definition for any indices using the updated policy. This commit adds this refreshing to the `TransportPutLifecycleAction` to allow this. It allows us to do things like change the configuration values for a particular step, even when on that step (for example, changing the rollover criteria while on the `check-rollover-ready` step). There are more cases where the phase definition can be reread that just the ones checked here (for example, removing an action that has already been passed), and those will be added in subsequent work. Relates to elastic#48431
Configuration menu - View commit details
-
Copy full SHA for 559e56b - Browse repository at this point
Copy the full SHA 559e56bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8910197 - Browse repository at this point
Copy the full SHA 8910197View commit details -
Allow proxy mode server name to be configured (elastic#50774)
Currently, proxy mode allows a remote cluster connection to be setup by expecting all open connections to be routed through an intermediate proxy. The proxy must use some logic to ensure that the connections end up on the correct remote cluster. One mechanism provided is that the default distribution TLS implementations will forward the host component of the configured address to the remote connection using the SNI extension. This is limiting as it requires that the proxy be configured in a way that always uses a valid hostname as the proxy address. Instead, this commit adds an additional setting to allow the server_name to be configured independently. This allows the proxy address to be specified as a IP literal, but the server_name specified as an arbitrary string which still must be a valid hostname. It also decouples the server_name from the requirement of being a DNS resolvable domain.
Configuration menu - View commit details
-
Copy full SHA for f0bc900 - Browse repository at this point
Copy the full SHA f0bc900View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bdd29a - Browse repository at this point
Copy the full SHA 8bdd29aView commit details -
Increase timeouts in TimeSeriesLifecycleActionsIT#testWaitForSnapshot…
… and testWaitForSnapshotSlmExecutedBefore test (elastic#50818) * Fix flaky TimeSeriesLifecycleActionsIT#testWaitForSnapshot test This change adds some randomness and cleanup step to TimeSeriesLifecycleActionsIT#testWaitForSnapshot and testWaitForSnapshotSlmExecutedBefore tests in attempt to make them stable. Reletes to elastic#50781 * Formatting changes * Longer timeout
Configuration menu - View commit details
-
Copy full SHA for 80b9d6a - Browse repository at this point
Copy the full SHA 80b9d6aView commit details -
Deprecate synced flush (elastic#50835)
A normal flush has the same effect as a synced flush on Elasticsearch 7.6 or later. It's deprecated in 7.6 and will be removed in 8.0. Relates elastic#50776
Configuration menu - View commit details
-
Copy full SHA for 276b0ed - Browse repository at this point
Copy the full SHA 276b0edView commit details -
Remove outdated requirement of CCR (elastic#50859)
With retention leases, users do not need to set index.soft_deletes.retention.operations. This change removes it from the requirements of CCR
Configuration menu - View commit details
-
Copy full SHA for 6b2a46d - Browse repository at this point
Copy the full SHA 6b2a46dView commit details -
Support Client and RoleMapping in custom Realms (elastic#50534)
Previously custom realms were limited in what services and components they had easy access to. It was possible to work around this because a security extension is packaged within a Plugin, so there were ways to store this components in static/SetOnce variables and access them from the realm, but those techniques were fragile, undocumented and difficult to discover. This change includes key services as an argument to most of the methods on SecurityExtension so that custom realm / role provider authors can have easy access to them. Resolves: elastic#48369
Configuration menu - View commit details
-
Copy full SHA for 9760f2d - Browse repository at this point
Copy the full SHA 9760f2dView commit details -
Deprecating kibana_user and kibana_dashboard_only_user roles (elastic…
…#46456) This change adds a new `kibana_admin` role, and deprecates the old `kibana_user` and`kibana_dashboard_only_user`roles. The deprecation is implemented via a new reserved metadata attribute, which can be consumed from the API and also triggers deprecation logging when used (by a user authenticating to Elasticsearch). Some docs have been updated to avoid references to these deprecated roles. Co-authored-by: Tim Vernum <tim@adjective.org> Co-authored-by: Larry Gregory <legrego@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 44c658c - Browse repository at this point
Copy the full SHA 44c658cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d76283d - Browse repository at this point
Copy the full SHA d76283dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e9bfb - Browse repository at this point
Copy the full SHA 30e9bfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e3fdcf - Browse repository at this point
Copy the full SHA 1e3fdcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e10736 - Browse repository at this point
Copy the full SHA 8e10736View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ecbbaf - Browse repository at this point
Copy the full SHA 9ecbbafView commit details -
[Transform] correctly retrieve checkpoints from remote indices (elast…
…ic#50903) uses remote client(s) to correctly retrieve index checkpoints from remote clusters
Configuration menu - View commit details
-
Copy full SHA for dfd6a20 - Browse repository at this point
Copy the full SHA dfd6a20View commit details -
[ML] Add num_top_feature_importance_values param to regression and cl…
…assi… (elastic#50914) Adds a new parameter to regression and classification that enables computation of importance for the top most important features. The computation of the importance is based on SHAP (SHapley Additive exPlanations) method.
Configuration menu - View commit details
-
Copy full SHA for 7d1e640 - Browse repository at this point
Copy the full SHA 7d1e640View commit details -
Warn on slow metadata performance (elastic#50956)
Has the new cluster state storage layer emit warnings in case metadata performance is very slow. Relates elastic#48701
Configuration menu - View commit details
-
Copy full SHA for 11c3dcd - Browse repository at this point
Copy the full SHA 11c3dcdView commit details -
Fix queuing in AsyncLucenePersistedState (elastic#50958)
The logic in AsyncLucenePersistedState was flawed, unexpectedly queuing up two update tasks in parallel.
Configuration menu - View commit details
-
Copy full SHA for 249d040 - Browse repository at this point
Copy the full SHA 249d040View commit details -
Check for deprecations when analyzers are built (elastic#50908)
Generally speaking, deprecated analysis components in elasticsearch will issue deprecation warnings when they are first used. However, this means that no warnings are emitted when indexes are created with deprecated components, and users have to actually index a document to see warnings. This makes it much harder to see these warnings and act on them at appropriate times. This is worse in the case where components throw exceptions on upgrade. In this case, users will not be aware of a problem until a document is indexed, instead of at index creation time. This commit adds a new check that pushes an empty string through all user-defined analyzers and normalizers when an IndexAnalyzers object is built for each index; deprecation warnings and exceptions are now emitted when indexes are created or opened. Fixes elastic#42349
Configuration menu - View commit details
-
Copy full SHA for 5de2d0f - Browse repository at this point
Copy the full SHA 5de2d0fView commit details -
[ML] Mute data frame analytics BWC tests (elastic#50972)
Until elastic#50914 is backported to 7.x
Configuration menu - View commit details
-
Copy full SHA for 830e616 - Browse repository at this point
Copy the full SHA 830e616View commit details -
[DOCS] Use
s
parameter in cat API overview example (elastic#50616)Updates a snippet to use the `s` query string parameter rather than piping the output to a separate `sort` command. This ensures the snippet is tested and available in clients other than curl (Kibana console, etc.). Issue was originally raised by @hackaholic in elastic#40926.
Configuration menu - View commit details
-
Copy full SHA for 9fa42ab - Browse repository at this point
Copy the full SHA 9fa42abView commit details -
Work around JVM Bug in LongGCDisruptionTests (elastic#50731)
There is a JVM bug causing `Thread#suspend` calls to randomly take multiple seconds breaking these tests that call the method numerous times in a loop. Increasing the timeout would will not work since we may call `suspend` tens if not hundreds of times and even a small number of them experiencing the blocking will lead to multiple minutes of waiting. This PR detects the specific issue by timing the `Thread#suspend` calls and skips the remainder of the test if it timed out because of the JVM bug. Closes elastic#50047
Configuration menu - View commit details
-
Copy full SHA for cd5ac8e - Browse repository at this point
Copy the full SHA cd5ac8eView commit details -
Begin moving date_histogram to offset rounding (elastic#50873)
We added a new rounding in elastic#50609 that handles offsets to the start and end of the rounding so that we could support `offset` in the `composite` aggregation. This starts moving `date_histogram` to that new offset.
Configuration menu - View commit details
-
Copy full SHA for 91d7e32 - Browse repository at this point
Copy the full SHA 91d7e32View commit details -
Explicitly require a OriginSettingClient in ML results iterators (ela…
…stic#50802) In classes where the client is used directly rather than through a call to executeAsyncWithOrigin explicitly require the client to be OriginSettingClient rather than using the Client interface. Also remove calls to deprecated ClientHelper.clientWithOrigin() method.
Configuration menu - View commit details
-
Copy full SHA for 500aaab - Browse repository at this point
Copy the full SHA 500aaabView commit details -
Switch AggregationSpec to ContextParser (elastic#50871)
We seem to have settled on the `ContextParser` interface for parsing stuff, mostly because `ObjectParser` implements it. We don't really *need* the old `Aggregator.Parser` interface any more because it duplicates `ContextParser` but with the arguments reversed. This adds support to `AggregationSpec` to declare aggregation parsers using `ContextParser`. This should integrate cleanly with `ObjectParser`. It doesn't drop support for `Aggregator.Parser` or change the plugin intrface at all so it *should* be safe to backport to 7.x. And we can remove `Aggregator.Parser` in a follow up which is only targeted to 8.0.
Configuration menu - View commit details
-
Copy full SHA for 2a70a65 - Browse repository at this point
Copy the full SHA 2a70a65View commit details -
Don't use user-supplied type when building DocumentMapper (elastic#50960
) This commit begins the process of removing types from the document parsing infrastructure. Initially, we just ignore the user-supplied type after it has been removed from the mapping json structure, and always supply _doc as the name of the root parser. The production code change is very small here, and most of the changeset consists of alterations to Mapper test code that was passing in non-standard type names and checking serialization. Relates to elastic#41059
Configuration menu - View commit details
-
Copy full SHA for 5b656db - Browse repository at this point
Copy the full SHA 5b656dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1df655 - Browse repository at this point
Copy the full SHA a1df655View commit details -
Add "did you mean" to ObjectParser (elastic#50938)
Check it out: ``` $ curl -u elastic:password -HContent-Type:application/json -XPOST localhost:9200/test/_update/foo?pretty -d'{ "dac": {} }' { "error" : { "root_cause" : [ { "type" : "x_content_parse_exception", "reason" : "[2:3] [UpdateRequest] unknown field [dac] did you mean [doc]?" } ], "type" : "x_content_parse_exception", "reason" : "[2:3] [UpdateRequest] unknown field [dac] did you mean [doc]?" }, "status" : 400 } ``` The tricky thing about implementing this is that x-content doesn't depend on Lucene. So this works by creating an extension point for the error message using SPI. Elasticsearch's server module provides the "spell checking" implementation.
Configuration menu - View commit details
-
Copy full SHA for 1fb1b57 - Browse repository at this point
Copy the full SHA 1fb1b57View commit details -
Revert "Update handshake response version constants to 7.6 (elastic#4…
…8917)" (elastic#50945) This reverts commit 77a8bc3.
Configuration menu - View commit details
-
Copy full SHA for a7e63f0 - Browse repository at this point
Copy the full SHA a7e63f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3501cb - Browse repository at this point
Copy the full SHA b3501cbView commit details -
Track Snapshot Version in RepositoryData (elastic#50930)
Add tracking of snapshot versions to RepositoryData to make BwC logic more efficient. Follow up to elastic#50853
Configuration menu - View commit details
-
Copy full SHA for 94e071d - Browse repository at this point
Copy the full SHA 94e071dView commit details -
Deprecate and remove camel-case nGram and edgeNGram tokenizers (elast…
…ic#50862) We already deprecated and removed the camel-case versions of the nGram and edgeNGram filters a while ago and we should do the same with the nGram and edgeNGram tokenizers. This PR deprecates the use of these names in favour of ngram and edge_ngram in 7 and disallows usage in new indices starting with 8. Closes elastic#50561
Configuration menu - View commit details
-
Copy full SHA for a2ed7e9 - Browse repository at this point
Copy the full SHA a2ed7e9View commit details -
Adds support for geo-bounds filtering in geogrid aggregations (elasti…
…c#50002) It is fairly common to filter the geo point candidates in geohash_grid and geotile_grid aggregations according to some viewable bounding box. This change introduces the option of specifying this filter directly in the tiling aggregation. This is even more relevant to `geo_shape` where the bounds will restrict the shape to be within the bounds this optional `bounds` parameter is parsed in an equivalent fashion to the bounds specified in the geo_bounding_box query.
Configuration menu - View commit details
-
Copy full SHA for ab8627b - Browse repository at this point
Copy the full SHA ab8627bView commit details -
[ML][Inference] Adding classification_weights to ensemble models (ela…
…stic#50874) * [ML][Inference] Adding classification_weights to ensemble models classification_weights are a way to allow models to prefer specific classification results over others this might be advantageous if classification value probabilities are a known quantity and can improve model error rates.
Configuration menu - View commit details
-
Copy full SHA for 756683a - Browse repository at this point
Copy the full SHA 756683aView commit details -
SQL: Extend the optimisations for equalities (elastic#50792)
* Extend the optimizations for equalities This commit supplements the optimisations of equalities in conjunctions and disjunctions: * for conjunctions, the existing optimizations with ranges are extended with not-equalities and inequalities; these lead to a fast resolution, the conjunction either being evaluate to a FALSE, or the non-equality conditions being dropped as superfluous; * optimisations for disjunctions are added to be applied against ranges, inequalities and not-equalities; these lead to disjunction either becoming TRUE or the equality being dropped, either as superfluous or merged into a range/inequality. * Adress review notes * Fix the bug around wrongly optimizing 'a=2 OR a!=?', which only yields TRUE for same values in equality and inequality. * Var renamings, code style adjustments, comments corrections. * Address further review comments. Extend optim. - fix a few code comments; - extend the Equals OR NotEquals optimitsation (a=2 OR a!=5 -> a!=5); - extend the Equals OR Range optimisation on limits equality (a=2 OR 2<=a<5 -> 2<=a<5); - in case an equality is being removed in a conjunction, the rest of possible optimisations to test is now skipped. * rename one var for better legiblity - s/rmEqual/removeEquals
Configuration menu - View commit details
-
Copy full SHA for 166fb0f - Browse repository at this point
Copy the full SHA 166fb0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for da6ed28 - Browse repository at this point
Copy the full SHA da6ed28View commit details -
Allow installing multiple plugins as a transaction (elastic#50924)
This commit allows the plugin installer to install multiple plugins in a single invocation. The installation will be treated as a transaction, so that all of the plugins are install successfully, or none of the plugins are installed.
Configuration menu - View commit details
-
Copy full SHA for 610c4ee - Browse repository at this point
Copy the full SHA 610c4eeView commit details -
Remove custom metadata tool (elastic#50813)
Adds a command-line tool to remove broken custom metadata from the cluster state. Relates to elastic#48701
Configuration menu - View commit details
-
Copy full SHA for cf35515 - Browse repository at this point
Copy the full SHA cf35515View commit details -
Fix compilation for elastic#50813
Bad interaction with other recently merged PR.
Configuration menu - View commit details
-
Copy full SHA for 00b11b9 - Browse repository at this point
Copy the full SHA 00b11b9View commit details -
Add matrix job params as build scan tag
Signed-off-by: Mark Vieira <portugee@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1c45ebd - Browse repository at this point
Copy the full SHA 1c45ebdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07b8e85 - Browse repository at this point
Copy the full SHA 07b8e85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10eb0e3 - Browse repository at this point
Copy the full SHA 10eb0e3View commit details -
re-enable bwc tests and update geo-grid bounds version guard to 7.6 a…
…fter elastic#50996 (elastic#50997) after elastic#50996 (backport of elastic#50002) merged, the version guard on geo-grid `bounds` parameter can be updated to 7.6 re-enables bwc tests
Configuration menu - View commit details
-
Copy full SHA for d976f31 - Browse repository at this point
Copy the full SHA d976f31View commit details -
Change ExampleRescoreBuilder ctor visibility (elastic#50922)
The existing package private visibility of the serialization ctor isn't enough when copying example code to oder packages or projects when bootstrapping a new project from it.
Configuration menu - View commit details
-
Copy full SHA for a3e75e5 - Browse repository at this point
Copy the full SHA a3e75e5View commit details -
Report progress of multiple plugin installs (elastic#51001)
When installing multiple plugins at once, this commit changes the behavior to report installed plugins as we go. In the case of failure, we emit a message that we are rolling back any plugins that were installed successfully, and also that they were successfully rolled back. In the case a plugin is not successfully rolled back, we report this clearly too, alerting the user that there might still be state on disk they would have to clean up.
Configuration menu - View commit details
-
Copy full SHA for 479768a - Browse repository at this point
Copy the full SHA 479768aView commit details -
[DOCS] Document
breakers
,script
, anddiscovery
node stats (ela……stic#50509) Documents the `breakers`, `script`, and `discovery` parameters returned by the `_nodes/stats` API.
Configuration menu - View commit details
-
Copy full SHA for 60ac896 - Browse repository at this point
Copy the full SHA 60ac896View commit details -
Migrate cron eval bats test to java (elastic#50940)
This commit migrates the simple test of the cron eval tool from bats to java packaging tests. relates elastic#46005
Configuration menu - View commit details
-
Copy full SHA for 1ff5853 - Browse repository at this point
Copy the full SHA 1ff5853View commit details -
Add generated benchmark files to gitignore
When building IntelliJ generates several source files related to the benchmarks. This commit adds that path to the gitignore so these don't get accidentally committed.
Configuration menu - View commit details
-
Copy full SHA for c0a8f41 - Browse repository at this point
Copy the full SHA c0a8f41View commit details -
Fix windows chown to work with single file (elastic#51004)
The chown utility for packaging tests works on windows when the given path is a directory, but would fail if the path was a single file. This commit fixes it to handle both cases. relates elastic#50825
Configuration menu - View commit details
-
Copy full SHA for d6f728f - Browse repository at this point
Copy the full SHA d6f728fView commit details -
Update skip after backport (elastic#51015)
Now that we've backported elastic#50938 to 7.x it should be safe to run its test against BWC clusters that include that branch.
Configuration menu - View commit details
-
Copy full SHA for 4c824a9 - Browse repository at this point
Copy the full SHA 4c824a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c7703 - Browse repository at this point
Copy the full SHA 09c7703View commit details -
[DOCS] Describes the relationship of the time-related settings in ano…
…maly detection docs (elastic#50959) Co-Authored-By: David Roberts <dave.roberts@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for af7b08a - Browse repository at this point
Copy the full SHA af7b08aView commit details -
Tidy up enrich processors: (elastic#50957)
* Fix generics usages. * Sealed match processor class.
Configuration menu - View commit details
-
Copy full SHA for 1b2e8fb - Browse repository at this point
Copy the full SHA 1b2e8fbView commit details -
[TEST] Increase ML distributed test job open timeout (elastic#50998)
There have been occasional failures, presumably due to too many tests running in parallel, caused by jobs taking around 15 seconds to open. (You can see the job open successfully during the cleanup phase shortly after the failure of the test in these cases.) This change increases the wait time from 10 seconds to 20 seconds to reduce the risk of this happening.
Configuration menu - View commit details
-
Copy full SHA for db1b98f - Browse repository at this point
Copy the full SHA db1b98fView commit details -
QL: Extend NodeSubclass to read classes from jars (elastic#50866)
As the test classes are spread across more than one project, the Gradle classpath contains not just folders but also jars. This commit allows the test class to explore the archive content and load matching classes from said source.
Configuration menu - View commit details
-
Copy full SHA for 78a49a7 - Browse repository at this point
Copy the full SHA 78a49a7View commit details -
QL: Remove implicit conversion inside Literal (elastic#50962)
Literal constructor makes an implicit conversion for each value given which turns out has some subtle side-effects. Improve MathProcessors to preserve numeric type where possible Fix bug on issue compatibility between date and intervals Preserve the source when folding inside the Optimizer
Configuration menu - View commit details
-
Copy full SHA for b0586ad - Browse repository at this point
Copy the full SHA b0586adView commit details -
Tweak formatter config for long generic lines (elastic#50909)
The current formatting config allows some long generic declarations to break the 140 character limit. Tweak the config to wrap such lines.
Configuration menu - View commit details
-
Copy full SHA for 29599df - Browse repository at this point
Copy the full SHA 29599dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9aa9df - Browse repository at this point
Copy the full SHA b9aa9dfView commit details -
Auto-format buildSrc (elastic#50786)
Opt-in buildSrc for automatic formatting. This required a config tweak in order to pick up all the Java sources, and as a result more files are now found in the Enrich plugin, that were previously missed. Following on from the formatting, improve some code's layout, most notably by replacing a number of String concatentations with String.format().
Configuration menu - View commit details
-
Copy full SHA for 9a9164a - Browse repository at this point
Copy the full SHA 9a9164aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e797be - Browse repository at this point
Copy the full SHA 8e797beView commit details -
Block too many concurrent mapping updates (elastic#51038)
Ensures that there are not too many concurrent dynamic mapping updates going out from the data nodes to the master. Closes elastic#50670
Configuration menu - View commit details
-
Copy full SHA for 99c8507 - Browse repository at this point
Copy the full SHA 99c8507View commit details -
Configuration menu - View commit details
-
Copy full SHA for e397be1 - Browse repository at this point
Copy the full SHA e397be1View commit details -
Add pipeline name to ingest metadata (elastic#50467)
This commit adds the name of the current pipeline to ingest metadata. This pipeline name is accessible under the following key: '_ingest.pipeline'. Example usage in pipeline: PUT /_ingest/pipeline/2 { "processors": [ { "set": { "field": "pipeline_name", "value": "{{_ingest.pipeline}}" } } ] } Closes elastic#42106
Configuration menu - View commit details
-
Copy full SHA for ee02062 - Browse repository at this point
Copy the full SHA ee02062View commit details -
[Docs] Fix sub-heading in start-stop-ilm.asciidoc (elastic#51045)
Removed superfluous `=`.
Configuration menu - View commit details
-
Copy full SHA for b767760 - Browse repository at this point
Copy the full SHA b767760View commit details -
Guard against null settings in CCRIndexLifecycleIT (elastic#51008)
It's possible that the index could return no settings and thus throw a `NullPointerException`. I wasn't able to reproduce the original issue, but this should guard against in the future. Resolves elastic#50646
Configuration menu - View commit details
-
Copy full SHA for de2d9a2 - Browse repository at this point
Copy the full SHA de2d9a2View commit details -
Add blurb about ILM-injected unfollow action (elastic#51009)
These injected actions are harmless and safe to ignore for non-CCR indices. Resolves elastic#50548
Configuration menu - View commit details
-
Copy full SHA for 826aa4c - Browse repository at this point
Copy the full SHA 826aa4cView commit details -
Add analysis components and mapping types to the usage API. (elastic#…
…51031) Knowing about used analysis components and mapping types would be incredibly useful in order to know which ones may be deprecated or should get more love. Some field types also act as a proxy to know about feature usage of some APIs like the `percolator` or `completion` fields types for percolation and the completion suggester, respectively.
Configuration menu - View commit details
-
Copy full SHA for 674732f - Browse repository at this point
Copy the full SHA 674732fView commit details -
Address failures in SnapshotLifecycleRestIT.testFullPolicySnap… (elas…
…tic#51055) This test failed a couple of different ways, related to timing, as well as concurrent snapshots, and also naming. This commit splits the giant `assertBusy` into separate parts so that we don't perform ~5 different requests and tests in the same loop. It also gives each test a unique repository so that no other test can accidentally re-use snapshots. Resolves elastic#50358 (hopefully!)
Configuration menu - View commit details
-
Copy full SHA for 66d1f54 - Browse repository at this point
Copy the full SHA 66d1f54View commit details -
Fix AllocateRoutedStepTests reusing keys for random values (elastic#5…
…1016) In these tests there was a very small chance that keys could collide, which causes test failures. Resolves elastic#49307
Configuration menu - View commit details
-
Copy full SHA for d718468 - Browse repository at this point
Copy the full SHA d718468View commit details -
Fix NPE in PinnedQuery call to DisjunctionMaxScorer. (elastic#51047)
Fix NPE in PinnedQuery call to DisjunctionMaxScorer. Added test and fix that tests for score type. Closes elastic#51034
Configuration menu - View commit details
-
Copy full SHA for bbcd397 - Browse repository at this point
Copy the full SHA bbcd397View commit details -
Move test of custom sig heuristic to plugin (elastic#50891)
This moves the testing of custom significance heuristic plugins from an `ESIntegTestCase` to an example plugin. This is *much* more "real" and can be used as an example for anyone that needs to actually build such a plugin. The old test had testing concerns and the example all jumbled together.
Configuration menu - View commit details
-
Copy full SHA for 9ae917a - Browse repository at this point
Copy the full SHA 9ae917aView commit details -
[DOCS] Add note to community clients page (elastic#51065)
Adds a note to the 'Community Contributed Clients' page explicitly stating that Elastic does not support or endorse the clients.
Configuration menu - View commit details
-
Copy full SHA for 4efcfb3 - Browse repository at this point
Copy the full SHA 4efcfb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42373ad - Browse repository at this point
Copy the full SHA 42373adView commit details -
Encrypt generated key with AES (elastic#51019)
Replace DES with AES to align with modern encryption standards Resolves: elastic#50843
Configuration menu - View commit details
-
Copy full SHA for 9dde43c - Browse repository at this point
Copy the full SHA 9dde43cView commit details -
Fix windows newline issue in test (elastic#51030)
Fixes HttpCertificateCommandTests.testTextFileSubstitutions on Windows Resolves: elastic#50964
Configuration menu - View commit details
-
Copy full SHA for 70d3973 - Browse repository at this point
Copy the full SHA 70d3973View commit details -
Unmute SmokeTestWatcherTestSuiteIT suite (elastic#50973)
Also adds `assertWatchCount(0)` snippet inside assertBusy(...) based on the findings in: elastic#32299 (comment) Relates to elastic#32299
Configuration menu - View commit details
-
Copy full SHA for b8b9846 - Browse repository at this point
Copy the full SHA b8b9846View commit details -
Configuration menu - View commit details
-
Copy full SHA for 182d7ce - Browse repository at this point
Copy the full SHA 182d7ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4284e34 - Browse repository at this point
Copy the full SHA 4284e34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96ec19a - Browse repository at this point
Copy the full SHA 96ec19aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d6221e - Browse repository at this point
Copy the full SHA 7d6221eView commit details -
Fix caching for PreConfiguredTokenFilter (elastic#50912)
The PreConfiguredTokenFilter#singletonWithVersion uses the version internaly for the token filter factories but it registers only one instance in the cahce and not one instance per version. This can lead to exceptions like the one described in elastic#50734 since the singleton is created and cached using the version created of the first index that is processed. Remove the singletonWithVersion() methods and use the elasticsearchVersion() methods instead. Fixes: elastic#50734
Configuration menu - View commit details
-
Copy full SHA for e1a055e - Browse repository at this point
Copy the full SHA e1a055eView commit details -
[Docs] Fix short alias for 'unassigned.for' (elastic#51059)
The short alias for `unassigned.for` is `uf`, not 'ua'.
Configuration menu - View commit details
-
Copy full SHA for b37755b - Browse repository at this point
Copy the full SHA b37755bView commit details -
Fix Infinite Retry Loop in loading RepositoryData (elastic#50987)
* Fix Infinite Retry Loop in loading RepositoryData We were running into an infinite loop when trying to load corrupted (or otherwise un-loadable) repository data for a repo that uses best effort consistency (e.g. that was just freshly mounted as done in the test) because we kepy resetting to `-1` on `IOException`, listing and finding the broken generation `N` and then interpreted the subsequent reset to `-1` as a concurrent change to the repository.
Configuration menu - View commit details
-
Copy full SHA for 8169470 - Browse repository at this point
Copy the full SHA 8169470View commit details -
Fail gracefully on invalid token strings (elastic#51014)
When we receive a request with an Authorization header that contains a Bearer token that is not generated by us or that is malformed in some way, attempting to decode it as one of our own might cause a number of exceptions that are not IOExceptions. This commit ensures that we catch and log these too and call onResponse with `null, so that we can return 401 instead of 500. Resolves: elastic#50497
Configuration menu - View commit details
-
Copy full SHA for 9ab1782 - Browse repository at this point
Copy the full SHA 9ab1782View commit details -
[DOCS] Use same index in Cluster Allocation Explain docs (elastic#50936)
Updates several example snippets in the Cluster Allocation Explain API docs to consistently use the `my_index` index. Previously, the snippets switches from `my_index` to `idx`, which could confuse users. Co-authored-by: Emmanuel DEMEY <demey.emmanuel@gmail.com> Co-authored-by: Emmanuel DEMEY <demey.emmanuel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d96755c - Browse repository at this point
Copy the full SHA d96755cView commit details -
Follow symlinks in Docker entrypoint (elastic#50927)
Closes elastic#49653. When using _FILE environment variables to supply values to Elasticsearch, following symlinks when checking that file permissions are secure.
Configuration menu - View commit details
-
Copy full SHA for 059e4d2 - Browse repository at this point
Copy the full SHA 059e4d2View commit details -
[DOCS] Correctly read total hits inside watcher config (elastic#50614)
With elastic#35848, users can now retrieve total hits as an integer when the `rest_total_hits_as_int` query parameter is `true`. This is the default value. This updates several snippet examples in the Watcher docs that used a workaround to get a total hits integer.
Configuration menu - View commit details
-
Copy full SHA for e0cd30b - Browse repository at this point
Copy the full SHA e0cd30bView commit details -
Goodbye and thank you synced flush! (elastic#50882)
Synced flush was a brilliant idea. It supports instant recoveries with a quite small implementation. However, with the presence of sequence numbers and retention leases, it is no longer needed. This change removes it from 8.0. Relates elastic#5077
Configuration menu - View commit details
-
Copy full SHA for 38fb64a - Browse repository at this point
Copy the full SHA 38fb64aView commit details -
Mute GeoGridAggregatorTestCase#testBounds()
Tracking issue: elastic#51103
Configuration menu - View commit details
-
Copy full SHA for df30a81 - Browse repository at this point
Copy the full SHA df30a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5fb48d - Browse repository at this point
Copy the full SHA e5fb48dView commit details -
[DOCS] Fix indent issue in similarity snippet (elastic#51107)
Updates snippet to consistently use 2-space indentation. The snippet previously used a mix of tab/5-space and 2-space indents. Co-authored-by: Peter Johnson <wiz@wiz.co.nz> Co-authored-by: Peter Johnson <peter@geocode.earth>
Configuration menu - View commit details
-
Copy full SHA for f4974e9 - Browse repository at this point
Copy the full SHA f4974e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7c7f0e - Browse repository at this point
Copy the full SHA a7c7f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df8338 - Browse repository at this point
Copy the full SHA 1df8338View commit details -
[DOCS] Retitle analysis reference pages (elastic#51071)
* Changes titles to sentence case. * Appends pages with 'reference' to differentiate their content from conceptual overviews. * Moves the 'Normalizers' page to end of the Analysis topic pages.
Configuration menu - View commit details
-
Copy full SHA for 94c781a - Browse repository at this point
Copy the full SHA 94c781aView commit details -
[DOCS] Add concepts section to analysis topic (elastic#50801)
This helps the topic better match the structure of our machine learning docs, e.g. https://www.elastic.co/guide/en/machine-learning/7.5/ml-concepts.html This PR only includes the 'Anatomy of an analyzer' page as a 'Concepts' child page, but I plan to add other concepts, such as 'Index time vs. search time', with later PRs.
Configuration menu - View commit details
-
Copy full SHA for 073a113 - Browse repository at this point
Copy the full SHA 073a113View commit details -
[DOCS] Add tutorials section to analysis topic (elastic#50809)
Adds a 'Configure text analysis' page to house tutorial content for the analysis topic. Also relocates the following pages as children as this new page: * 'Test an analyzer' * 'Configuring built-in analyzers' * 'Create a custom analyzer' I plan to add a tutorial for specifying index-time and search-time analyzers to this section as part of a future PR.
Configuration menu - View commit details
-
Copy full SHA for 167e908 - Browse repository at this point
Copy the full SHA 167e908View commit details -
[DOCS] Collapse node stats response sections (elastic#51063)
elastic/docs#1687 added support for the `[%collapsible]` Asciidoc attribute, which creates collapsible sections in the HTML output. This PR makes two related changes to the nodes stats API documentation: * Makes the response parameter sections collapsible. This allows users to more easily navigate the page without long walls of text. * Reorders the response parameter sections to match the default order returned by the API. Relates to elastic#47524.
Configuration menu - View commit details
-
Copy full SHA for 21b9c61 - Browse repository at this point
Copy the full SHA 21b9c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6942e7 - Browse repository at this point
Copy the full SHA f6942e7View commit details -
Fix X-Pack Indices Breaking Repository BwC Tests (elastic#51120)
If some internal `.watcher` or so index gets created during these tests then the shard counts on snapshot restores and creates won't match up with expectations. Fixed by only creating the snapshot for the test index Closes elastic#50819
Configuration menu - View commit details
-
Copy full SHA for d0fefc5 - Browse repository at this point
Copy the full SHA d0fefc5View commit details -
[Transform] Improve force stop robustness in case of an error (elasti…
…c#51072) If a transform config got lost (e.g. because the internal index disappeared) tasks could not be stopped using transform API. This change makes it possible to stop transforms without a config, meaning to remove the background task. In order to do so force must be set to true.
Configuration menu - View commit details
-
Copy full SHA for 5689cea - Browse repository at this point
Copy the full SHA 5689ceaView commit details -
Remove types from WatcherSearchTemplateRequest (elastic#51112)
There is no longer any point in restricting the types for a Watcher search template. The types parameter was deprecated in 7x, and can be removed from 8x. Relates to elastic#41059
Configuration menu - View commit details
-
Copy full SHA for 98d0b41 - Browse repository at this point
Copy the full SHA 98d0b41View commit details -
Remove the AllFieldMapper from master (elastic#51106)
We have a few references left in master to the AllFieldMapper, which was deprecated in the 6x line and only kept in 7x for backwards compatibility. These references can be removed entirely in master.
Configuration menu - View commit details
-
Copy full SHA for 067bc72 - Browse repository at this point
Copy the full SHA 067bc72View commit details -
[ML] DF Analytics _explain API should skip object fields (elastic#51115)
Object fields cannot be used as features. At the moment _explain API includes them and even worse it allows it does not error when an object field is excluded. This creates the expectation to the user that all children fields will also be excluded while it's not the case. This commit omits object fields from the _explain API and also adds an error if an object field is included or excluded.
Configuration menu - View commit details
-
Copy full SHA for 16e891b - Browse repository at this point
Copy the full SHA 16e891bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a46fed1 - Browse repository at this point
Copy the full SHA a46fed1View commit details -
increase timeout of DocsClientYamlTestSuiteIT
increase timeout of DocsClientYamlTestSuiteIT to 35 minutes, temporary solution for issue elastic#49753
Configuration menu - View commit details
-
Copy full SHA for 95aca04 - Browse repository at this point
Copy the full SHA 95aca04View commit details -
Don't fallback to anonymous for tokens/apikeys (elastic#51042)
This commit changes our behavior so that when we receive a request with an invalid/expired/wrong access token or API Key we do not fallback to authenticating as the anonymous user even if anonymous access is enabled for Elasticsearch.
Configuration menu - View commit details
-
Copy full SHA for 27db4d9 - Browse repository at this point
Copy the full SHA 27db4d9View commit details -
"did you mean" for ObjectParser with top named (elastic#51018)
When you declare an ObjectParser with top level named objects like we do with `significant_terms` we didn't support "did you mean". This fixes that. Relates elastic#50938
Configuration menu - View commit details
-
Copy full SHA for 281ae25 - Browse repository at this point
Copy the full SHA 281ae25View commit details -
Upgrade to the latest OWASP HTML sanitizer (elastic#50765)
This commit upgrades the OWASP HTML sanitizer used by watcher to the latest version and also upgrades guava, which it depends on. The guava upgrade also requires the addition of a new dependency that guava itself requires as of version 27.0. The sanitizer's behavior has changed to re-write these templated values with a comment that results in this output `{<!-- -->{ctx.metadata.name}}`. This would be an issue if we attempted to sanitize the template, but the code that uses the sanitizer runs the rendered string through the sanitizer, which means that the templated values have been replaced already. Relates elastic#50395
Configuration menu - View commit details
-
Copy full SHA for 94d4b0a - Browse repository at this point
Copy the full SHA 94d4b0aView commit details -
Introduce hidden indices (elastic#50452)
This change introduces a new feature for indices so that they can be hidden from wildcard expansion. The feature is referred to as hidden indices. An index can be marked hidden through the use of an index setting, `index.hidden`, at creation time. One primary use case for this feature is to have a construct that fits indices that are created by the stack that contain data used for display to the user and/or intended for querying by the user. The desire to keep them hidden is to avoid confusing users when searching all of the data they have indexed and getting results returned from indices created by the system. Hidden indices have the following properties: * API calls for all indices (empty indices array, _all, or *) will not return hidden indices by default. * Wildcard expansion will not return hidden indices by default unless the wildcard pattern begins with a `.`. This behavior is similar to shell expansion of wildcards. * REST API calls can enable the expansion of wildcards to hidden indices with the `expand_wildcards` parameter. To expand wildcards to hidden indices, use the value `hidden` in conjunction with `open` and/or `closed`. * Creation of a hidden index will ignore global index templates. A global index template is one with a match-all pattern. * Index templates can make an index hidden, with the exception of a global index template. * Accessing a hidden index directly requires no additional parameters. Relates elastic#50251
Configuration menu - View commit details
-
Copy full SHA for e7a556d - Browse repository at this point
Copy the full SHA e7a556dView commit details -
[ML] Add audit warning for 1000 categories found early in job (elasti…
…c#51146) If 1000 different category definitions are created for a job in the first 100 buckets it processes then an audit warning will now be created. (This will cause a yellow warning triangle in the ML UI's jobs list.) Such a large number of categories suggests that the field that categorization is working on is not well suited to the ML categorization functionality.
Configuration menu - View commit details
-
Copy full SHA for 6901ed3 - Browse repository at this point
Copy the full SHA 6901ed3View commit details -
Improve file filter for insecure repo tests (elastic#51121)
Tests in BuildPluginIT copy the workspace but exclude the build directories based on whether the directory string representation includes `/build/` or not. This check is problematic if the directory of the project has a parent directory also named `build`. The change in this commit checks to see if the path relative to the project directory has any path parts equal to `build`.
Configuration menu - View commit details
-
Copy full SHA for 798b63b - Browse repository at this point
Copy the full SHA 798b63bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d03e9f6 - Browse repository at this point
Copy the full SHA d03e9f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a1fe82 - Browse repository at this point
Copy the full SHA 3a1fe82View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e1fd0 - Browse repository at this point
Copy the full SHA f2e1fd0View commit details -
Fix flaky usage tracking test (elastic#51169)
We added tracking of index feature usage in elastic#51031 but due to some copy and paste errors the test fails on some seeds. This fixes those errors.
Configuration menu - View commit details
-
Copy full SHA for 2d2eee2 - Browse repository at this point
Copy the full SHA 2d2eee2View commit details -
Update skip after backport (elastic#51175)
Now that we've backported elastic#50869 we can update the skip config for its test.
Configuration menu - View commit details
-
Copy full SHA for c868d0f - Browse repository at this point
Copy the full SHA c868d0fView commit details -
Use separate policies for tests in SnapshotLifecycleRestIT (elastic#5…
…1075) These policies store statistics, but since stats updating is asynchronous, it's possible for the update from one test to bleed into a separate one. This change switches the tests to use separate policy ids so that their stats are tracked independently. It also relaxes the checking constraint in one of the tests. Hopefully this: Resolves elastic#48531 Resolves elastic#48017
Configuration menu - View commit details
-
Copy full SHA for 17fd7e9 - Browse repository at this point
Copy the full SHA 17fd7e9View commit details -
Update BWC version for hidden indices (elastic#51174)
This commit updates the BWC version we use in wire serialization for the hidden indices to V_7_7_0 after the backport of the feature to the 7.x branch. Relates elastic#50452
Configuration menu - View commit details
-
Copy full SHA for 2ee6ee3 - Browse repository at this point
Copy the full SHA 2ee6ee3View commit details -
Initial autoscaling commit (elastic#51161)
This commit merely adds the skeleton for the autoscaling project, adding the basics to include the autoscaling module in the default distribution, opt-in to code formatting, and a placeholder for the docs.
Configuration menu - View commit details
-
Copy full SHA for 396778a - Browse repository at this point
Copy the full SHA 396778aView commit details -
Fix CorruptedBlobStoreRepository Test (elastic#51128)
The tests, when creating broken serialized blobs could randomly create a sequence of bytes that is partially readable by the deserializer and then not throw `IOException` but instead `ElasticsearchParseException`. We should just handle these unexpected exceptions downstream properly and pass them wrapped as `RepositoryException` to the listener to fix the test and keep the API consistent.
Configuration menu - View commit details
-
Copy full SHA for ebe33d4 - Browse repository at this point
Copy the full SHA ebe33d4View commit details -
Deprecates _upgrade API (elastic#47678) (elastic#50484)
* Deprecates _upgrade API Ref elastic#47678 * Move deprecation flags to path section. Add deprecation warning tests for _upgrade API. Ref elastic#47678
Configuration menu - View commit details
-
Copy full SHA for 829ad5f - Browse repository at this point
Copy the full SHA 829ad5fView commit details -
Make soft-deletes mandatory in 8.0 (elastic#51122)
Creating indices with soft deletes disabled is no longer supported in 8.0.
Configuration menu - View commit details
-
Copy full SHA for eff5d0d - Browse repository at this point
Copy the full SHA eff5d0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60e4bcd - Browse repository at this point
Copy the full SHA 60e4bcdView commit details -
Bump docs test suite timeout to 40min (elastic#51200)
The docs test suite is still timing out on CI at 35 minutes, so pushing it to 40 minutes while we determine the cause of the slowdown. Relates: elastic#49753
Configuration menu - View commit details
-
Copy full SHA for 181b5d3 - Browse repository at this point
Copy the full SHA 181b5d3View commit details -
Mute TimeSeriesLifecycleActionsIT.waitForSnapshot (elastic#51203)
This test was recently un-muted, but is still failing Relates: elastic#50781
Configuration menu - View commit details
-
Copy full SHA for 76427ef - Browse repository at this point
Copy the full SHA 76427efView commit details -
Configuration menu - View commit details
-
Copy full SHA for f52ffb4 - Browse repository at this point
Copy the full SHA f52ffb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60ec651 - Browse repository at this point
Copy the full SHA 60ec651View commit details -
[Docs] Small edits to Ranking Evaluation API docs (elastic#51116)
Small updates to grammar, syntax, and unclear wordings.
Configuration menu - View commit details
-
Copy full SHA for 875daa7 - Browse repository at this point
Copy the full SHA 875daa7View commit details -
Add CoolDown Period to S3 Repository (elastic#51074)
Add cool down period after snapshot finalization and delete to prevent eventually consistent AWS S3 from corrupting shard level metadata as long as the repository is using the old format metadata on the shard level.
Configuration menu - View commit details
-
Copy full SHA for 559617b - Browse repository at this point
Copy the full SHA 559617bView commit details -
[DOCS] Expands the documentation of Node Query Cache (elastic#51105)
Co-authored-by: debadair <debadair@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for 9cab6e8 - Browse repository at this point
Copy the full SHA 9cab6e8View commit details -
Exclude unmapped fields from query max_clause limit (elastic#49523)
Take into account of number of unmapped fields when calculating against limit. Closes elastic#49002
Configuration menu - View commit details
-
Copy full SHA for c31d60e - Browse repository at this point
Copy the full SHA c31d60eView commit details -
SQL: change the way unsupported data types fields are handled (elasti…
…c#50823) The hierarchy of fields/sub-fields under a field that is of an unsupported data type will be marked as unsupported as well. Until this change, the behavior was to set the unsupported data type field's hierarchy as empty. Example, considering the following hierarchy of fields/subfields a -> b -> c -> d, if b would be of type "foo", then b, c and d will be marked as unsupported.
Configuration menu - View commit details
-
Copy full SHA for 7b41175 - Browse repository at this point
Copy the full SHA 7b41175View commit details -
Revert "Don't use user-supplied type when building DocumentMapper (el…
…astic#50960)" (elastic#51214) Reverts elastic#50960 This commit has been causing test failures during upgrade tests: specifically, an upgraded node becomes master and sends a cluster state update to a 7.x node; this node sees that the mapping version of its .tasks index is the same as the master, so asserts that the serialized mappings are the same; however, because the master has rewritten the mapping to use _docinstead oftasks`, we get an assertion failure. The logical fix is for the master to increment its mapping version when it rewrites the mapping, but there isn't a simple way to do that currently. This reverts commit 774bfb5.
Configuration menu - View commit details
-
Copy full SHA for d607690 - Browse repository at this point
Copy the full SHA d607690View commit details -
check custom meta data to avoid NPE (elastic#51163)
check custom meta data to avoid NPE, fixes a problem introduced in elastic#51072 fixes elastic#51153
Configuration menu - View commit details
-
Copy full SHA for 9c85060 - Browse repository at this point
Copy the full SHA 9c85060View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b667b7 - Browse repository at this point
Copy the full SHA 5b667b7View commit details -
SQL: add support for passing query parameters in REST API calls (elas…
…tic#51029) * REST PreparedStatement-like query parameters are now supported in the form of an array of non-object, non-array values where ES SQL parser will try to infer the data type of the value being passed as parameter.
Configuration menu - View commit details
-
Copy full SHA for 3c1529a - Browse repository at this point
Copy the full SHA 3c1529aView commit details -
Account soft-deletes in FrozenEngine (elastic#51192)
Currently, we do not exclude soft-deleted documents when opening index reader in the FrozenEngine. Relates elastic#50775
Configuration menu - View commit details
-
Copy full SHA for d804ff0 - Browse repository at this point
Copy the full SHA d804ff0View commit details -
PutIndexTemplateRequest contains a single mapping (elastic#50899)
New index templates can only contain a single mapping, as we no longer support multiple types. This commit changes the internal classes used to represent a PutIndexTemplateRequest from holding a map of types to mappings, to instead holding a single mapping string. Relates to elastic#41059
Configuration menu - View commit details
-
Copy full SHA for 46045dc - Browse repository at this point
Copy the full SHA 46045dcView commit details -
Clean soft-deletes setting in ccr tests (elastic#51113)
We no longer need to explicitly enable soft-deletes in CCR tests. Relates elastic#50775
Configuration menu - View commit details
-
Copy full SHA for 8ca83e0 - Browse repository at this point
Copy the full SHA 8ca83e0View commit details -
Exclude autoscaling docs from release docs (elastic#51190)
Since autoscaling is currently only under development, this commit causes the autoscaling docs to be excluded any time that release docs are being built.
Configuration menu - View commit details
-
Copy full SHA for 8c0d210 - Browse repository at this point
Copy the full SHA 8c0d210View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe0a41c - Browse repository at this point
Copy the full SHA fe0a41cView commit details
Commits on Jan 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4d5f670 - Browse repository at this point
Copy the full SHA 4d5f670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 801eaa2 - Browse repository at this point
Copy the full SHA 801eaa2View commit details
Commits on Jan 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6a8195f - Browse repository at this point
Copy the full SHA 6a8195fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6e71ff - Browse repository at this point
Copy the full SHA f6e71ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 000821d - Browse repository at this point
Copy the full SHA 000821dView commit details
Commits on Jan 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9993330 - Browse repository at this point
Copy the full SHA 9993330View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d3c17c - Browse repository at this point
Copy the full SHA 2d3c17cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 878019d - Browse repository at this point
Copy the full SHA 878019dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e338e94 - Browse repository at this point
Copy the full SHA e338e94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2063828 - Browse repository at this point
Copy the full SHA 2063828View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d58eb - Browse repository at this point
Copy the full SHA 69d58ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for af20e44 - Browse repository at this point
Copy the full SHA af20e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c1db21 - Browse repository at this point
Copy the full SHA 3c1db21View commit details -
Configuration menu - View commit details
-
Copy full SHA for e81a286 - Browse repository at this point
Copy the full SHA e81a286View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4be717 - Browse repository at this point
Copy the full SHA a4be717View commit details
Commits on Jan 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 59e1552 - Browse repository at this point
Copy the full SHA 59e1552View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10a78e4 - Browse repository at this point
Copy the full SHA 10a78e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3380459 - Browse repository at this point
Copy the full SHA 3380459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 766ed8e - Browse repository at this point
Copy the full SHA 766ed8eView commit details
Commits on Feb 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c3ec0b2 - Browse repository at this point
Copy the full SHA c3ec0b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f32b604 - Browse repository at this point
Copy the full SHA f32b604View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa395cd - Browse repository at this point
Copy the full SHA aa395cdView commit details