54886 Commits

Author SHA1 Message Date
James Rodewig
052a61b8dd
[DOCS] Add security privileges to cluster API docs (#67589) (#67709) 2021-01-19 10:35:37 -05:00
István Zoltán Szabó
7e74688e8b
[7.10] [DOCS] Adds custom feature processors description to PUT DFA API (#67424) (#67680)
Co-authored-by: Benjamin Trent <ben.w.trent@gmail.com>
2021-01-19 14:21:04 +01:00
Nik Everett
eb9d44d0cf
Fix composite test
Our test for early termination would break if we made many small
segments because none of them would be large enough to trigger the early
termination. This makes sure have only a single segment for these test,
making sure we terminate early.

Closes #62769
2021-01-19 13:54:09 +01:00
Rene Groeschke
80b8b23b8d
Add Security Advisory to 7.10.2 release notes (#67605)
- Update docs/reference/release-notes/7.10.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-01-18 10:39:26 +01:00
Benjamin Trent
69752d4ead
[ML] [DOCS] adding missing fields to the get trained models API docs (#67590) (#67600)
Adds missing fields description, inference_config, and input to the GET trained models API documentation
2021-01-15 13:48:34 -05:00
Mark Ramotowski
310cd1bfeb
[DOCS] Fix typo (#67576)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-01-15 10:19:06 -05:00
Rene Groeschke
b7be913fef
Update bwc versions after 7.10.2 has been releeased 2021-01-15 10:19:53 +01:00
James Rodewig
af1665c1e9
[DOCS] Remove 7.10.2 coming tag (#67270) 2021-01-14 10:53:41 -05:00
James Rodewig
6f9b4ab4b6 [DOCS] Fix ILM user note 2021-01-14 10:09:16 -05:00
Rene Groeschke
f02bd9942b
Version Bumb to 7.10.3 2021-01-14 15:43:41 +01:00
AndyHunt66
8769dbdfa4
[DOCS] Add doc values restriction for wildcard fields (#67503)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-01-14 09:07:22 -05:00
James Rodewig
64c761e457
[DOCS] Fix cat API list order (#67486) (#67489) 2021-01-13 17:04:13 -05:00
James Rodewig
178cf3271f
[DOCS] Format read_slm privilege (#67485) 2021-01-13 16:47:43 -05:00
James Rodewig
08573133f1
[DOCS] Fix API titles (#67475) (#67482) 2021-01-13 15:36:15 -05:00
James Rodewig
5292951253
[DOCS] Fix casing for agg type titles (#67469) (#67472) 2021-01-13 15:04:39 -05:00
debadair
4e64737625
[DOCS] Rebrand breaking changes as the Migration guide (#66569)
* [DOCS] Rebrand breaking changes as the Migration guide

* Edits

* Fix version reference

* Fixed typo

* Added subsection intros & added info about the deprecation policy
2021-01-13 11:23:45 -08:00
Nhat Nguyen
84d8416294 Fix AllocationIdIT test failure on WindowFS (#67179)
This test failed on WindowsFS. We failed to remove the corrupted file if
it's being opened (for a short window by ListShardStore action) and the
pending delete files were clear when we restarted that node.

This commit fixes the issue by shutting down the node before removing
the corrupted file to avoid any access to that file.

Closes #66893
2021-01-13 13:50:06 -05:00
James Rodewig
3ca2702a8f [DOCS] Fix capitalization 2021-01-13 12:49:53 -05:00
David Roberts
24a2bc3f62
Extend the selective muting of memory tests on Debian 8 (#67455)
The selective muting implemented for autoscaling in #67159
is extended to the ML tests that also fail when machine
memory is reported as 0.

Most of the logic to determine when memory will not be
accurately reported is now in a utility method in the
base class.

Relates #66885
Backport of #67422
2021-01-13 16:20:39 +00:00
James Rodewig
1b6de28827
[DOCS] Fix synced flush request typos (#67446) (#67449) 2021-01-13 10:43:56 -05:00
Hendrik Muhs
a251d26339
[7.10][Transform] fix transform failure for configs with no field parameter… (#67380)
avoid illegal argument exception when fields is empty, which is a valid case

fixes #67333
2021-01-13 07:53:50 +01:00
James Rodewig
0d3a486141
[DOCS] Note ILM uses snapshot of user privileges (#67393) (#67401) 2021-01-12 16:52:18 -05:00
Łukasz Grajewski
46287e5555
[DOCS] Fix typo (#67230) 2021-01-12 15:55:26 -05:00
James Rodewig
66d8781107
[DOCS] Fix grammar and style in README (#67317) (#67365)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: Vlad Doster <mvdoster@gmail.com>
2021-01-12 13:51:52 -05:00
Przemko Robakowski
81d8cfd57f
Avoid accidental cleanups in indices cleaner tests (#67338) (#67370)
When tests in AbstractIndicesCleanerTestCase run at 1AM they can clash with scheduled clean up in CleanerService which leads to rare, non-reproducible failures.
This change fixes it by setting retention period in CleanerService to max possible time, so nothing is ever deleted by it.

Closes #64386
2021-01-12 18:49:25 +01:00
István Zoltán Szabó
e02a4ae804
[7.10][DOCS] Amends Painless in group_by transform example (#67339) 2021-01-12 15:25:38 +01:00
James Rodewig
7c8bfe803b
[DOCS] Make cat API verbose query param explicit (#67300) (#67308) 2021-01-12 08:34:33 -05:00
Douglas Robert Wallin
08e4939db2
[DOCS] Update example for GET /_cat/aliases (#67263) 2021-01-11 16:07:47 -05:00
James Rodewig
821c3e5ed7
[DOCS] Update cat templates API examples for composable templates (#67283) (#67293) 2021-01-11 14:58:32 -05:00
James Rodewig
cf06cb12a4
[DOCS] Mark template exists API as legacy (#67286) (#67289) 2021-01-11 14:28:10 -05:00
James Rodewig
22508c63de
[DOCS] Clean up index template xrefs (#67264) (#67274) 2021-01-11 12:59:05 -05:00
István Zoltán Szabó
a0f6d48917
[DOCS] Comments out group by example and link. (#67241) (#67245) 2021-01-11 12:54:38 +01:00
Rene Groeschke
ce2ba7a02d
Add release notes for 7.10.2 (#67140)
* Add release notes for 7.10.2

* Add xref

* Update docs/reference/release-notes/7.10.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update docs/reference/release-notes/7.10.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update docs/reference/release-notes/7.10.asciidoc

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-01-11 08:37:26 +01:00
Nhat Nguyen
6ba5ae2388 Retry synced-flush on conflict in tests (#66968)
Closes #66631
2021-01-10 22:35:06 -05:00
Julie Tibshirani
150a734a83 Add note to 'known issues' docs about nested hits. 2021-01-07 15:12:27 -08:00
Lee Hinman
b2bfa9ed4f
[7.10] Fix ignoring existed cluster settings in DataTierAllocationDecider (#67137) (4295d489) (#67180)
Relates to #67133.
Seem to #65037.

The main changes of this PR are:

    Modify the construction method of DataTierAllocationDecider, add a param settings like FilterAllocationDecider.
    Create DataTierAllocationDecider in the main method of DataTierMigrationRoutedStep and SetSingleNodeAllocateStep, and the DataTierAllocationDecider is constructed using the cluster settings in the cluster metadata, so the cluster level _tier filters can be seen when executing the steps.
    Add some tests for the change.

Co-authored-by: bellengao <gbl_long@163.com>
2021-01-07 11:27:22 -07:00
Marios Trivyzas
a2a389afdb
EQL: [Tests] Fix issues for SequenceSpecTests (#67104) (#67143)
- Use `argumentFormatting` starting with 1 as 0 is problematic for Java 16
- Actually enable the tests since the listener that checks the results
  was not called and nothing was asserted.
- Disable one test that fails which is tracked with: #67102

Fixes: #66778
(cherry picked from commit a4199af58b8c5ab4757a45248672e0233978b208)
2021-01-07 11:56:57 +01:00
Julie Tibshirani
747e1cc71d Fix the skip version for inner hits REST test. 2021-01-06 11:46:17 -08:00
Tanguy Leroux
5c7fd01b59
Mute DockerTests.test085EnvironmentVariablesAreRespectedUnderDockerExec (#67101)
Relates #67097
2021-01-06 14:55:32 +01:00
Tanguy Leroux
ceea5b313f
Mute MixedClusterClientYamlTestSuiteIT search.inner_hits/10_basic/Inner hits with disabled _source (#67083)
Relates #67079
2021-01-06 12:51:29 +01:00
Julie Tibshirani
ff67baac38 Make sure shared source always represents the top-level root document. (#66725)
We started passing down the root document's _source when processing
nested hits, to avoid reloading and reparsing the root source for each hit.
Unfortunately the approach did not work when there are multiple layers of
`inner_hits`. In this case, the second-layer inner hit received its immediate
parent's source instead of the root source. This parent source is filtered to
just contain the parts corresponding to the nested document, but the source
parsing logic is designed to always operate on the top-level root source. This
caused failures when loading the second-layer inner hits.

This PR makes sure to always pass the root document's _source when processing
inner hits, even if there are multiple layers.
2021-01-05 14:27:41 -08:00
James Rodewig
0fad7f6fc6
[DOCS] Rewrite agg breakdown docs for profile API (#67042) (#67057) 2021-01-05 17:25:07 -05:00
Przemko Robakowski
fdd2a9c235
Fix whitespace as a separator in CSV processor (#67045) (#67050)
This change fixes problem when using space or tab as a separator in CSV processor - we check if current character is separator before we check if it is whitespace.

This also improves tests to always check all combinations of separators and quotes.

Closes #67013
2021-01-05 23:05:10 +01:00
Lisa Cawley
6175e18e92
[DOCS] Clarify impact of delayed data in anomaly detection (#66816) (#67041)
Co-authored-by: Benjamin Trent <ben.w.trent@gmail.com>
2021-01-05 13:15:19 -08:00
Lee Hinman
e9b798bdb1
[7.10] Make FilterAllocationDecider totally ignore tier-based allocation settings (#67019) (#67034)
Previously we treated attribute filtering for _tier-prefixed attributes a pass-through, meaning
that they were essentially always treated as matching in DiscoveryNodeFilters.match, however, for
exclude settings, this meant that the node was considered to match the node if a _tier* filter was
specified.

This commit prunes these attributes from the DiscoveryNodeFilters when considering the filters for
FilterAllocationDecider so that they are only considered in DataTierAllocationDecider.

Resolves #66679
2021-01-05 12:42:34 -07:00
Jack Conradson
8e294d53bc Fix static inner class resolution in Painless (#67027)
When removing the "lexer hack" to remove type context from the lexer, static inner class resolution 
wasn't properly accounted for. This change adds code to handle static inner class resolution.
2021-01-05 11:12:11 -08:00
James Rodewig
67f43ffc5f
[DOCS] Fix formatting for fieldata docs (#67017) (#67025) 2021-01-05 12:36:25 -05:00
James Rodewig
8d0fc47d3c
[DOCS] Remove duplicate xpack.enabled setting in example (#66897) (#67008)
Co-authored-by: Jacob Ouellette <jackscripter45@gmail.com>
2021-01-05 10:22:22 -05:00
James Rodewig
3bd66ba94a
[DOCS] Clarify memlock settings in /etc/security/limits.conf (#66694) (#67000) 2021-01-05 09:19:30 -05:00
István Zoltán Szabó
8cd1d98431
[DOCS] Improves inference processor linking and docs (#66119) (#66985) 2021-01-05 14:05:29 +01:00