Skip to content
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

[pull] main from elastic:main #521

Merged
merged 15 commits into from
Nov 19, 2024
Merged

[pull] main from elastic:main #521

merged 15 commits into from
Nov 19, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Nov 19, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

kingherc and others added 15 commits November 19, 2024 09:59
The changes of PR #115019 were reverted because it induced ES-8275. Now
that the ticket is done, this PR re-introduces the reverted changes.

Fast refresh indices should now behave like non fast refresh indices in
how they execute (m)gets and searches. I.e., they should use the search
shards.

For BWC, we define a new transport version. We expect search shards to
be upgraded first, before promotable shards. Until the cluster is fully
upgraded, the promotable shards (whether upgraded or not) will still
receive and execute gets/searches locally.

Relates ES-9573
…116869)

Check for current downloading tasks in the download action.
This was trying to assert that the code under test threw an exception
using the 'try-act-fail-catch-assert' pattern, only the 'fail' step
was missing, meaning that the tests would have incorrectly passed if
the method didn't throw.

This switches it to using `assertThrows`, which is less easy to get
wrong.
Add an explanation of why `... OR NULL` is needed with `COUNT(...)`.

Fixes: #99954
* Support any tokenizers for text_expansion task

* Remove unused imports

---------

Co-authored-by: Elastic Machine <[email protected]>
…ernal aggregations (#116874)

This commit changes the signature of InternalAggregation#buildAggregations(long[]) to
InternalAggregation#buildAggregations(LongArray) to avoid allocations of humongous arrays.
This test doesn't need to run in FIPS mode, and apparently it fails
sometimes, so with this commit we skip it.

Closes #116811
* add docs for date_period and time_duration
The test is conditional on the old version being pre-v8, which is never true on main now
Now, error fields will always have 'type' and 'reason' fields, and the information in those fields is the same regardless of whether the output is detailed or not
…definition (#116944)

Support for type, fields, copy_to and boost in metadata field definition has been
deprecated in #90989. Such fields have been long parsed and silently ignored.
This commit fixes a test fails based on the random seed.
The change updates the name of the test to match the updated name of the method it is testing.
It also re-implements the test to rely less on randomness and explicitly tests the possible inputs.

fixes #116376
@pull pull bot added the ⤵️ pull label Nov 19, 2024
@pull pull bot merged commit 0795703 into Samboski1:main Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.