-
Notifications
You must be signed in to change notification settings - Fork 0
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
Jakelandis align jackson versions #1
base: align_jackson_versions
Are you sure you want to change the base?
Jakelandis align jackson versions #1
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 91d6881 - Browse repository at this point
Copy the full SHA 91d6881View commit details -
Fix elastic#93168 (elastic#93175)
Removes a now-bogus assertion, and instead asserts that the assigned roles correctly influence the engine created for each shard copy.
Configuration menu - View commit details
-
Copy full SHA for 00a253f - Browse repository at this point
Copy the full SHA 00a253fView commit details -
Fix instructions in max retry decider explanations (elastic#92956)
Today we say `manually call [/_cluster/reroute?retry_failed=true]` if a shard exceeds the max number of retries. We should give a verb here, and also since elastic#90399 we should recommend saying `metric=none` too.
Configuration menu - View commit details
-
Copy full SHA for 8ebe2c7 - Browse repository at this point
Copy the full SHA 8ebe2c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c1e7db - Browse repository at this point
Copy the full SHA 0c1e7dbView commit details -
Add extra logging to PrioritizedThrottledTaskRunnerTests#assertNoRunn…
…ingTasks (elastic#93174) This should help debugging elastic#92910 and rule out possible environmental issues, such us slowness creating threads due to an overloaded CI worker.
Configuration menu - View commit details
-
Copy full SHA for 8ae886a - Browse repository at this point
Copy the full SHA 8ae886aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfc52d5 - Browse repository at this point
Copy the full SHA bfc52d5View commit details -
Fix DataTierDataStreamIT flaky test (elastic#93137)
If this test runs right before midnight, it's possible when getting the settings for the index, it doesn't exist, due to a mismatch between the names (datastream names have the date in their name, "uuuu.MM.dd") Closes elastic#92368
Configuration menu - View commit details
-
Copy full SHA for 6d21bc2 - Browse repository at this point
Copy the full SHA 6d21bc2View commit details -
Add ActionListener#assertOnce (elastic#93159)
Alternative approach to elastic#93143, avoiding adding overhead in production.
Configuration menu - View commit details
-
Copy full SHA for b97eafa - Browse repository at this point
Copy the full SHA b97eafaView commit details -
Migrate TcpTransport to TransportVersion (elastic#92960)
The vast majority of this commit is doing a simple s/Version/TransportVersion/, however there are a couple of areas of complexity. Handshakes proved to be a particularly tricky issue, as they have complex usage of Version.minimumCompatibilityVersion. In lieu of solving this problem now, I've replaced uses of minimumCompatibilityVersion with TransportVersion.minimumCompatibilityVersion and TransportVersion.calculateMinimumCompatVersion. As a later piece of work, code using both those methods will need to be refactored to do something else, and the methods removed. Co-authored-by: Przemyslaw Gomulka <przemyslaw.gomulka@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for 8e28445 - Browse repository at this point
Copy the full SHA 8e28445View commit details -
Adjust range of allowed percentages of deletes in an index. (elastic#…
…93188) Lucene 9.5 changed the allowed range and the default value for the allowed percentage of deletes in an index. It used to allow values in [20, 50] with a default of 33. It now allows values in [5, 50] with a default of 20. See apache/lucene#11831.
Configuration menu - View commit details
-
Copy full SHA for d086706 - Browse repository at this point
Copy the full SHA d086706View commit details -
Update tsdb docs to include warning and additional limitations (elast…
…ic#93191) Update tsdb docs to include a warning that the format of the `_tsid` field shouldn't be relied upon and added additional limitations about dimension fields.
Configuration menu - View commit details
-
Copy full SHA for 92f229d - Browse repository at this point
Copy the full SHA 92f229dView commit details -
Avoid double-completion of ListenableFuture (elastic#93187)
`ListenableFuture` throws an `IllegalStateException` if completed more than once, which (at best) is just silently swallowed and (at worst) may prevent other cleanup from happening. In particular, we do not expect `onFailure()` to throw an exception as happens here. This commit elevates this check to an assertion, and fixes the places that violate it using `ActionListener#notifyOnce`.
Configuration menu - View commit details
-
Copy full SHA for 2052ca8 - Browse repository at this point
Copy the full SHA 2052ca8View commit details -
Unmute DataStreamIT#testWriteLoadAndAvgShardSizeIsStoredInABestEffort (…
…elastic#93194) This commit unmutes the test and adds additional logging in order to debug the test failures in the CI environment. Relates elastic#91967
Configuration menu - View commit details
-
Copy full SHA for 3e48117 - Browse repository at this point
Copy the full SHA 3e48117View commit details -
Call Refresh API to satisfy
?refresh
in Stateless (elastic#93160)This is a workaround that provides support for the `IMMEDIATE` and `WAIT_UNTIL` Refresh policies. Relates ES-5292
Configuration menu - View commit details
-
Copy full SHA for b759fb1 - Browse repository at this point
Copy the full SHA b759fb1View commit details -
Take into account max_headroom in disk watermark calculations for Hea…
…lthMetadata (elastic#93157) Closes elastic#93155
Configuration menu - View commit details
-
Copy full SHA for a1bf143 - Browse repository at this point
Copy the full SHA a1bf143View commit details -
Don't bound low precision geohex aggregations on vector tiles (elasti…
…c#93195) This commit adds a mechanism so geohex aggregations with precision <= 3 are created with unbounded bounds.
Configuration menu - View commit details
-
Copy full SHA for 1f5546e - Browse repository at this point
Copy the full SHA 1f5546eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b79b846 - Browse repository at this point
Copy the full SHA b79b846View commit details -
Restore printing bootstrap checks as errors (elastic#93178)
Bootstrap check failures were unintentionally moved to the info level in the log output. This commit restores logging them as errors. closes elastic#93074
Configuration menu - View commit details
-
Copy full SHA for 54fe770 - Browse repository at this point
Copy the full SHA 54fe770View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc86b16 - Browse repository at this point
Copy the full SHA cc86b16View commit details -
Chunked encoding for cluster reroute API (elastic#92615)
The cluster reroute API (optionally) returns the cluster state in its response, which can therefore be rather large. elastic#92285 enables a chunked encoding of the cluster state, and this commit adjusts the reroute API to make use of this encoding too.
Configuration menu - View commit details
-
Copy full SHA for 87f2221 - Browse repository at this point
Copy the full SHA 87f2221View commit details -
Documentation for geohex_grid over geo_shape (elastic#92999)
* Documentation for geohex_grid over geo_shape The feature to add support for geohex_grid aggregations over geo_shape fields was added in elastic#91956. This is the associated documentation for that. * Update docs/reference/aggregations/bucket/geohexgrid-aggregation.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Fix explanation for geo_point vs geo_shape proj When aggregating geohex over geoshape we use requirectangular because underlying lucene index indexes and searches the polygons in that way. * Correct spelling According to grammarly, "therefor" is not an alternative spelling of "therefore". We should use the conjunctive form here. See https://www.grammarly.com/blog/therefore-vs-therefor/ Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for e8b4de9 - Browse repository at this point
Copy the full SHA e8b4de9View commit details -
Bounds inflation performance and unit tests (elastic#92901)
* Alternative algorithm for inflated bounds The BoundedGeoHexGridTiler inflates the bounding box for parent cell searches since the parent cells bounds do not match the descendents. This algorithm does a slightly more refined calculation of the inflation factor by considering all four corners and inflating in the four directions independently. * Remove alternative algorithm for bbox inflation The new algorithm was faster than the old for the same inflation factor but had more failures, and a longer tail of failures (which needed higher inflation factors). So it would take a lot more work (probably) to find and fix these edge cases. An easier option is to keep the original algorithm. * Reduce bbox inflation factor to 0.25 This increases performance by about 10% (a factor of 0.22 increased performance by about 13%). We found the error rate for `testGeoShapeGeoHex` was about 0.5% for inflation factor 0.19 and 0.2% for inflation factor 0.22. These last 2/1000 failed tests required inflation factors of 0.27 0.30 respectively, so we'll investigate them individually. * Increase bbox inflation factor to 0.35 Since there were three failures discovered for 0.25, all of which passed at 0.30, we decided to set the inflation factor to 0.35 initially for the sake of caution, and consider revising it down again later with more careful testing. * Fixed comment about bounded tiler inflation * Fixed comment about bounded tiler inflation
Configuration menu - View commit details
-
Copy full SHA for 649a5d7 - Browse repository at this point
Copy the full SHA 649a5d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f49b520 - Browse repository at this point
Copy the full SHA f49b520View commit details -
Fix ByteArrayIndexInput with nonzero offset (elastic#93205)
We introduced a bug in elastic#79885 by not accounting for cases where there's a nonzero offset in the underlying byte array. Unfortunately `ESIndexInputTestCase` didn't cover these code paths. This commit extends the test coverage and fixes the bug.
Configuration menu - View commit details
-
Copy full SHA for 7390b4d - Browse repository at this point
Copy the full SHA 7390b4dView commit details -
Resolve cluster alias for opened connections (elastic#92584)
We introduced the ability to resolve the cluster alias in elastic#91724, given a connection towards a remote cluster. This works for connections obtained via RemoteConnectionManager::getConnection. However, connections can also be initiated via openConnection (e.g., in SniffConnectionStrategy). This PR adds support to correctly resolve the cluster alias for such connections, by wrapping them in an InternalRemoteConnection instance. This is necessary to support the new remote cluster security model.
Configuration menu - View commit details
-
Copy full SHA for ffabc7e - Browse repository at this point
Copy the full SHA ffabc7eView commit details -
Enable autoManageMasterNodes in DataTierAllocationDeciderIT (elastic#…
…93209) When numDataNodes is 0 the test framework doesn't create nodes automatically, for this test we needed to manage the node roles manually in order to exercise different topology scenarios, by a misunderstanding autoManageMasterNodes was set to false, while that was not necessary. This commit sets autoManageMasterNodes to its default value simplifying slightly the test suite.
Configuration menu - View commit details
-
Copy full SHA for 8b80db8 - Browse repository at this point
Copy the full SHA 8b80db8View commit details -
Remove user exception marker from server cli (elastic#93206)
Previously UserExceptions could be thrown from the main Elasticsearch process during startup. With recent refactorings all remaining validation of arguments was moved to the server cli. Since there are no longer any uses of the user exception in server, the marker code is no longer needed. This commit removes that marker and the associated code in the server cli error pump.
Configuration menu - View commit details
-
Copy full SHA for 07b5d85 - Browse repository at this point
Copy the full SHA 07b5d85View commit details -
Add configurable operation listener for translog (elastic#92926)
This commit adds a listener that will be called when new operations are written to the translog writer.
Configuration menu - View commit details
-
Copy full SHA for 45ed328 - Browse repository at this point
Copy the full SHA 45ed328View commit details -
Suggest systemd override file instead of unit file for tmpdir (elasti…
…c#93211) The systemd unit file is part of the Elasticsearch package and should not be edited. Instead, we recommend creating a service override file. This commit tweaks the docs for setting tmp dir with systemd to use the override file instead of editing the unit file. relates elastic#93121
Configuration menu - View commit details
-
Copy full SHA for 2cad226 - Browse repository at this point
Copy the full SHA 2cad226View commit details -
Configuration menu - View commit details
-
Copy full SHA for 601a0a5 - Browse repository at this point
Copy the full SHA 601a0a5View commit details -
Prefix IP filter settings for remote access port with xpack.security (e…
…lastic#93181) Similar to existing dedicated IP filter settings for transport and http, the IP filter settings for remote access are now prefixed with xpack.security. Relates: elastic#93126
Configuration menu - View commit details
-
Copy full SHA for b8c33ec - Browse repository at this point
Copy the full SHA b8c33ecView commit details -
Making JsonProcessor stricter so that it does not silently drop data (e…
…lastic#93179) This PR makes JsonProcessor's JSON parsing a little bit stricter so that we are not silently dropping data when given bad inputs. Previously if the input string began with something that could be parsed as a valid json field, then the processor would grab that and ignore the rest. For example, `123 "foo"` would be parsed as `123`, dropping the `"foo"`. Now by default it will throw an IllegalArgumentException on a string like this. A user can now set the `strict_json_parsing` parameter to false to get the old behavior. For example: ``` POST _ingest/pipeline/_simulate { "pipeline": { "description": "", "processors" : [ { "json" : { "field" : "message", "strict_json_parsing": false } } ] }, "docs": [ { "_source": { "message": "123 \"foo\"" } } ] }' ``` Closes elastic#92898
Configuration menu - View commit details
-
Copy full SHA for f327352 - Browse repository at this point
Copy the full SHA f327352View commit details -
Configuration menu - View commit details
-
Copy full SHA for d031dea - Browse repository at this point
Copy the full SHA d031deaView commit details
Commits on Jan 25, 2023
-
Remove CompletableFuture from SSLConfigurationReloader (elastic#93132)
The `SSLConfigurationReloader` uses a `CompletableFuture` to receive an as-yet-unconstructed instance of the `SSLService`, but in all cases the `SSLService` is in fact already constructed so we can just directly pass it into the constructor.
Configuration menu - View commit details
-
Copy full SHA for 30ae87c - Browse repository at this point
Copy the full SHA 30ae87cView commit details -
Send remote access headers for internal users (elastic#92585)
This PR adds querying-cluster-side support for internal users making requests cross cluster under the new security model. For the querying cluster, this involves detecting that a request is made by an internal user and sending a remote access header with an empty role descriptors intersection and an embedded authentication instance identifying the internal user making the request. The fulfilling cluster will use this header to resolve the correct privileges for the given internal user (while also enforcing the privileges of the remote access key used for the request). The fulfilling cluster side implementation will follow in a separate PR. Currently, the only use of internal users cross cluster is requests made by _system to fetch cluster-state from the fulfilling cluster.
Configuration menu - View commit details
-
Copy full SHA for 39ef33b - Browse repository at this point
Copy the full SHA 39ef33bView commit details -
Improve shard routing assertions (elastic#92906)
Today shard routing assertions are convoluted and even accept some cases. For example `assert relocatingNodeId == null || state == RELOCATING || state == INITIALIZING` permits null `relocatingNodeId` for relocating shard. This change splits assertion per state in order to simplify and allow stricter invariants.
Configuration menu - View commit details
-
Copy full SHA for 5c217a0 - Browse repository at this point
Copy the full SHA 5c217a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c8b16 - Browse repository at this point
Copy the full SHA f4c8b16View commit details -
Introduce BytesReferenceIndexInput (elastic#93208)
Similar to `ByteArrayIndexInput`, but for a general `BytesReference` to avoid having to copy the bytes into a contiguous array.
Configuration menu - View commit details
-
Copy full SHA for 3027d1b - Browse repository at this point
Copy the full SHA 3027d1bView commit details -
Simplify
ThreadedActionListener
construction (elastic#93184)- There's no real need for the caller's `Logger` just in case an impossible situation happens - we will get enough info from the log message. - Almost nobody uses the `forceExecution` feature, default it to `false`. - Accept an `ExecutorService` rather than requiring the whole `ThreadPool` only to look up the executor later on.
Configuration menu - View commit details
-
Copy full SHA for 416bfcb - Browse repository at this point
Copy the full SHA 416bfcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ddbd25 - Browse repository at this point
Copy the full SHA 0ddbd25View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfbe642 - Browse repository at this point
Copy the full SHA dfbe642View commit details -
Fix ReactiveStorageDeciderDecisionTests (elastic#93230)
After elastic#93075 the first settings parameter in ClusterModule#createAllocationDeciders are expected to be the same settings that ClusterSettings contain, this was not the case for this test and some of the allocator deciders used the default config value instead of the one that the test needed. Closes elastic#93142
Configuration menu - View commit details
-
Copy full SHA for b15098a - Browse repository at this point
Copy the full SHA b15098aView commit details -
Migrate indices package to TransportVersion (elastic#93077)
This migrates org.elasticsearch.index and org.elasticsearch.indices to use TransportVersion
Configuration menu - View commit details
-
Copy full SHA for 6071c76 - Browse repository at this point
Copy the full SHA 6071c76View commit details -
enhancement: boolean field to support ignore_malformed (elastic#90122)
* enhancement: boolean field to support ignore_malformed * fix: changes in current builder for BooleanFieldMappers within tests files. * Updating documentation Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Amy Jonsson <amy.jonsson@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for edcdc43 - Browse repository at this point
Copy the full SHA edcdc43View commit details -
Correct checkstyle line length issue in FieldAliasMapperValidationTests
Christoph Büscher committedJan 25, 2023 Configuration menu - View commit details
-
Copy full SHA for 26c0a35 - Browse repository at this point
Copy the full SHA 26c0a35View commit details -
Fix test testMultiKnnClauses (elastic#93047)
The test uses random vectors, consequently it is possible that vector_1 values are much closer than vector_2 values. Increasing boost to ensure order.
Configuration menu - View commit details
-
Copy full SHA for 43c8806 - Browse repository at this point
Copy the full SHA 43c8806View commit details -
Minor Adjustments to make SharedBlobCacheService more generic (elasti…
…c#93234) Some naming adjustments, the ability to set up the cache on a non-frozen search node and a small API adjustment that makes it so a `ThreadPool` is not a dependency for using the cache.
Configuration menu - View commit details
-
Copy full SHA for fa52364 - Browse repository at this point
Copy the full SHA fa52364View commit details -
Revert "enhancement: boolean field to support ignore_malformed (elast…
Configuration menu - View commit details
-
Copy full SHA for ce736dd - Browse repository at this point
Copy the full SHA ce736ddView commit details -
[Transform] trigger state persistence based on time (elastic#93221)
With this change state persistence gets triggered based on time instead of a counter. This applies only to transforms during indexing e.g. a batch transform, it doesn't affect other reasons to persist state, e.g. after a checkpoint or a state change triggered by an API call. The reduction of state persistence triggers transform reduces overhead. State persistence gets triggered every 60s.
Hendrik Muhs committedJan 25, 2023 Configuration menu - View commit details
-
Copy full SHA for 7721377 - Browse repository at this point
Copy the full SHA 7721377View commit details -
Migrate VersionedWriteable & NamedDiff to TransportVersion (elastic#9…
…3076) InferenceConfig is kept on Version, as that existed before VersionedNamedWriteable came along
Configuration menu - View commit details
-
Copy full SHA for bef85c6 - Browse repository at this point
Copy the full SHA bef85c6View commit details -
Revert "Migrate VersionedWriteable & NamedDiff to TransportVersion (e…
…lastic#93076)" This reverts commit bef85c6.
Configuration menu - View commit details
-
Copy full SHA for 48f9609 - Browse repository at this point
Copy the full SHA 48f9609View commit details -
Add support for closed unpromotable shards (elastic#93240)
Today it doesn't work to close an index which holds unpromotable shards. This commit fixes that.
Configuration menu - View commit details
-
Copy full SHA for aec8fcb - Browse repository at this point
Copy the full SHA aec8fcbView commit details -
Adjust validation to allow custom password hash to be provided (elast…
…ic#93163) This commit adjusts validation to allow custom password hash to be provided when executing change user password transport action. This change relates to elastic#92871, which introduced the original changes but somehow, the validation on the transport action was missed to be refactored as well.
Configuration menu - View commit details
-
Copy full SHA for 7122e12 - Browse repository at this point
Copy the full SHA 7122e12View commit details -
Enable Panama-based mmap directory by default (elastic#93232)
When we upgraded to lucene 9.5 (snapshot) with elastic#92957 we initially disable panama-based mmap directory through a system property. With this commit we remove the system property and enable java 19 memory segments by default (based on apache/lucene#12033)
Configuration menu - View commit details
-
Copy full SHA for a54bc1b - Browse repository at this point
Copy the full SHA a54bc1bView commit details -
Fix geo ip database file leak when processing IP arrays (elastic#93177)
This PR moves the postLookup call out of the lookup methods in order to correctly decrement the instance counter a single time at the end of the processor call.
Configuration menu - View commit details
-
Copy full SHA for 14e7096 - Browse repository at this point
Copy the full SHA 14e7096View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a2df16 - Browse repository at this point
Copy the full SHA 4a2df16View commit details
Commits on Jan 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ad63465 - Browse repository at this point
Copy the full SHA ad63465View commit details -
Fix SearchableSnapshotsCanMatchOnCoordinatorIntegTests (elastic#93245)
Add enough documents to the searchable snapshot backing index so all shards have enough data files to be blocked during recovery. Closes elastic#91450
Configuration menu - View commit details
-
Copy full SHA for 12141ab - Browse repository at this point
Copy the full SHA 12141abView commit details -
Migrate VersionedWriteable & NamedDiff to TransportVersion take 2 (el…
…astic#93242) Re-apply "Migrate VersionedWriteable & NamedDiff to TransportVersion (elastic#93076)" This reverts commit 48f9609.
Configuration menu - View commit details
-
Copy full SHA for c513b2b - Browse repository at this point
Copy the full SHA c513b2bView commit details -
TransportListTaskAction: wait for tasks to finish asynchronously (ela…
…stic#90977) Instead of synchronously blocking a thread in the management pool, add a listener on removed tasks and calls nodeOperation after all matched tasks have been removed. Also add a scheduled tasks to bail out after the specified wait timeout if the tasks haven't been finished. Fixes elastic#89564, elastic#90988
Configuration menu - View commit details
-
Copy full SHA for 6813012 - Browse repository at this point
Copy the full SHA 6813012View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce7ed7b - Browse repository at this point
Copy the full SHA ce7ed7bView commit details -
Fix compilation issue in TransportListTasksAction (elastic#93261)
Use the new constructor signature for ThreadedActionListener from elastic#93184
Configuration menu - View commit details
-
Copy full SHA for 9f0ca22 - Browse repository at this point
Copy the full SHA 9f0ca22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b20684 - Browse repository at this point
Copy the full SHA 4b20684View commit details -
Configuration menu - View commit details
-
Copy full SHA for e971ebe - Browse repository at this point
Copy the full SHA e971ebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75f7a53 - Browse repository at this point
Copy the full SHA 75f7a53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d009a3 - Browse repository at this point
Copy the full SHA 6d009a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfb2e4d - Browse repository at this point
Copy the full SHA cfb2e4dView commit details -
Migrate server/org.elasticsearch.cluster package to use TransportVers…
…ion (elastic#93199) conditional usages of StreamInput/StreamOutput getVersion are refactored to use TransportVersion instead of Version
Configuration menu - View commit details
-
Copy full SHA for 81349d5 - Browse repository at this point
Copy the full SHA 81349d5View commit details -
[DOCS] Clarify capabilities of built-in
editor
role (elastic#93260)The built-in `editor` role allows "all" access to all Kibana features, but only read access to data indices. This doesn't work well for functionality that spans Kibana and Elasticsearch and allows the user to choose their own results index, like ML data frame analytics. This change adjusts the notes on the `editor` role to make clear that in this case an additional role must be granted to give the necessary access on the data index that the results will be written to.
Configuration menu - View commit details
-
Copy full SHA for a1c700d - Browse repository at this point
Copy the full SHA a1c700dView commit details -
Improve heuristic in geotile aggregation for using recursive vs brute…
… force strategy (elastic#93264)
Configuration menu - View commit details
-
Copy full SHA for 6f5ca4b - Browse repository at this point
Copy the full SHA 6f5ca4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57e9e40 - Browse repository at this point
Copy the full SHA 57e9e40View commit details -
Refactor Security code to use TransportVersion (elastic#93089)
With the introduction of TransportVersion we want to use this object in transport protocol related code (usages of StreamInput, StreamOutput). Also with serverless release being more frequent then on-prem the code changes that relied on Node's Version to perform a conditional logic are also refactored to use TransportVersion which has higher granularity
Configuration menu - View commit details
-
Copy full SHA for da01691 - Browse repository at this point
Copy the full SHA da01691View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e0c4d - Browse repository at this point
Copy the full SHA 35e0c4dView commit details -
Upgrade antlr to 4.11.1 for ql, eql and sql (elastic#93238)
We recently upgraded the antlr version that painless uses to 4.11.1. Lucene 9.5 is on the same version. This commit updates ql, eql and sql to the same version
Configuration menu - View commit details
-
Copy full SHA for 74742b6 - Browse repository at this point
Copy the full SHA 74742b6View commit details -
Refactor GeoIp tests to use database service directly (elastic#93281)
Replaces the usage of the GeoIp processor factory with the DatabaseNodeService when getting all databases in the tests.
Configuration menu - View commit details
-
Copy full SHA for 2f46201 - Browse repository at this point
Copy the full SHA 2f46201View commit details -
Document structure of transport handshake (elastic#93280)
Adds a comment to `TransportHandshaker` laying out the details of a transport handshake.
Configuration menu - View commit details
-
Copy full SHA for f786997 - Browse repository at this point
Copy the full SHA f786997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03769d6 - Browse repository at this point
Copy the full SHA 03769d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98015d1 - Browse repository at this point
Copy the full SHA 98015d1View commit details -
Remove Java preview features CI job
With the merging of apache/lucene#12033 this testing is no longer necessary as Lucene no longer requires the --enable-preview flag for enabling the project panama mmap implementation.
Configuration menu - View commit details
-
Copy full SHA for 3864d70 - Browse repository at this point
Copy the full SHA 3864d70View commit details
Commits on Jan 27, 2023
-
Update Example plugins after Version->TransportVersion refactor (elas…
…tic#93293) Plugins which indirectly implement VersionedNamedWriteable should return TransportVersion relates elastic#93242
Configuration menu - View commit details
-
Copy full SHA for c87b7bc - Browse repository at this point
Copy the full SHA c87b7bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1819a25 - Browse repository at this point
Copy the full SHA 1819a25View commit details -
Fix domain erasure in realm rewriting (elastic#93276)
This PR fixes an issue in authentication rewriting: previously maybeRewriteRealmRef did not remove domains, even when this was expected. This has very limited customer impact, since the enclosing maybeRewriteForOlderVersion method is called in conjunction with Authentication.encode() in most cases. Authentication.encode() calls writeTo, which in turn omits domains as necessary, based on a version check.
Configuration menu - View commit details
-
Copy full SHA for 9876977 - Browse repository at this point
Copy the full SHA 9876977View commit details -
Assert one-shot completion in IndexShardOperationPermits (elastic#93290)
It's vital that listeners passed to the `IndexShardOperationPermits` are not completed more than once, because otherwise the caller might not release the returned `Releasable` which would leak a permit. It looks like this is the case today, but one of its callers has some explicit protection against such a leak. This commit adds some assertions to demonstrate that this protection is not required.
Configuration menu - View commit details
-
Copy full SHA for ade4891 - Browse repository at this point
Copy the full SHA ade4891View commit details -
[ML] improve frequent items runtime (elastic#93255)
don't re-create doc values object for every value. This change fixes a conceptual problem which caused significant overhead.
Hendrik Muhs committedJan 27, 2023 Configuration menu - View commit details
-
Copy full SHA for f35e18e - Browse repository at this point
Copy the full SHA f35e18eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 217cbfa - Browse repository at this point
Copy the full SHA 217cbfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cce7f1 - Browse repository at this point
Copy the full SHA 9cce7f1View commit details -
Fix DataStreamIT#testWriteLoadAndAvgShardSizeIsStoredInABestEffort (e…
…lastic#93297) Ensure that all shards are started before making progress, this avoids issues when we expect one of the shards to be active but it isn't. Closes elastic#91967
Configuration menu - View commit details
-
Copy full SHA for 9c0c508 - Browse repository at this point
Copy the full SHA 9c0c508View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05c7753 - Browse repository at this point
Copy the full SHA 05c7753View commit details -
Mute MapperSizeClientYamlTestSuiteIT test {yaml=mapper_size/10_basic/…
…Mapper Size} (elastic#93305) Relates elastic#93303
Configuration menu - View commit details
-
Copy full SHA for 30172a0 - Browse repository at this point
Copy the full SHA 30172a0View commit details -
Update frequent-items-aggregation.asciidoc (elastic#93287)
Fix type togeher > together
Configuration menu - View commit details
-
Copy full SHA for 81d9cbe - Browse repository at this point
Copy the full SHA 81d9cbeView commit details -
Correctly mute MapperSizeClientYamlTestSuiteIT test {yaml=mapper_size…
…/10_basic/Mapper Size} (elastic#93315) Relates elastic#93303
Configuration menu - View commit details
-
Copy full SHA for 0993a36 - Browse repository at this point
Copy the full SHA 0993a36View commit details -
Add monitoring mappings for es ingest metricset (elastic#92950)
* Add monitoring mappings for es ingest metricset * Update mappings * Fix type for type and type_tag * Fix JSON and update template version * Update docs/changelog/92950.yaml
Configuration menu - View commit details
-
Copy full SHA for 77318fe - Browse repository at this point
Copy the full SHA 77318feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86520bf - Browse repository at this point
Copy the full SHA 86520bfView commit details -
[Fleet] Update CODEOWNERS for Fleet/Agent resources (elastic#91670)
Point Fleet/Agent ES files to Fleet team instead of Agent Control Plane team. Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 405328f - Browse repository at this point
Copy the full SHA 405328fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89475ee - Browse repository at this point
Copy the full SHA 89475eeView commit details -
[ML] Fix data counts race condition when starting a datafeed (elastic…
…#93324) When a datafeed starts up it looks at the job's data counts to decide where to pick up from where a previous invocation finished. Previously the datafeed was always getting the data counts from the index. In the case where a datafeed has been stopped and restarted while its corresponding job was continually opened this is incorrect. In this case the data counts need to be obtained from the running job. (In the case where the job was closed and reopened while the datafeed was stopped this does not matter, as closing the job will have persisted the up-to-date data counts.) This bug has always existed, yet is made much more likely to cause a noticeable discrepancy by the changes made in elastic#93000. Fixes elastic#93298
Configuration menu - View commit details
-
Copy full SHA for 2311bbf - Browse repository at this point
Copy the full SHA 2311bbfView commit details -
Fix custom heuristic example plugin unit test (elastic#93326)
This is a follow up to elastic#93229 to fix one of our example plugin tests.
Configuration menu - View commit details
-
Copy full SHA for 81645e1 - Browse repository at this point
Copy the full SHA 81645e1View commit details -
Remove more references to KeyStoreWrapper (elastic#92378)
This change uses a new utility class that abstracts the construction of secure settings, into environment dependent version. KeyStoreWrapper is just one implementation.
Configuration menu - View commit details
-
Copy full SHA for 48bdb08 - Browse repository at this point
Copy the full SHA 48bdb08View commit details -
Remove length check for source-only keyword fields (elastic#93299)
Since 8.2 we check keyword fields length against Lucenes MAX_TERM_LENGTH size before indexing to prevent later errors and potential need for rollbacks (see 83738). This, however, currently also triggers even if the field is defined as not-indexed, not stored and without doc-values (effectively a source-only field). In this case, we don't need to apply the length check, making storing larger source-only keyword fields possible as before. Closes elastic#93046
Configuration menu - View commit details
-
Copy full SHA for bd79620 - Browse repository at this point
Copy the full SHA bd79620View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae07371 - Browse repository at this point
Copy the full SHA ae07371View commit details
Commits on Jan 30, 2023
-
Fix testSearchRouting (elastic#93319)
In some unlucky situations the test sets a prefference for shard 1 and a routing that points to a completely different shard. Updating the test so it is setting only one of them at the time.
Configuration menu - View commit details
-
Copy full SHA for 3eed4f4 - Browse repository at this point
Copy the full SHA 3eed4f4View commit details -
Report committed cluster UUID after reboot (elastic#93128)
Today when a node reboots it reports its cluster UUID as `_na_` until it rejoins the cluster. However, if it was previously a member of a cluster then it knows its cluster UUID from its on-disk metadata, so with this commit we report the correct cluster UUID right away.
Configuration menu - View commit details
-
Copy full SHA for 4e66bfb - Browse repository at this point
Copy the full SHA 4e66bfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for abbc78d - Browse repository at this point
Copy the full SHA abbc78dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 130378b - Browse repository at this point
Copy the full SHA 130378bView commit details -
Skip duplicate checks on segments that don't document's timestamp (el…
…astic#92456) Keep track of min and max timestamp value per PerThreadIDVersionAndSeqNoLookup instance. When loading docid and version during ingestion, skip PerThreadIDVersionAndSeqNoLookup instances, that have min/max timestamp that don't overlap with document's timestamp.
Configuration menu - View commit details
-
Copy full SHA for 8d42c57 - Browse repository at this point
Copy the full SHA 8d42c57View commit details -
Prefer Strings#format over String#format(Locale, ... (elastic#93336)
Today we forbid the trappy locale-free `String#format` and `String#formatted` and suggest to use the `String#format` override which accepts an explicit `Locale`. These days a better alternative is `Strings#format`, so this commit adjusts the message that `forbidddenApis` returns to reflect that.
Configuration menu - View commit details
-
Copy full SHA for fddc2ab - Browse repository at this point
Copy the full SHA fddc2abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b9df00 - Browse repository at this point
Copy the full SHA 7b9df00View commit details -
[DOCS] Migration guide: link to What's new page for the same version (e…
…lastic#92823) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8d60562 - Browse repository at this point
Copy the full SHA 8d60562View commit details -
Note in CONTRIBUTING.md re. unsupported platforms (elastic#93343)
We have an internal policy about contributions which target unsupported platforms but this is not spelled out in the contributing guide. This commit adds the missing info. Relates elastic#93341
Configuration menu - View commit details
-
Copy full SHA for 0cfb795 - Browse repository at this point
Copy the full SHA 0cfb795View commit details -
Mute o.e.s.c.ServerCliTests (elastic#93349)
Relates: elastic#93335 Skipping via assumeFalse since the failures only occur in FIPS mode.
Configuration menu - View commit details
-
Copy full SHA for 2a6e521 - Browse repository at this point
Copy the full SHA 2a6e521View commit details -
Remove jackson override and upgrade to jackson to 2.14.2 (elastic#93342)
before the jackson 2.14.2 elasticserach had to override the jackson locally to avoid a bug when filtering empty arrays. elastic#92984 This commit reverts the local override and upgrades jackson to 2.14.2 which contain the fix to the bug
Configuration menu - View commit details
-
Copy full SHA for d065d4b - Browse repository at this point
Copy the full SHA d065d4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f193392 - Browse repository at this point
Copy the full SHA f193392View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37c510c - Browse repository at this point
Copy the full SHA 37c510cView commit details -
Authentication model changes for remote access (elastic#93151)
This PR implements the necessary changes to the Authentication class, to support remote access authentication under the new remote cluster security model. Upon successful authentication, a new authentication instance will be constructed by the fulfilling cluster which combines information from the remote access API key used and the user authentication and role info sent by the querying cluster with a cross cluster request. Remote access authentication is modeled in way that exposes (and assumes) that the underlying authentication method is an API key; for example, it includes the metadata associated with API keys in its metadata directly, re-using existing metadata field keys. I chose this approach instead of trying to generalize away from API keys because there are no medium-term plans to support any other authentication forms for remote access; generalizing would have made the change more complex. This change is stand-alone and not wired up to active code flows yet. A proof of concept in elastic#92089 highlights how the model change in this PR fits into the broader context of the fulfilling cluster processing cross cluster requests.
Configuration menu - View commit details
-
Copy full SHA for 63ca708 - Browse repository at this point
Copy the full SHA 63ca708View commit details -
Handle a default/request pipeline and a final pipeline with minimal a…
…dditional overhead (elastic#93329)
Configuration menu - View commit details
-
Copy full SHA for 3e3b271 - Browse repository at this point
Copy the full SHA 3e3b271View commit details -
Allowed indices matcher supports nested limited roles (elastic#93306)
This PR modifies the allowedIndicesMatcher method to work with nested LimitedRole instances (i.e., limited roles that have a base role or limited by role that is itself a limited role). Prior to this fix, the method would throw an unsupported operation exception. This change is necessary to support remote access roles under the new remote cluster security model.
Configuration menu - View commit details
-
Copy full SHA for b930e81 - Browse repository at this point
Copy the full SHA b930e81View commit details -
Fix some possible NPEs in strange JVM configs (elastic#93352)
`JvmErgonomics` requires various JVM options to be present, but if they are omitted then we throw a `NullPointerException` which looks to the user like an ES bug. They would have to be doing something a little odd to get into this state, but nonetheless it is possible to hit these NPEs. We don't need to handle such a config gracefully, but we should clarify why Elasticsearch won't start to help the user fix their config.
Configuration menu - View commit details
-
Copy full SHA for 2cf70ae - Browse repository at this point
Copy the full SHA 2cf70aeView commit details -
Download the geoip databases only when needed (elastic#92335)
This commit changes the geoip downloader so that we only download the geoip databases if you have at least one geoip processor in your cluster, or when you add a new geoip processor (or if `ingest.geoip.downloader.eager.download` is explicitly set to true).
Configuration menu - View commit details
-
Copy full SHA for 13b7190 - Browse repository at this point
Copy the full SHA 13b7190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a7098a - Browse repository at this point
Copy the full SHA 2a7098aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4484cd - Browse repository at this point
Copy the full SHA b4484cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for feb1f51 - Browse repository at this point
Copy the full SHA feb1f51View commit details -
Fix MapperSizeClientYamlTestSuiteIT when FIPS is enabled (elastic#93357)
The issue with this test failure is actually that we were silently failing to install the plugin under test into the cluster. The root cause here was the FIPS security policy file was not copied into cluster config directory before we attempting to run the plugin installer. Since we pass the FIPS JVM arguments to all CLI tools as well this caused plugin installation to fail. We now ensure that these files are copied before we attempt to run _any_ ES tools. Closes elastic#93303
Configuration menu - View commit details
-
Copy full SHA for 91d111e - Browse repository at this point
Copy the full SHA 91d111eView commit details
Commits on Jan 31, 2023
-
Add ActionListener#run (elastic#93338)
It's pretty common to run a block of code in a `try ... catch` block that just passes exceptions off to a listener's `onFailure` method. This commit adds a small utility to encapsulate this, enabling some one-liners.
Configuration menu - View commit details
-
Copy full SHA for fe50f38 - Browse repository at this point
Copy the full SHA fe50f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb50a65 - Browse repository at this point
Copy the full SHA bb50a65View commit details -
Unpromotables skip replication and peer recovery (elastic#93210)
For skipping replication: * ReplicationTracker and Group filter shards that are promotable to primary * Remove unpromotable shards from in sync allocations in metadata * There is a new Refresh action for unpromotable replica shards Fixes ES-4861 For skipping peer recovery: * Unpromotable shards pass directly to STARTED skipping some intermediate peer recovery stages and messages Fixes ES-5257
Configuration menu - View commit details
-
Copy full SHA for cb966ef - Browse repository at this point
Copy the full SHA cb966efView commit details -
Add a section about token-based authentication (elastic#93344)
* Add a section about token-based authentication It took me a considerable time to figure out the syntax for a token-based authentication, and I said why not add it to the documentation * Update x-pack/docs/en/watcher/input/http.asciidoc * Update x-pack/docs/en/watcher/input/http.asciidoc --------- Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for 89467ea - Browse repository at this point
Copy the full SHA 89467eaView commit details -
Build role for remote access authentication (elastic#93316)
This PR adds support for building roles for remote_access authentication instances, under the new remote cluster security model. This change is stand-alone and not wired up to active code flows yet. A proof of concept in elastic#92089 highlights how the model change in this PR fits into the broader context of the fulfilling cluster processing cross cluster requests.
Configuration menu - View commit details
-
Copy full SHA for fd4c617 - Browse repository at this point
Copy the full SHA fd4c617View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6aa39b - Browse repository at this point
Copy the full SHA e6aa39bView commit details -
Link to the time-units doc in S3 repository docs instead of explainin…
…g it in words (elastic#93351)
Configuration menu - View commit details
-
Copy full SHA for da387b4 - Browse repository at this point
Copy the full SHA da387b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f086dd1 - Browse repository at this point
Copy the full SHA f086dd1View commit details -
Update rollup dependencies (elastic#93369)
Change ilm and data streams dependencies to be test dependencies.
Configuration menu - View commit details
-
Copy full SHA for 610a3e4 - Browse repository at this point
Copy the full SHA 610a3e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e507ba - Browse repository at this point
Copy the full SHA 4e507baView commit details -
Set forced_refresh to true when using stateless refresh work-around (e…
…lastic#93383) In elastic#93160, we never set the forced_refresh flag in the response. With this change, the bulk response now correctly reflects what happened. It also unblocks a bunch of YAML tests for Stateless. Relates ES-5292
Configuration menu - View commit details
-
Copy full SHA for cea92ff - Browse repository at this point
Copy the full SHA cea92ffView commit details -
Cache the creation of parsers within
DateProcessor
(elastic#92880)cache potentially duped values in the `DateProcessor`, avoiding the creation of disposable objects during the different executions
Configuration menu - View commit details
-
Copy full SHA for 7e0ed53 - Browse repository at this point
Copy the full SHA 7e0ed53View commit details -
Add
ignore_missing_component_templates
config option (elastic#92436)This change introduces the configuration option `ignore_missing_component_templates` as discussed in elastic#92426 The implementation [option 6](elastic#92426 (comment)) was picked with a slight adjustment meaning no patterns are allowed. ## Implementation During the creation of an index template, the list of component templates is checked if all component templates exist. This check is extended to skip any component templates which are listed under `ignore_missing_component_templates`. An index template that skips the check for the component template `logs-foo@custom` looks as following: ``` PUT _index_template/logs-foo { "index_patterns": ["logs-foo-*"], "data_stream": { }, "composed_of": ["logs-foo@package", "logs-foo@custom"], "ignore_missing_component_templates": ["logs-foo@custom"], "priority": 500 } ``` The component template `logs-foo@package` has to exist before creation. It can be created with: ``` PUT _component_template/logs-foo@custom { "template": { "mappings": { "properties": { "host.ip": { "type": "ip" } } } } } ``` ## Testing For manual testing, different scenarios can be tested. To simplify testing, the commands from `.http` file are added. Before each test run, a clean cluster is expected. ### New behaviour, missing component template With the new config option, it must be possible to create an index template with a missing component templates without getting an error: ``` ### Add logs-foo@package component template PUT http://localhost:9200/ _component_template/logs-foo@package Authorization: Basic elastic password Content-Type: application/json { "template": { "mappings": { "properties": { "host.name": { "type": "keyword" } } } } } ### Add logs-foo index template PUT http://localhost:9200/ _index_template/logs-foo Authorization: Basic elastic password Content-Type: application/json { "index_patterns": ["logs-foo-*"], "data_stream": { }, "composed_of": ["logs-foo@package", "logs-foo@custom"], "ignore_missing_component_templates": ["logs-foo@custom"], "priority": 500 } ### Create data stream PUT http://localhost:9200/ _data_stream/logs-foo-bar Authorization: Basic elastic password Content-Type: application/json ### Check if mappings exist GET http://localhost:9200/ logs-foo-bar Authorization: Basic elastic password Content-Type: application/json ``` It is checked if all templates could be created and data stream mappings are correct. ### Old behaviour, with all component templates In the following, a component template is made optional but it already exists. It is checked, that it will show up in the mappings: ``` ### Add logs-foo@package component template PUT http://localhost:9200/ _component_template/logs-foo@package Authorization: Basic elastic password Content-Type: application/json { "template": { "mappings": { "properties": { "host.name": { "type": "keyword" } } } } } ### Add logs-foo@custom component template PUT http://localhost:9200/ _component_template/logs-foo@custom Authorization: Basic elastic password Content-Type: application/json { "template": { "mappings": { "properties": { "host.ip": { "type": "ip" } } } } } ### Add logs-foo index template PUT http://localhost:9200/ _index_template/logs-foo Authorization: Basic elastic password Content-Type: application/json { "index_patterns": ["logs-foo-*"], "data_stream": { }, "composed_of": ["logs-foo@package", "logs-foo@custom"], "ignore_missing_component_templates": ["logs-foo@custom"], "priority": 500 } ### Create data stream PUT http://localhost:9200/ _data_stream/logs-foo-bar Authorization: Basic elastic password Content-Type: application/json ### Check if mappings exist GET http://localhost:9200/ logs-foo-bar Authorization: Basic elastic password Content-Type: application/json ``` ### Check old behaviour Ensure, that the old behaviour still exists when a component template is used that is not part of `ignore_missing_component_templates`: ``` ### Add logs-foo index template PUT http://localhost:9200/ _index_template/logs-foo Authorization: Basic elastic password Content-Type: application/json { "index_patterns": ["logs-foo-*"], "data_stream": { }, "composed_of": ["logs-foo@package", "logs-foo@custom"], "ignore_missing_component_templates": ["logs-foo@custom"], "priority": 500 } ``` Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9f4d7fa - Browse repository at this point
Copy the full SHA 9f4d7faView commit details -
Upgrade to Lucene 9.5.0 (elastic#93385)
We have recently upgraded to a Lucene 9.5.0 snapshot. With this commit we upgrade to the final 9.5.0 release. Main changes are around the float vector field, query and values API.
Configuration menu - View commit details
-
Copy full SHA for 200e061 - Browse repository at this point
Copy the full SHA 200e061View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f195e - Browse repository at this point
Copy the full SHA 37f195eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 013b2e5 - Browse repository at this point
Copy the full SHA 013b2e5View commit details -
Allow
null
to be provided for dense_vector field values (elastic#93388) If a document has `null` specified as the vector value, the vector field will not be parsed or indexed. This is useful for when deleting vector values from an indexed document. closes: elastic#70470
Configuration menu - View commit details
-
Copy full SHA for 4871b5a - Browse repository at this point
Copy the full SHA 4871b5aView commit details -
Switch to Lucene's new IntField/LongField/FloatField/DoubleField. (el…
…astic#93165) Lucene introduced new numeric fields that index both points and doc values. This has the same semantics as indexing one field for points and another one for doc values as we did before, but covering both data structures in a single field yielded a speedup in Lucene's nightly benchmarks (see annotation [AH](http://people.apache.org/~mikemccand/lucenebench/sparseResults.html#index_throughput)) which would be interesting to get too. This commit does not switch to factory methods for queries such as `LongField#newRangeQuery` for now, we'll need to look into it in a follow-up.
Configuration menu - View commit details
-
Copy full SHA for c21ee47 - Browse repository at this point
Copy the full SHA c21ee47View commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d93382b - Browse repository at this point
Copy the full SHA d93382bView commit details -
Fix error message when SSL key is configured without a cert (elastic#…
…93359) The error message should refer to the setting of ssl.key instead of ssl.keystore.path PS: Labelling this as non-issue since we don't consider error message as actual production changes (that need go into the release notes).
Configuration menu - View commit details
-
Copy full SHA for 67d4092 - Browse repository at this point
Copy the full SHA 67d4092View commit details -
Add missing counter field support to some aggregations. (elastic#93311)
Add missing counter field support to min, max and top_metrics aggregations.
Configuration menu - View commit details
-
Copy full SHA for b6fa6d8 - Browse repository at this point
Copy the full SHA b6fa6d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 926fbfa - Browse repository at this point
Copy the full SHA 926fbfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99018d9 - Browse repository at this point
Copy the full SHA 99018d9View commit details -
[DOCS] [main] Add release notes for 8.6.1 (elastic#93236) (elastic#93404
) Forward ports the release notes from elastic#93236
Configuration menu - View commit details
-
Copy full SHA for 58c1bcc - Browse repository at this point
Copy the full SHA 58c1bccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 062981c - Browse repository at this point
Copy the full SHA 062981cView commit details -
improve code documentation of ValueSource regarding (global, segment)…
… ordinals (elastic#93347) Lookups on sub-objects in flattened fields don't support global ordinals, but only segment ordinals. Currently code documentation claims support for segment and global ordinals. This change fixes the documentation and adds further details how to check for global ordinal support. This also adds testcase for flattened as example for this special case.
Hendrik Muhs committedFeb 1, 2023 Configuration menu - View commit details
-
Copy full SHA for eb43e5b - Browse repository at this point
Copy the full SHA eb43e5bView commit details -
Nested path info shouldn't be added during copy_to (elastic#93340)
When executing the copy_to mappings on a nested doc, if the location was underneath another nested mapper then the document parser could end up adding a new nested path metadata field for the source to the destination document. This was mostly ignored, but could make calculation of a NestedIdentity incorrect, leading to exceptions when loading the source of a nested document during the fetch phase. This commit moves all of the nested path handling directly into DocumentParserContext.createNestedContext(), which already has some logic to detect if we're in a copy_to context. Fixes elastic#93117
Configuration menu - View commit details
-
Copy full SHA for d62fe29 - Browse repository at this point
Copy the full SHA d62fe29View commit details -
Revert "Convert full cluster restart tests to new rest testing framew…
…ork (elastic#93062)" (elastic#93407) This reverts commit 013b2e5.
Configuration menu - View commit details
-
Copy full SHA for bc7a31f - Browse repository at this point
Copy the full SHA bc7a31fView commit details -
[ML] improve frequent_items performance by using global ordinals (ela…
…stic#93304) implement global ordinals for frequent items and add execution_hint to switch between the old (map) based lookup and global ordinals
Hendrik Muhs committedFeb 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 51e0a3b - Browse repository at this point
Copy the full SHA 51e0a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aeec50 - Browse repository at this point
Copy the full SHA 9aeec50View commit details -
FIxed the doc URL for rest API update trained model deployment (elast…
…ic#93072) As titled, the previous URL was 404.
Configuration menu - View commit details
-
Copy full SHA for 56340ce - Browse repository at this point
Copy the full SHA 56340ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c7ee0e - Browse repository at this point
Copy the full SHA 7c7ee0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b67fd2 - Browse repository at this point
Copy the full SHA 5b67fd2View commit details -
Merge branch 'align_jackson_versions' of github.com:jakelandis/elasti…
…csearch into jakelandis-align_jackson_versions
Configuration menu - View commit details
-
Copy full SHA for 282038d - Browse repository at this point
Copy the full SHA 282038dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d65e075 - Browse repository at this point
Copy the full SHA d65e075View commit details -
Fix unexpected in-flight requests log message (elastic#93400)
Currently we log in internal test cluster cases where there are in-flight bytes. However, the log message is not clear it is referring to the number of bytes associated with the request. This commit fixes this log.
Configuration menu - View commit details
-
Copy full SHA for 3ffa22e - Browse repository at this point
Copy the full SHA 3ffa22eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c92f3f6 - Browse repository at this point
Copy the full SHA c92f3f6View commit details -
Do not refresh all indices in TransportBulkAction (elastic#93417)
Since we know which indices were involved in the Bulk request we can refresh only those instead of all indices, and expand to hidden indices so that they are also refreshed. Relates elastic#93160
Configuration menu - View commit details
-
Copy full SHA for 2700dc5 - Browse repository at this point
Copy the full SHA 2700dc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ad0ac1 - Browse repository at this point
Copy the full SHA 3ad0ac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cbbf5c - Browse repository at this point
Copy the full SHA 5cbbf5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e44603 - Browse repository at this point
Copy the full SHA 8e44603View commit details -
Consolidate google-oauth-client to latest version (elastic#91722)
related: elastic#87800 fixes elastic#90126
Configuration menu - View commit details
-
Copy full SHA for 93ecc4d - Browse repository at this point
Copy the full SHA 93ecc4dView commit details -
Add new query_vector_builder option to knn search clause (elastic#93331)
This adds a new option to the knn search clause called query_vector_builder. This is a pluggable configuration that allows the query_vector created or retrieved.
Configuration menu - View commit details
-
Copy full SHA for 7f9f3bc - Browse repository at this point
Copy the full SHA 7f9f3bcView commit details -
Add
term
query support to rank_features mapped field (elastic#93247)This adds term query capabilities for rank_features fields. term queries against rank_features are not scored in the typical way as regular fields. This is because the stored feature values take advantage of the term frequency storage mechanism, and thus regular BM25 does not work. Instead, a term query against a rank_features field is very similar to linear rank_feature query. If more complicated combinations of features and values are required, the rank_feature query should be used.
Configuration menu - View commit details
-
Copy full SHA for 323a13a - Browse repository at this point
Copy the full SHA 323a13aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 820ba5a - Browse repository at this point
Copy the full SHA 820ba5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9123346 - Browse repository at this point
Copy the full SHA 9123346View commit details
Commits on Feb 2, 2023
-
Support configuring SSL separately for remote access port (elastic#93334
) Though the remote access is implemented with the transport profile. Its configuration and behaviour should not be tied to the default transport profile like other profiles do. Users should be able to enable or disable SSL separately for the remote access port and configure differnt values for all SSL settings. These settings can also have different defaults. This PR implements the above by: * Adds a new xpack.security.remote_cluster.ssl.enabled setting to control whether SSL is enabled separately for the remote access port * The above enabled setting defaults to true (unlike the default for tranport SSL) * Client auth defaults to none for the remote access port * Separate server SSL configuration validation The PR also moves the remote access profile to be built first for more consistent error message.
Configuration menu - View commit details
-
Copy full SHA for 190b617 - Browse repository at this point
Copy the full SHA 190b617View commit details -
Enforce synthetic source for time series indices (elastic#93380)
Support for synthetic source is also added to `unsigned_long` field as part of this change. This is required because `unsigned_long` field types can be used in tsdb indices and this change would prohibit the usage of these field type otherwise. Closes elastic#92319
Configuration menu - View commit details
-
Copy full SHA for 9babcc9 - Browse repository at this point
Copy the full SHA 9babcc9View commit details -
[ML] rename frequent_items to frequent_item_sets and make it GA (elas…
…tic#93421) rename frequent_items to frequent_item_sets and remove the experimental batch
Hendrik Muhs committedFeb 2, 2023 Configuration menu - View commit details
-
Copy full SHA for cf5ea0b - Browse repository at this point
Copy the full SHA cf5ea0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75b074a - Browse repository at this point
Copy the full SHA 75b074aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc20026 - Browse repository at this point
Copy the full SHA fc20026View commit details -
Fix PrioritizedThrottledTaskRunnerTests (elastic#93446)
These tests try and execute `maxThreads` concurrent tasks to ensure that the rest of the executor's queue has been processed, but due to elastic#93443 (and the executor's zero timeout) this sometimes doesn't work. This commit fixes the problem by making every thread a core thread so that they do not time out. Closes elastic#92910 Closes elastic#92747
Configuration menu - View commit details
-
Copy full SHA for 2ef63a4 - Browse repository at this point
Copy the full SHA 2ef63a4View commit details -
Revert "Convert full cluster restart tests to new rest testing framew…
…ork (elastic#93422)" (elastic#93444) Reverts elastic#93422 Should address: elastic#93442 and possibly elastic#93440
Configuration menu - View commit details
-
Copy full SHA for 221c935 - Browse repository at this point
Copy the full SHA 221c935View commit details -
Misc improvements to TBbNA tests (elastic#93435)
Similar to elastic#92983, this commit reworks the tests in `TransportBroadcastByNodeActionTests` to use the `ReachabilityChecker` to check that things are released on cancellation, and adds a test showing the cancellation behaviour of the shard-level operations.
Configuration menu - View commit details
-
Copy full SHA for b0c380d - Browse repository at this point
Copy the full SHA b0c380dView commit details -
Fix context leak in list tasks API (elastic#93431)
In elastic#90977 we made the list tasks API fully async, but failed to notice that if we waited for a task to complete then we would respond in the thread context of the last-completing task. This commit fixes the problem by restoring the context of the list-tasks task before responding. Closes elastic#93428
Configuration menu - View commit details
-
Copy full SHA for 8d44c9a - Browse repository at this point
Copy the full SHA 8d44c9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8468c3b - Browse repository at this point
Copy the full SHA 8468c3bView commit details -
Remove MonitoringWithWatcherRestIT.testThatLocalExporterAddsWatches
We remove this test because it is flaky and the feature tested here is already tested by monitoring.
Configuration menu - View commit details
-
Copy full SHA for ff60564 - Browse repository at this point
Copy the full SHA ff60564View commit details -
More investigation into 93271 (elastic#93454)
We still don't properly understand why this test is failing, and it doesn't reproduce locally, so this commit adds a little extra logging to capture extra detail from a failure in CI.
Configuration menu - View commit details
-
Copy full SHA for eb9eeae - Browse repository at this point
Copy the full SHA eb9eeaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4b7335 - Browse repository at this point
Copy the full SHA f4b7335View commit details -
Minor cleanups FrozenIndexInput (elastic#93309)
Some random finds while working with this code. We shouldn't use a Consumer<Long> instead of a LongConsumer as we never pass `null` to the consumer. Also, way simplified the locking around the Lucene `Bytebuffer b` to simplify the code and technically make it a little faster/less-contenting as well. Plus, made use of modern Java's buffer slicing to simplify the slicing of the Lucene buffer.
Configuration menu - View commit details
-
Copy full SHA for 03f8ea5 - Browse repository at this point
Copy the full SHA 03f8ea5View commit details -
Make password long enough for FIPS mode (elastic#93450)
In FIPS mode, passwords require a minimal length. This PR adjusts a test to adhere to this. Fixes: elastic#93449
Configuration menu - View commit details
-
Copy full SHA for a0343e4 - Browse repository at this point
Copy the full SHA a0343e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 513dc2f - Browse repository at this point
Copy the full SHA 513dc2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8fc299 - Browse repository at this point
Copy the full SHA f8fc299View commit details -
Describe delete-snapshot tasks (elastic#93466)
Delete-snapshot tasks can sometimes be very long-running, but they're hard to monitor because the tasks API does not include a description of the snapshot(s) which are being deleted. This commit adds such a description.
Configuration menu - View commit details
-
Copy full SHA for 7adeb48 - Browse repository at this point
Copy the full SHA 7adeb48View commit details -
Capture thread dump on ShardLockObtainFailedException (elastic#93458)
We sometimes see a `ShardLockObtainFailedException` when a shard failed to shut down as fast as we expected, often because a node left and rejoined the cluster. Sometimes this is because it was held open by ongoing scrolls or PITs, but other times it may be because the shutdown process itself is too slow. With this commit we add the ability to capture and log a thread dump at the time of the failure to give us more information about where the shutdown process might be running slowly. Relates elastic#93226
Configuration menu - View commit details
-
Copy full SHA for 4c68382 - Browse repository at this point
Copy the full SHA 4c68382View commit details -
Configuration menu - View commit details
-
Copy full SHA for 467b859 - Browse repository at this point
Copy the full SHA 467b859View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6971d2c - Browse repository at this point
Copy the full SHA 6971d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc05481 - Browse repository at this point
Copy the full SHA bc05481View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d16a2 - Browse repository at this point
Copy the full SHA 94d16a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a71210c - Browse repository at this point
Copy the full SHA a71210cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f60401a - Browse repository at this point
Copy the full SHA f60401aView commit details -
[DOCS] Adds size parameter details to aggregating data for faster per…
…formance page (elastic#93475)
Configuration menu - View commit details
-
Copy full SHA for 9229011 - Browse repository at this point
Copy the full SHA 9229011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 915b475 - Browse repository at this point
Copy the full SHA 915b475View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2b02ae - Browse repository at this point
Copy the full SHA f2b02aeView commit details -
Expose a couple of primitive stream wrappers over the underlying test…
… random instance (elastic#93479) Expose a couple of primitive stream wrappers over the underlying test random instance. These are not yet used, but are useful in many circumstances.
Configuration menu - View commit details
-
Copy full SHA for 7f7cf30 - Browse repository at this point
Copy the full SHA 7f7cf30View commit details -
Make GeoIpProcessor backing database instance pluggable. (elastic#93285)
Introduces two new interfaces: GeoIpDatabase and GeoIpDatabaseProvider. GeoIpDatabaseProvider acts as a generic factory interface for GeoIpDatabase instances. This allows for specifying how database instances are obtained to the processor. GeoIpDatabase encompasses the API footprint for performing GeoIp lookups against a maxmind database. --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c143caf - Browse repository at this point
Copy the full SHA c143cafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d9a6a - Browse repository at this point
Copy the full SHA 43d9a6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2d9a4e - Browse repository at this point
Copy the full SHA b2d9a4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 925a6dc - Browse repository at this point
Copy the full SHA 925a6dcView commit details
Commits on Feb 3, 2023
-
Support downsampling of histogram as labels (elastic#93445)
The first GA version of downsampling supports numeric metrics and does not include histograms. Support for downsampling of histogram fields as metrics will come in future. In the meanwhile we need to make sure that histograms are correctly handled as labels considering that we can't use histogram fields as dimensions nor as metrics. This means that we treat histograms as any other label, which is, we propagate the latest (most recent timestamp-wise) value. Note that we need this even after supporting histograms as metrics, in case the time_series_metric is not provided for a histogram field. Histogram fields do not have FormattedDocValues. Here we override the getFormattedValues for the histogram field data in such a way to be able to extract the doc values and process them.
Configuration menu - View commit details
-
Copy full SHA for 6f7eeb0 - Browse repository at this point
Copy the full SHA 6f7eeb0View commit details
Commits on Feb 4, 2023
-
Improve the false positive rate of the bloom filter by setting 7 hash…
… functions (elastic#93283) Co-authored-by: Adrien Grand <jpountz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 14cca12 - Browse repository at this point
Copy the full SHA 14cca12View commit details
Commits on Feb 6, 2023
-
Use cert-pinning in test cluster wait-for-health (elastic#92657)
The previous model relied on treating the server's certificate configuration as a trust anchor. This isn't guaranteed to work, which lead to needing to support "certificate_authorities" as an alternative, which in turn polluted the node's config with settings that only existed to enable tests to run. The new model ties the "wait-for-health" HTTP client to the leaf certificates themselves. This means that it will always connect to a node that has the exact certificates it expects, and doesn't rely on knowing the issuer of the node's certificate.
Configuration menu - View commit details
-
Copy full SHA for 6e402ad - Browse repository at this point
Copy the full SHA 6e402adView commit details -
Use passed-in configuration for SslChannelInitializer (elastic#93362)
This PR fixes a trivial bug in getSslChannelInitializer where the passed-in configuration is ignored and the initializer is always instantiated with the default configuration. This is a trivial bug because the method is overridden by its subclass and hence is *not* used at all.
Configuration menu - View commit details
-
Copy full SHA for a722fc5 - Browse repository at this point
Copy the full SHA a722fc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea90f92 - Browse repository at this point
Copy the full SHA ea90f92View commit details -
Allow to disable addMockFSIndexStore test plugin (elastic#93473)
The MockFSIndexStore randomizes the store type index settings in tests. It also throws random I/O exceptions and checks the index when shards are closed. This behavior is sometimes unwanted in tests, but today tests cannot change the default random behavior. This change allows to disable this test plugin on specific tests.
Configuration menu - View commit details
-
Copy full SHA for d3d1bbc - Browse repository at this point
Copy the full SHA d3d1bbcView commit details -
More detailed logging for snapshot-based recovery (elastic#93469)
The logic for planning a snapshot-based recovery is a little intricate and lacks much logging, making it hard to determine the reason why a snapshot-based recovery might not occur in production. This commit adds some extra logging showing details of the branches that ES takes.
Configuration menu - View commit details
-
Copy full SHA for 1fb3a1b - Browse repository at this point
Copy the full SHA 1fb3a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for acece61 - Browse repository at this point
Copy the full SHA acece61View commit details -
Extract ThrottledTaskRunner (elastic#93436)
Generalizes `PrioritizedThrottledTaskRunner` slightly: - The throttling behaviour is also useful for tasks which do not complete synchronously. The new `ThrottledTaskRunner` passes a `Releasable` to each task, which until released will prevent spawning further tasks. - The only part that needs the tasks to be `Comparable<>` is the queue. Letting the caller specify the queue means that we can also use the throttling without the prioritisation.
Configuration menu - View commit details
-
Copy full SHA for e837ff7 - Browse repository at this point
Copy the full SHA e837ff7View commit details -
Nicer buffer handling (elastic#93491)
Some optimisations that I found when reusing searchable snapshot code elsewhere: * Add an efficient input stream -> byte buffer path that avoids allocations + copies for heap buffers, this is non-trivial in its effects IMO * Also at least avoid allocations and use existing thread-local buffer when doing input stream -> direct bb * move `readFully` to lower level streams class to enable this * Use same thread local direct byte buffer for frozen and caching index input instead of constantly allocating new heap buffers and writing those to disk inefficiently
Configuration menu - View commit details
-
Copy full SHA for f2760c6 - Browse repository at this point
Copy the full SHA f2760c6View commit details -
[ML] Remove semantic_search endpoint (elastic#93492)
Instead of a separate endpoint the functionality will be built into _search.
Configuration menu - View commit details
-
Copy full SHA for 927e165 - Browse repository at this point
Copy the full SHA 927e165View commit details -
Configuration menu - View commit details
-
Copy full SHA for c08c16e - Browse repository at this point
Copy the full SHA c08c16eView commit details -
Remove shortcutTotalHitCount optimization (elastic#89047)
Our TopDocsCollectorContext has an optimization to try and avoid counting total hit count for queries like match all docs, term query and field exists query, relying on the statistics from each segment instead. This optimization has been recently streamlined in lucene through the introduction of Weight#count and now leveraged directly by TotalHitCountCollector in lucene with https://issues.apache.org/jira/browse/LUCENE-10620 , later complemented by elastic#88396 within Elasticsearch. With this, we can remove this internal optimization and instead leverage the default lucene behaviour which covers more queries and will be possibly expanded in the future as well. Closes elastic#81034
Configuration menu - View commit details
-
Copy full SHA for 283f8ac - Browse repository at this point
Copy the full SHA 283f8acView commit details -
AbstractThrottledTaskRunnerTests needs all-core threads (elastic#93505)
The same fix as in elastic#93446, which was missed in elastic#93436
Configuration menu - View commit details
-
Copy full SHA for b5387e8 - Browse repository at this point
Copy the full SHA b5387e8View commit details -
Decrease queue capacity in EnrichResiliencyTests to make it more resi…
…lient (elastic#82719) (elastic#93506) Fixes [elastic#82719](elastic#82719) according to the recommendation in elastic#82719 (comment). > I think this failed in CI, because of slowness. The executes a bulk request with a number of index requests (50) and then assumes that some of these index requests failed, because enrich queue was at capacity. The queue capacity is set to 10. I think we should to set the queue size to an even smaller value, like 2. To make it likely to reach queue capacity when test execution is slow. > > In the mentioned build failure, it took 12 seconds to run this test, while locally here it takes 707 ms.
Configuration menu - View commit details
-
Copy full SHA for fc974cd - Browse repository at this point
Copy the full SHA fc974cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab5ae88 - Browse repository at this point
Copy the full SHA ab5ae88View commit details -
Configuration menu - View commit details
-
Copy full SHA for afc24e1 - Browse repository at this point
Copy the full SHA afc24e1View commit details -
Support geo-grid ingest processor (elastic#93370)
* Support geo_grid ingest processor This processor can read geohash, geotile or geohex tile specifications and generate a bounding box or polygon describing the outside of those tiles. Examples are: * geohash: `u0` * geotile: `6/32/22` * geohex: `811fbffffffffff` Additional support is provided for grid hierarchies, like precision field, parent and child fields. * Replaced depth with precision in Rest Tests
Configuration menu - View commit details
-
Copy full SHA for b473d81 - Browse repository at this point
Copy the full SHA b473d81View commit details -
Unmute testThatLoadingWithNonExistingIndexWorks (elastic#93509)
We are reevaluating old failures to see if they still happen. With this PR we close the test failure issue and we will re-open it if the same failure happens.
Configuration menu - View commit details
-
Copy full SHA for d55a1c8 - Browse repository at this point
Copy the full SHA d55a1c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 725da76 - Browse repository at this point
Copy the full SHA 725da76View commit details -
Speed up retrieval of data for flamegraphs (elastic#93448)
With this commit we parallelize the retrieval of stacktraces via the `mget` API in the profiling plugin as experiments have shown that we can better utilize the available resources and thus decrease latency. Furthermore, we prepare the parallel retrieval of stackframes and executables using the same approach. Our experiments have not shown a clear indication of the optimal value for this setting, therefore we set the default value to `1` to effectively keep the prior behavior. Finally, we also introduce a setting that can be used to toggle the `realtime` (default kept as `true`) to allow for further experimentation with that flag.
Configuration menu - View commit details
-
Copy full SHA for ccd4bfc - Browse repository at this point
Copy the full SHA ccd4bfcView commit details -
Geo_grid ingest processor docs (elastic#93507)
* Add docs for geo_grid ingest processor Adds docs for elastic#93370 * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/ingest/processors/geo-grid.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Consistent GeoJSON case --------- Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for c18078e - Browse repository at this point
Copy the full SHA c18078eView commit details -
Document datehistogram with long offsets (elastic#93328)
* Document datehistogram with long offsets When offsets are longer than calendar_intervals that are non-standard, like months which differ in length, then the usual rule of all buckets starting at the same day and time will no longer apply. This update attempts to explain this with examples. * Removed TEST-skip lines These don't seem to be parsable, even though they match the syntax described in the README.asciidoc * Added // TESTRESPONSE[skip:...] lines * Refined docs description and added more examples * Update docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> * Update docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co> --------- Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for f55d70a - Browse repository at this point
Copy the full SHA f55d70aView commit details -
TransportGetTaskAction: Wait for the task asynchronously (elastic#93375)
Wait for the requested task asynchronously in a similar fashion to TransportListTaskAction from elastic#90977 See elastic#90977 --------- Co-authored-by: David Turner <david.turner@elastic.co>
Configuration menu - View commit details
-
Copy full SHA for 7bd5613 - Browse repository at this point
Copy the full SHA 7bd5613View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0ecb84 - Browse repository at this point
Copy the full SHA a0ecb84View commit details -
More useful toString on UpdateSettingsTask (elastic#93514)
Today `UpdateSettingsTask#toString` is just the default which is not helpful when it appears in logs. This commit makes it include the affected indices and settings.
Configuration menu - View commit details
-
Copy full SHA for b199470 - Browse repository at this point
Copy the full SHA b199470View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1b0bf6 - Browse repository at this point
Copy the full SHA c1b0bf6View commit details -
Extract and dry more IO logic out of searchable snapshots module (ela…
…stic#93512) Extracting more of the IO logic to the blob cache to make it reusable as well as dry it up a little. Small changes to the EOF exception message format in 2 cases in here that only remove redundant information. Also, noop in memory commit dir around for reuse elsewhere.
Configuration menu - View commit details
-
Copy full SHA for 6498bd1 - Browse repository at this point
Copy the full SHA 6498bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 438f2f8 - Browse repository at this point
Copy the full SHA 438f2f8View commit details -
QL: Replace field type (elastic#93528)
Adds a method to replace the field type on a field.
Configuration menu - View commit details
-
Copy full SHA for ae48bb0 - Browse repository at this point
Copy the full SHA ae48bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a849480 - Browse repository at this point
Copy the full SHA a849480View commit details -
Add ability for Watcher's webhook actions to send additional header (e…
…lastic#93426) This commit builds on elastic#92576 by adding the `xpack.notification.webhook.host_token_pairs` keystore setting to allow an additional token to be sent when Watcher performs a webhook request. This includes both the regular `webhook` action as well as the `email` action that uses an `attachment` parameter to a url (which internally uses a webhook to retrieve the attachment). These settings can both by reloaded by updating the keystore and using the reload secure settings API. - `xpack.notification.webhook.host_token_pairs` is a comma-separated list of `<host>:<port>=<token>` pairs for which the header should be sent. For example, if this contains `localhost:1234=token1,aoeu.com:9182=token2` then the token will only be added to the headers for webhook requests to the `localhost` and `aoeu.com` hosts on the 1234 and 9182 ports with tokens `token1` and `token2` respectively. Also added is a cluster setting (non-dynamic) — `xpack.notification.webhook.additional_token_enabled` that determines whether the token should be sent. It defaults to `false`.
Configuration menu - View commit details
-
Copy full SHA for 5649ec2 - Browse repository at this point
Copy the full SHA 5649ec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff870e1 - Browse repository at this point
Copy the full SHA ff870e1View commit details
Commits on Feb 7, 2023
-
Ensure QC client connection use remote cluster SSL configuration (ela…
…stic#93409) The existing transport profiles are mainly for server side usage. When a ES node acts as a client, e.g. query cluster, it always uses the default transport profile's SSL configuration. This means it is not possible to support separate client side SSL configuration for new remote cluster feature because it is underlyingly a transport profile. This PR updates the client channel initialization code to respect the special remote cluster profile so that the correct SSL configuration is applied. With the changes, it is now possible to have separate client SSL configurations for default transport and remote cluster. Note there is no behavior change for other transport profiles. They will keep using the default SSL configuration on the client side.
Configuration menu - View commit details
-
Copy full SHA for 4e8a77e - Browse repository at this point
Copy the full SHA 4e8a77eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc78668 - Browse repository at this point
Copy the full SHA fc78668View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f47fe9 - Browse repository at this point
Copy the full SHA 3f47fe9View commit details -
Add size parameter to time_series aggregation (elastic#93496)
Adds an optional size parameter which caps the number of buckets in responses. After aggregation, caps the number of buckets we send back in responses and in reduction.
tmgordeeva committedFeb 7, 2023 Configuration menu - View commit details
-
Copy full SHA for 5c38d4c - Browse repository at this point
Copy the full SHA 5c38d4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ed470b - Browse repository at this point
Copy the full SHA 8ed470bView commit details -
Disable recovery monitor before recovery start (elastic#93543)
We do nontrivial amounts of work before we start a peer recovery, particularly recovering from the local translog up to its global checkpoint. Today the recovery monitor is running during this time, and will (repeatedly) fail the recovery if it takes more than 30 minutes to complete. With this commit we disable the recovery monitor until this local process has completed. Closes elastic#93542
Configuration menu - View commit details
-
Copy full SHA for 6657c37 - Browse repository at this point
Copy the full SHA 6657c37View commit details -
Revert "Disable recovery monitor before recovery start (elastic#93543)"
This reverts commit 6657c37.
Configuration menu - View commit details
-
Copy full SHA for d5e95a2 - Browse repository at this point
Copy the full SHA d5e95a2View commit details -
Add ShardRouting to DirectoryFactory interface (elastic#93511)
Some Directory factories would benefit from knowing if a Directory is created for a promotable and/or searchable shard, as well as knowing the shard id. This change adds the ShardRouting to the DirectoryFactory interface and adjusts the DirectoryWrapper accordingly (until we have a better way to override the default directory factory).
Configuration menu - View commit details
-
Copy full SHA for 052a4f1 - Browse repository at this point
Copy the full SHA 052a4f1View commit details -
Disable recovery monitor before recovery start (elastic#93551)
We do nontrivial amounts of work before we start a peer recovery, particularly recovering from the local translog up to its global checkpoint. Today the recovery monitor is running during this time, and will (repeatedly) fail the recovery if it takes more than 30 minutes to complete. With this commit we disable the recovery monitor until this local process has completed. Closes elastic#93542
Configuration menu - View commit details
-
Copy full SHA for b8c9dc9 - Browse repository at this point
Copy the full SHA b8c9dc9View commit details -
Small cleanup in PRTS#doRecovery (elastic#93549)
Renames `failureHandler` to `cleanupOnly` and makes use of `ActionListener#run` where appropriate.
Configuration menu - View commit details
-
Copy full SHA for 134f51b - Browse repository at this point
Copy the full SHA 134f51bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea17a19 - Browse repository at this point
Copy the full SHA ea17a19View commit details -
Adjust number of replicas in YAML REST tests (elastic#93386)
Some core yaml rest tests use an explicit number of replicas when creating indices. I suspect that this is often not needed and it prevents those tests to run in a 2 nodes (index & search) cluster. Most of the impacted tests are search related so I'll use the :Search/Search label. Relates ES-5253
Configuration menu - View commit details
-
Copy full SHA for a173001 - Browse repository at this point
Copy the full SHA a173001View commit details -
Configuration menu - View commit details
-
Copy full SHA for f694d30 - Browse repository at this point
Copy the full SHA f694d30View commit details -
Simplify TransportBroadcastByNodeAction (elastic#93484)
Similarly to elastic#92987, recent improvements to the primitives for writing async code (particularly elastic#92452 and elastic#92620) mean that we can enormously simplify `TransportBroadcastByNodeAction`. In particular, we can avoid accumulating an intermediate array of responses for later processing in favour of just accumulating the successes and failures into their final separate lists. We also no longer need to use a separate `NodesResponseTracker` to discard responses on cancellation. Finally, we can now discard shard-level responses more promptly on cancellation.
Configuration menu - View commit details
-
Copy full SHA for f6eb279 - Browse repository at this point
Copy the full SHA f6eb279View commit details -
Clean up & streamline RestIndicesAction (elastic#93437)
- No need to wait for the get-settings call to return before sending the other requests. - No need to request cluster health at all, we can compute this locally from the cluster state. - No need to get the entire cluster state, we only need the metadata and routing table. - No need to put all the responses into an untyped list and then cast them out again.
Configuration menu - View commit details
-
Copy full SHA for 464251c - Browse repository at this point
Copy the full SHA 464251cView commit details -
Configuration menu - View commit details
-
Copy full SHA for caefb2a - Browse repository at this point
Copy the full SHA caefb2aView commit details