https://github.com/elastic/elasticsearch

sort by:
Revision Author Date Message Commit Date
3700f76 Await listener in ReplicationOperationTests#testNoLongerPrimary (#84616) (#84620) Closes #84610 03 March 2022, 12:57:03 UTC
5fd7bcb DOCS: more visibility over how min_age works when rollover is present (#84273) (#84487) 03 March 2022, 12:39:44 UTC
67673cd AwaitsFix for #84610 (#84612) (#84615) 03 March 2022, 12:13:35 UTC
af7d32c Fork to WRITE thread when failing shard (#84606) If a replication operation fails then the primary will try and fail the replica. If this operation also fails (i.e. another shard copy has been promoted to primary) then the primary must fail itself. Today it does this on a transport thread. This is a problem because failing the shard needs to acquire a lock which may be held by another operation that is performing some potentially-long-running IO. With this commit we add an assertion that the engine is never failed on a transport thread, and adjust `ReplicationOperation` to fork the call to `failShard` to the `WRITE` threadpool. Without the change to `ReplicationOperation` the assertion is tripped by `testAckedIndexing`. Closes #84602 03 March 2022, 10:49:18 UTC
018de1a Dix docker instructions for elasticsearch (#84604) (#84607) We suggest users should run the containers in a specific network but we didn't include the command to create the network. This commit addresses that. 03 March 2022, 10:23:04 UTC
71992f9 Fix PolicyStepsRegistry's cachedSteps null handling (#84588) 03 March 2022, 02:15:39 UTC
c406dae Mute SingleNodeTests#testThatLoadingWithNonExistingIndexWork 02 March 2022, 19:05:05 UTC
55b212c Fix for exception self-suppression in Rest client (#83568) (#84580) Co-authored-by: Philip Krauss <35487337+philkra@users.noreply.github.com> Co-authored-by: Fedor Bobin <fuudtorrentsru@gmail.com> Co-authored-by: Philip Krauss <35487337+philkra@users.noreply.github.com> 02 March 2022, 18:22:41 UTC
30bcc75 Fixing the reference time so that age does not change during a test (#84528) (#84572) This change makes it so that the reference time from which the "age" field of the IndexLifecycleExplainResponse object is derived does not change for the duration of testConcurrentToXContent(). 02 March 2022, 15:38:57 UTC
4a9a7fc Use providers for expensive input calculation in testingconvention task (#84508) (#84560) 02 March 2022, 10:53:38 UTC
55e8cef Reduce cluster state persistence check frequency (#84517) In #84142 we introduced a somewhat-expensive assertion that every cluster state we write can be read again. In practice we don't need to check that property every time, so with this commit we usually skip it. 02 March 2022, 09:46:41 UTC
fc3dee1 Adding a check that the test attribute name is not a role name (#84533) (#84537) SetSingleNodeAllocateStepTests.testPerformActionAttrsRequestFails() randomly generates attribute names. In rare cases the attribute name happens to be a role name. This commit makes sure that test attribute names are not also role names. 01 March 2022, 23:46:13 UTC
e567318 Use 'main' when referring to default branch (#84463) (#84530) 01 March 2022, 22:00:44 UTC
f69a10c Getting deprecation.skip_deprecated_settings to work with dynamic settings (#81836) (#84523) (#84526) Previously, deprecation.skip_deprecated_settings did not work with dynamic settings. The reason is that when the deprecation check was done, only the current settings were available. When the setting is a node setting that is fine because deprecation.skip_deprecated_settings is also a node setting. However when the setting is dynamic, deprecation.skip_deprecated_settings is not in the Settings object. 01 March 2022, 21:28:52 UTC
e2ab0f6 Docs: Fixing formatting on slow log page (#84509) Trying to fix some of the formatting in the last paragraph 01 March 2022, 18:54:44 UTC
e9575ed Bump version for 8.0.1 release 01 March 2022, 18:13:05 UTC
19b6628 [DOCS] Remove 8.0.1 coming tag (#84297) (#84516) (cherry picked from commit 10bca1c7e8046d1e5c47231bb5f4b46c7e7b0de6) 01 March 2022, 17:10:57 UTC
a38b5f4 Assert written metadata is readable (#84142) (#84501) We write the cluster state to disk on every update, but we only read it back when a node restarts. Few tests actually restart nodes at all, and almost all of the ones that do will wait for the cluster to be in a specific state before stopping any nodes. This means we are lacking coverage of reading cluster states from disk. This commit introduces an assertion which occasionally attempts to reload the cluster state it just wrote and ensures that this attempt succeeds and throws no exceptions. Co-authored-by: Tanguy Leroux <tlrx.dev@gmail.com> 01 March 2022, 16:28:36 UTC
2684ea3 Fix SimpleBlocksIT (#84485) (#84505) The tests testAddIndexBlock and testAddBlockWhileIndexingDocuments failed few times with the TransportVerifyShardIndexBlockAction timing out. This replication action works by acquiring all index shard operation permits on the primary shard before checking that a block is in place (in the case of the failures, it's a block preventing writes); and then do the same thing on the replicas (while still holding a permit on the primary). But in the rare failures we saw, the replication action failed to acquire the primary permit within 30 sec, so it timed out. I failed to reproduce the issue but I suspect this is because a finalizing peer recovery which also acquires a permit on the primary to mark the replica as "in-sync" before blocking until the local checkpoint on the specified shard advances above the current global checkpoint, which is impossible due to the block blocking writes being in place. I think this is a very edge case situation that is not very likely to happen in production. The add block request just times out and is removed. Retrying to add the block should work is most cases. I suggest to just adapt the tests to avoid this situation. Closes #74345 01 March 2022, 15:46:31 UTC
3035026 Properly register TestPlugin's NamedXContent in NodeShutdownTasksIT (#84445) (#84461) Prior to this commit, `TestPlugin` did not properly register the named XContent parsers required for the persistent task metadata it used. This commit adjusts this test fixture to register its named XContent. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> 01 March 2022, 15:16:21 UTC
4e698a1 [DOCS] Update sum aggregation for histograms (#84493) (#84497) Fixes an error and test snippets for the sum aggregation example for histograms. Closes #84491 Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> (cherry picked from commit fb45ac9deae7053c8925cd90afebad150f3fdf06) Co-authored-by: Maja Grubic <maja.grubic@elastic.co> 01 March 2022, 13:42:41 UTC
d6370ff Test: Ignore .tasks index (#84453) (#84456) The test for sorting in `_cat/shards` fails sometimes because it sees the `.tasks` index. This limits it to only the indices it expects to be there. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> 01 March 2022, 13:38:52 UTC
f37bdc7 [Test] Fix FollowIndexSecurityIT by granting needed previleges (#84467) (#84471) CCR user on the leader cluster needs more privileges than what are documented (#61308). Specifically it needs to renew the retention lease at a fixed time interval. This PR fixes it by granting the "manage" index privilege to the CCR user on the leader cluster. Note we still want to revisit privileges required CCR or at least fix our documentation. This will be tracked with #61308. Resolves: #84156 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> 01 March 2022, 07:19:47 UTC
8ea44df Fix mock object creation in DelegatePki HLRC test (#84468) This test would create objects with an authentication_type of "API_KEY", but with a real authentication realm (rather than the API key synthetic realm). It is not possible to create an object like that on the server, so the test was asserting behaviour that cannot exist, and should not be subject to test constraints. This commit fixes the mock object creation to always create more realistic objects. Relates: #84396 Resolves: #84433 01 March 2022, 06:20:54 UTC
d6c9edf Test: Fix forward compat skip (#84458) (#84472) 01 March 2022, 03:46:03 UTC
11599e1 Add a REST layer test for reverse_nested (#83874) (#84454) REST layer tests are how we get backwards compatibility testing. So they are important! The `reverse_nested` aggregation doesn't have any configuration. Like, none. But it didn't have any REST tests at all which is a shame. This adds one. 28 February 2022, 21:07:15 UTC
f2876ed Allow removing unreferenced composable data stream templates (#84376) (#84449) Previously there was a bug where when we retrieved the list of data streams using a template, we only checked index patterns, rather than actually comparing priorities and only treating the highest priority template as "referenced". This commit fixes this problem by only treating the matching composable template as referenced, allowing unreferenced templates to be safely deleted. Resolves #84188 Resolves #84171 28 February 2022, 20:02:39 UTC
89c4a16 Adding removable settings to the meta block for more deprecated dynamic settings (#84378) (#84446) This commit forward-ports the only part of #84358 that is relevant to 8.x -- putting the removable setting names into the meta block for deprecated settings that have been removed in a future version. 28 February 2022, 19:00:15 UTC
1d9a8ce [8.1] [ML] Register the named X-content parser for snapshot upgrade params (#84428) Model snapshot upgrade persistent task params may need to be parsed from X-content if a node is shut down while a model snapshot upgrade is in progress. Previously the X-content parser for model snapshot upgrade persistent task params existed but was not registered. This PR corrects that omission. Backport of #84420 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> 28 February 2022, 18:44:34 UTC
ee1b87b REST tests for top_hits (#83690) (#84441) This adds a pile of extra REST tests for the `top_hits` aggregation which is useful because this is how we do mixed version cluster testing. And backwards compatibility testing. And forwards compatibility testing. 28 February 2022, 18:44:21 UTC
2c1b34b Fix can access resource checks for API Keys with run as (#84431) * Fix can access resource checks for API Keys with run as (#84277) This fixes two things for the "can access" authz check: * API Keys running as, have access to the resources created by the effective run as user * tokens created by API Keys (with the client credentials) have access to the API Key's resources In addition, this PR moves some of the authz plumbing code from the Async and Scroll services classes under the Security Context class (as a minor refactoring). * spotless * Merge fallout * AuthenticationTests Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> 28 February 2022, 18:38:08 UTC
16d2dde Improve readability of field retrieval docs (#84373) * Collapse more specialized sections around nested fields, unmapped fields, and ignored values * Move information on metadata fields to a 'note' and streamline it a bit Closes #82983. 28 February 2022, 17:53:06 UTC
79d635b Clarify docs on field type families (#84368) There has been some confusion over the definition of a field type family. This PR clarifies the definition in the docs: the two types should have the exact same search behavior (including supporting the same queries/ aggs, and producing the same response). It's not sufficient for them to just support the samme search operations. This change also fixes an inaccurate statement that there is only one field type family so far. 28 February 2022, 17:43:10 UTC
9bef9fb Remove 'under development' note in suggester docs (#84366) In the intro, we mention that parts of the feature are still under development. This is not very helpful information for users, and could give the wrong impression about its maturity. 28 February 2022, 17:42:49 UTC
e5fbd84 Muting HLRC DelegatePkiAuthenticationResponseTests (#84443) Due to https://github.com/elastic/elasticsearch/issues/84433 28 February 2022, 17:34:57 UTC
d565182 [DOCS] System indices no longer accessible 8.0 (#84377) (#84439) We know that we plan to remove direct access to system indices, but we aren't sure what major version that change will fall in. This updates the docs to avoid any confusion in the meantime. Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> (cherry picked from commit ffd21e52594edaa0b6eabce8398e524ece371a5e) Co-authored-by: Stef Nestor <steffanie.nestor@gmail.com> 28 February 2022, 17:03:15 UTC
45ec60a [Docs] Distinguish warm vs cold vs frozen tiers (#84155) (#84435) Today, the description at the top of this data tier page can be confusing for users on how to choose between warm vs cold or cold vs frozen. I added some descriptions around cold and frozen tiers to emphasize the ability of use of searchable snapshot and their storage benefit based on https://www.elastic.co/elasticsearch/elasticsearch-searchable-snapshots and https://www.elastic.co/blog/introducing-elasticsearch-frozen-tier-searchbox-on-s3. Feel free to reword it. Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com> Co-authored-by: James Rodewig <james.rodewig@elastic.co> (cherry picked from commit 456aca8b1a72cae2d420c51af1e30f904b0ae825) Co-authored-by: Leaf-Lin <39002973+Leaf-Lin@users.noreply.github.com> 28 February 2022, 16:59:23 UTC
5ff44f3 Fix attempted refactor 28 February 2022, 15:32:20 UTC
9898554 Add version 7.17.2 28 February 2022, 14:59:55 UTC
be3ced5 [DOCS] Update CCS forward compatibility docs (#84055) (#84423) Documents the following: * FWC for CCS within the same major version. * A local cluster running the last minor of a major can search a remote cluster running any minor in the following major. * Only features that exist across all searched clusters are supported. (cherry picked from commit 6f5541a9d6d8120de1fe9904cbbc8e0be015b1a4) 28 February 2022, 13:41:56 UTC
5780169 Update docs for v8.1.0 release (#84383) 28 February 2022, 10:47:18 UTC
297a039 Expect eof when daemonized (#84371) Closes #84204 again. When running archive packging tests with a keystore password and the -d option, there does actually need to be an `eof` expectation or else we don't capture the error when the keystore password is incorrect. 28 February 2022, 09:21:32 UTC
d4a22de Fix isApiKey test and apply it consistently (#84396) (#84404) Creating tokens using API keys is not properly supported till #80926. Previously the created token always has no previlege. Now the token has the same privilege as the API key itself (similar to user created tokens). Authenticating using the token is considered equivalent to the API key itself. Therefore the "isApiKey" check needs to be updated to cater for both authentications of API key itself and the token created by the API key. This PR updates the isApiKey check and apply it consistently to ensure the behaviour is consistent between an API key and a token created by it. The only exception is for supporting run-as. API key itself can run-as another user. But a token created by the API key cannot perform run-as (#84336) similar to how user/token works. 28 February 2022, 08:04:20 UTC
4505442 Fix owner user realm check for API key authentication (#84325) (#84401) * Fix owner user realm check for API key authentication (#84325) API Key can run-as since #79809. There are places in the code where we assume API key cannot run-as. Most of them are corrected in #81564. But there are still a few things got missed. This PR fixes the methods for checking owner user realm for API key. This means, when API Keys "running-as" (impersonating other users), we do not expose the authenticating key ID and name to the end-user such as the Authenticate API and the SetSecurityUseringest processor. Only the effective user is revealed, just like in the regular case of a realm user run as. For audit logging, the key's ID and name are not exposed either. But this is mainly because there are no existing fields suitable for these information. We do intend to add them later (#84394) because auditing logging is to consumed by system admin instead of end-users. Note the resource sharing check (canAccessResourcesOf) also needs to be fixed, this will be handled by #84277 * fix test 28 February 2022, 07:00:55 UTC
615c3cd Restrict run-as to realm and api_key authentication types (#84336) (#84399) This PR removes run-as support for authentication types other than realm and API key. The change essentially makes the behaviour closer to the existing one (in released versions) except for API keys. This is not to say that the existing behaviour is the best. But we need more time to agree on the new behaviour. Relates: #79809 28 February 2022, 05:09:15 UTC
5a94989 [DOCS] Fix intro for "Encrypt HTTP client communications for Kibana" (#84237) (#84387) Updates the intro to the "Encrypt HTTP client communications for Kibana" so it aligns with the order of the following subsections. Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 9dd571735574b7d23cac1a75e0802cce8df27c1f) Co-authored-by: Navanit-git <98005188+Navanit-git@users.noreply.github.com> 25 February 2022, 16:20:54 UTC
a1b013f [ML] Record node shutdown start time for each node (#84355) (#84364) The ML integration into the node shutdown API was supposed to have functionality that allowed nodes to shut down 10 minutes after the initial request if jobs did not vacate the node gracefully in that time. Unfortunately this functionality did not always work, as the node that gets asked whether a particular node is ready to shut down might not be the node that is shutting down. This change makes every node remember the time that ML nodes were asked to shut down, so that every node is in a position to respond accurately to whether an ML node is ready to shut down, including taking the timeout into account. 24 February 2022, 19:19:56 UTC
9795562 Fix DirectBlobContainerIndexInput cloning method (#84341) (#84344) The method doesn't use the parent classes `clone()` method and therefore the BufferedIndexInput's `bufferStart` member is not cloned either and has the value `0`. The recent Lucene update which includes LUCENE-10377 introduced more usages of the Lucene*SkipReader which internally uses an `IndexInput` cloned twice (and the second clone will have a wrong buffer start value). Test failures in recent history (see #84238) have been reproduced and now pass with this fix. Closes #84238 24 February 2022, 16:04:21 UTC
77e9985 Package installation docs minor change (#84177) (#84337) Make it clearer that security configuration happens on installation and not on first start of Elasticsearch. (cherry picked from commit c923bd235bcdd0b5d5257affb65437e7ea4956f5) 24 February 2022, 13:52:11 UTC
b47d0a5 Restart ES after keystore upgrade in postinst (#84224) Closes #82433. If the environment variable `RESTART_ON_UPGRADE` is true, then ensure that we delay restarting Elasticseach until after the keystore is upgraded, or else we can run into permissions problems. 24 February 2022, 09:29:36 UTC
93d8e44 [DOCS] Expands description of the reset transform API (#84270) (#84329) 24 February 2022, 09:15:19 UTC
78c7054 Fix Gradle task validation errors when running dependencies info task (#84310) (#84321) 24 February 2022, 01:56:22 UTC
b7d2d75 Forward-port late deprecation info API changes to 8.x (#83675) (#84319) This is a forward-port of #82487, #83544, #83601, #84145, and #84246, but given that the branches had diverged so much they were not a straightforward cherry-picks. It required modifying the interface of the NodeDeprecationChecks to include ClusterState as we do in 7.x. 23 February 2022, 23:08:14 UTC
fe4c74a Register Feature migration persistent task state named XContent (#84192) This PR properly registers `NamedXContentRegistry` entries for `SystemIndexMigrationTaskParams` and `SystemIndexMigrationTaskState`. It also adds tests for the XContent de/serialization for those classes, and fixes a bug revealed by these tests in `SystemIndexMigrationTaskState`'s parser. Finally, it adds an integration test which simulates the conditions in which #84115 occurs: A node restart while the migration is in progress. This ensures that we have fixed that particular bug. Co-authored-by: David Turner <david.turner@elastic.co> Co-authored-by: Gordon Brown <gordon.brown@elastic.co> Co-authored-by: Przemyslaw Gomulka <przemyslaw.gomulka@elastic.co> 23 February 2022, 22:27:46 UTC
e54d836 Fix SimpleValidateQueryIT#testExplainValidateQueryTwoNodes (#84296) (#84311) Under rare circumstances the 10 documents the test indexes might land on only one shard, resulting in a different output for the validation query than expected. By adding fixed doc ids we can avoid this and also make the test more reproducable. Closes #84218 23 February 2022, 18:59:59 UTC
ce42a91 Clarify docs about CA fingerprints and Fleet (#84056) (#84253) Co-authored-by: James Rodewig <james.rodewig@elastic.co> Co-authored-by: Ioannis Kakavas <ikakavas@protonmail.com> 23 February 2022, 17:33:48 UTC
2bad34a [DOCS] Fix upgrade docs for 8.x (#84076) (#84305) The current upgrade docs contain some language that's only applicable to 8.0. This updates the docs so they're usable in other 8.x branches. (cherry picked from commit 2437e7d36f90d2e847edcbc5f631c740e823afc2) 23 February 2022, 16:37:52 UTC
30a77fb [DOCS] Update screenshots for ingest pipeline docs (#83845) (#84304) https://github.com/elastic/kibana/pull/101216 adds a new ECS mapper feature to the Ingest Pipelines UI. This updates the ES docs to cover the new feature. (cherry picked from commit d3d468e5f178c4dae1456bd0f74b49ad901d5008) 23 February 2022, 16:06:46 UTC
d062b26 Remove `eof` from expect script (#84287) Hopefully fixes #84204. When we build an expect script in the packaging tests, we insert `expect eof` after supplying the password. This makes expect wait until the output of ES is closed, which isn't actaully what we want, as we then go on to expect on a number of other outputs. So, remove this `eof`, and let the other expectations do their work. 23 February 2022, 15:59:03 UTC
cabb749 SQL: Deprecate index_include_frozen request parameter and `FROZEN` keyword (#83943) (#84298) Resolves https://github.com/elastic/elasticsearch/issues/81939 (part of https://github.com/elastic/elasticsearch/issues/70192) Deprecates the `index_include_frozen` REST parameter in the `/_sql` endpoint and all the syntax including the `FROZEN` keyword. # Conflicts: # x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/LogicalPlanBuilder.java 23 February 2022, 15:48:23 UTC
472a5ed Replace getProject() references with injected services in task implementations where possible (#81681) (#84288) - Rework task implementations to avoid project usage at execution time - In general usages of getProject() within a task should be avoided as it is not compatible with gradle configuration cache. Related to #57918 23 February 2022, 15:27:32 UTC
0586b6b Document partial search results with skip_unavailable (#84057) (#84301) This commit adds an explanation for the relation between `allow_partial_search_results` and `skip_unavailable` in CCS requests. Relates to #33915 Closes #82407 Co-authored-by: James Rodewig <james.rodewig@elastic.co> (cherry picked from commit 86964c9752e26f007f343724009412fa73cb0592) Co-authored-by: Nhat Nguyen <nhat.nguyen@elastic.co> 23 February 2022, 15:21:18 UTC
0cd49dc [DOCS] Add 8.0.1 release notes (#84213) (#84293) Update docs for v8.0.1-BC2 release (cherry picked from commit 7809c8e515a249214be821d1b071b3bd085a4163) # Conflicts: # docs/reference/release-notes.asciidoc Co-authored-by: Salvatore Campagna <93581129+salvatore-campagna@users.noreply.github.com> 23 February 2022, 14:47:43 UTC
e9de8a2 [8.1] [ML] allow autoscaling to work when vertical scaling is possible (#84242) (#84280) * [ML] allow autoscaling to work when vertical scaling is possible (#84242) When an NLP model is deployed, or a DFA/Anomaly job is assigned, we have historically relied only on the xpack.ml.max_lazy_ml_nodes to determine if scaling is possible. But, in certain scenarios, it may be that scaling is available when xpack.ml.max_lazy_ml_nodes is fully satisfied. xpack.ml.max_ml_node_size is now checked to see if the current ML nodes exceed this size. If not, we assume vertical scaling is possible and allow the tasks to be created. closes #84198 * fixing for backport 23 February 2022, 14:24:41 UTC
46198a8 update source files for the docs (#84271) 23 February 2022, 12:22:10 UTC
297b69e [DOCS] Update 8.1.0 release notes (#84185) 23 February 2022, 10:14:13 UTC
4699f1b [DOCS] Adds reference of transform reset option to the tutorial (#84194) (#84265) 23 February 2022, 09:13:42 UTC
1fc6d3f Fix GeoGridTilerTestCase (#84164) (#84260) The test is failing now because in #84051, we are not failing in polygons when we can compute the signed area and the error has been moved to the indexer. 23 February 2022, 07:56:08 UTC
20fbe12 [ML] fix bug where initial scale from 0->1 could scale too high (#84244) (#84247) A bug introduced in #72423 could cause initial scaling from 0->1 to be much too high for the given tier. This only occurs if the autoscaling capacity API was called numerous times in a row while there were no machine learning nodes, but autoscaling was enabled. 22 February 2022, 22:44:17 UTC
7f1bb33 Skip product header check in buggy versions (#84210) (#84240) In #83290 we added an assertion that Elasticsearch returns the product header in every REST response. Unfortunately this isn't always the case, we found bugs in a couple of released versions and fixed them in #84038 and #84089. With this commit we skip the new assertion in the known-buggy versions. Closes #84036 again. 22 February 2022, 20:12:45 UTC
0dc15b0 DOCS Security audit ignore for the `action` event field (#83583) (#84234) Security audit ignore filter policies work on the audit event's action field. Co-authored-by: Johannes Mahne <johannes.mahne@elastic.co> 22 February 2022, 19:35:45 UTC
ae83bd2 [8.1] [ML] Text structure finder caps exclude lines pattern at 1000 characters (#84239) Because of the way Filebeat parses CSV files the text structure finder needs to generate a regular expression that will ignore the header row of the CSV file. It does this by concatenating the column names separated by the delimiter with optional quoting. However, if there are hundreds of columns this can lead to a very long regular expression, potentially one that cannot be evaluated by some programming languages. This change limits the length of the regular expression to 1000 characters by only including elements for the first few columns when there are many. Matching 1000 characters of header should be sufficient to reliably identify the header row even when it is much longer. It is extremely unlikely that there would be a data row where the first 1000 characters exactly matched the header but then subsequent fields diverged. Backport of #84236 22 February 2022, 18:54:37 UTC
e39413d [DOCS] Add read_pipeline privilege to transform setup (#84151) (#84233) 22 February 2022, 16:39:10 UTC
abfc4c9 Add extra section on doc-value-only fields to documentation (#84209) Adds a dedicated section for doc-value-only fields to the docs that can be linked to. 22 February 2022, 11:06:32 UTC
bf1668b Fix testFollowerCheckerDetectsUnresponsiveNodeAfterMasterReelection (#84200) This test would fail if we introduce the network partition while the master is still publishing a cluster state update and hasn't received the ack from the victim node. In this case the default publish timeout means that the master will wait for 30s before completing the stalled publication and moving on to the `node-left` one, but `ensureStableCluster` also times out after 30s which leaves not much time for the master to remove the victim node. This commit reduces the publish timeout to 10s so that the master recovers well before `ensureStableCluster` times out. Closes #84172 22 February 2022, 08:32:05 UTC
d885bc4 [DOCS] Fix shrink index API prereqs (#84197) 21 February 2022, 21:18:44 UTC
cd6aecc Do not deserialise the document when not needed in the fields fetch phase (#84184) (#84189) 21 February 2022, 12:52:17 UTC
6293577 Adjust auto-configuration related docs (#84080) (#84175) * Add a note that the http_ca.crt certificate that is generated and stored in config/certs can be used to configure any client to trust the certificate that elasticsearch uses for TLS on the HTTP layer * Add a note that the elasticsearch-create-enrollment-token CLI tool can only be used with auto-configured TLS settings. 20 February 2022, 09:11:58 UTC
c144553 Mute FrozenSearchableSnapshotsIntegTests#testCreateAndRestorePartialSearchableSnapshot 18 February 2022, 00:10:24 UTC
cfd6a2b Mute LdapSessionFactoryTests#testSslTrustIsReloaded 17 February 2022, 23:46:28 UTC
eefc65d Mute GeoGridTilerTestCase#testGeoGridSetValuesBoundingBoxes_UnboundedGeoShapeCellValues 17 February 2022, 22:36:58 UTC
54dacaf Always re-run Feature migrations which have encountered errors (#83918) (#84139) This PR addressed the behavior described in #83917, in which Feature migrations which have encountered errors are not re-run in some cases. As of this PR, Features which have encountered errors during migration are treated the same as Features requiring migration. This PR also adds a test which artificially replicates #83917. 17 February 2022, 17:54:08 UTC
a0a8874 Add API specs for OpenID Connect APIs (#84128) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> 17 February 2022, 16:30:52 UTC
016ddd0 [DOCS] Clarify `orientation` usage for WKT and GeoJSON polygons (#84025) (#84130) Clarifies that the `orientation` mapping parameter only applies to WKT polygons. GeoJSON polygons use a default orientation of `RIGHT`, regardless of the mapping parameter. Also notes that the document-level `orientation` parameter overrides the default orientation for both WKT and GeoJSON polygons. Closes https://github.com/elastic/elasticsearch/issues/84009. (cherry picked from commit 6ad3f8bfdd7c7ea1b0d8e35cba90555d9fc73250) 17 February 2022, 15:45:12 UTC
ff2f7ae [DOCS] Remove note about partial response from Bulk API docs (#84053) (#84117) The bulk API response with a `200 OK` HTTP status always returns an entry for each action in the request. Partial responses aren't applicable. (cherry picked from commit 8ff13361276416cc1d6de43e047902ce227bc6aa) 17 February 2022, 14:34:21 UTC
d8182d1 [DOCS] Mark #82409 as a notable release highlight (#84103) Marks PR #82409 as a notable release highlight in its changelog YAML file. This ensures the highlight displays in the [Elastic Upgrade Guide](https://www.elastic.co/guide/en/elastic-stack/8.1/elasticsearch-highlights.html). Relates to https://github.com/elastic/elasticsearch/pull/84041 17 February 2022, 14:13:58 UTC
909f42c [DOCS] Fix `ignore_unavailable` parameter definition (#84071) (#84104) The current `ignore_unavailable` definition is a bit misleading. The parameter primarily determines if a request that targets a missing or closed index returns an error. (cherry picked from commit f9a64b2e8685a95fe27b89daefbe898668298b13) 17 February 2022, 13:37:27 UTC
d87642a Revert "Clean up for superuser role name references (#83627)" (#84096) (#84101) This reverts commit a9cdbf42c6140e7c0e2ac49d8ccd25683741084d. The role name change does not play well with API key creation. 17 February 2022, 13:09:12 UTC
5083e20 Avoid null threadContext in ResultDeduplicator (#84093) (#84097) In #84038 we added a dependency on having a valid `threadContext` in a repository, but some tests use mocking and may end up with a `null` here. This seems not to be a problem in recent branches but causes failures in 8.0. With this commit we ensure that we always have a valid `threadContext` to avoid any problems. 17 February 2022, 12:33:43 UTC
e6e7449 Update Lucene analysis base url (#84094) (#84099) Moving to Lucene 9 slightly changed the base url for the analysis components which this PR fixes. Co-authored-by: Elasticsearch addict <amitmbm87@gmail.com> 17 February 2022, 12:00:51 UTC
ec222f6 Preserve context in snapshotDeletionListeners (#84089) (#84091) Closes #84036 17 February 2022, 11:15:39 UTC
c11250d fix testRestoreLocalHistoryFromTranslogOnPromotion (#84027) (#84086) This test was failing in rare cases when there are only few operations and maxSeqNoOfUpdatesOrDeletes is greater then maxSeqNoOfUpdatesOrDeletesBeforeRollback (cherry picked from commit aeed4ebe822c2948871dd4faf900f1abfaa34b56) 17 February 2022, 08:53:42 UTC
d5a900c Preserve context in ResultDeduplicator (#84038) (#84085) Today the `ResultDeduplicator` may complete a collection of listeners in contexts different from the ones in which they were submitted. This commit makes sure that the context is preserved in the listener. 17 February 2022, 08:42:24 UTC
a4acbe1 GeometryNormalizer should not fail if it cannot compute signed area (#84051) (#84082) This commit removes the exception throwing and assumes that when the area is zero, the polygon has the right orientation. The exception will be thrown at indexing time when the polygon is invalid . 17 February 2022, 08:39:18 UTC
9b14a98 Fix GeoHexAggregationBuilderTests (#84049) (#84079) Adjust some of the random values that are out of bounds. 17 February 2022, 06:45:54 UTC
3746e70 Adjust timeout for responses from SMB fixture (#84037) (#84077) We have recently seen a number of failures in ActiveDirectorySessionFactoryTests where we fail to get a response from the Samba Server we use in the default time frame of 5 sec. The fixture seems to be up and running successfully so there is the case that it's just too slow to respond within the 5 sec. This commit bumps the timeout to 15s (cherry picked from commit 238cd20e88421024b2484d716eab3d85ce47d5e5) 17 February 2022, 06:07:11 UTC
e01660f Correct documentation regarding how to restore no `feature_states` (#83814) (#84074) This commit corrects the snapshot creation and restoration docs to describe the usage of `"none"` to restore no feature states. Previously, they incorrectly stated that using an empty array would accomplish this, but specifying an empty array results in the default behavior (rather than preventing feature state snapshot/restoration). 17 February 2022, 01:17:06 UTC
ba853a4 Use latch to speedup multi feature migration test (#84007) (#84069) The multi feature migration test works by having two system index features that are to be upgraded. The reindexing of the system indices of those features is done in sequence by the system index migrator, and the test has an assertBusy that waits for all the migrations to complete. Unfortunately assertBusy backs off exponentially, so it isn't great for quickly resuming the test once the underlying assertion becomes true, since the condition might change shortly after an iteration, and then have to wait for a long backoff. This commit adds a latch which will count down all the executions of the test plugins, so that the assert busy will not be run until after all the indexes have migrated. closes #83953 17 February 2022, 00:19:26 UTC
1ddc690 Adding a warning if node.attr.data is set (#84050) (#84065) This adds a warning-level deprecation if a user has set the node.attr.data setting, since it is a sign that they are trying to create a hot/warm setup in the way that is no longer supported. Closes #83800 16 February 2022, 22:09:50 UTC
7ff5228 Unmute BWC rest tests (#84058) (#84062) This PR unmutes some tests that were muted for backporting #83290 16 February 2022, 21:29:20 UTC
back to top