elasticsearch/docs/changelog
Yang Wang 0b7d34e75c
Improve robustness of JwkSet reloading (#92081)
Currently the reload future object is reset after the listener gets
invoked. Since the reset is done is a separate (http) thread from the
waiting listener, it is possible that the reset can be delayed while the
listener thread is ready to proceed. If the listener thread tries to
reload the JWKs again, it will see the old future object and incorrectly
skip the reload operation. This is mostly a test issue because the
listener thread never tries to reload JWKs again in production. 

There is however another actual production bug in that the new JwkSet is
*not* returned as part of the listener, only the `isUpdated` flag is
returned. When the listener reads the JwkSet from the JwkSetLoader, it
is possible that the JwkSet is changed again thus the `isUpdate` flag
and actual `JwkSet` value can become inconsistent. 

This PR fixes both of the issues by: (1) resetting the future object
before invoking the listener and (2) returning both `isUpdated` flag and
the new JwkSet value to the listener.

Resolves: #90467 Resolves: #89509
2022-12-06 02:35:18 -05:00
..
85656.yaml Instrumenting Weight#count in ProfileWeight (#85656) 2022-11-21 12:32:48 +00:00
86110.yaml Add LimitedOffsetsEnum to Limited offset token (#86110) 2022-10-18 16:30:31 +01:00
86323.yaml Bulk merge field-caps responses using mapping hash (#86323) 2022-11-01 09:17:47 -07:00
88088.yaml Move SpatialUtils to geo library (#88088) 2022-10-31 12:42:25 +01:00
88600.yaml [ML] Make categorize_text aggregation GA (#88600) 2022-11-09 13:05:35 +00:00
88952.yaml Prevalidate node removal API (pt. 1) (#88952) 2022-11-16 13:44:00 +01:00
89216.yaml Centroid aggregation for cartesian points and shapes (#89216) 2022-09-28 17:14:30 +02:00
89238.yaml ILM: Get policy support wildcard name (#89238) 2022-09-26 10:06:24 -06:00
89461.yaml Add cert start/expiry dates to SSL Diagnostic msg (#89461) 2022-11-10 02:26:22 -05:00
89735.yaml Operator/ingest (#89735) 2022-09-27 14:30:14 -04:00
89950.yaml Synthetic _source: support field in many cases (#89950) 2022-11-10 10:44:06 -05:00
89965.yaml EQL sequences: support join on multi-values (#89965) 2022-09-27 10:26:58 +02:00
90038.yaml Synthetic _source: ignore_malformed for ip (#90038) 2022-09-26 09:28:55 -04:00
90143.yaml Operator/index templates (#90143) 2022-10-14 13:37:44 -04:00
90196.yaml Synthetic _source: support wildcard field (#90196) 2022-10-12 15:55:13 -04:00
90200.yaml Add profiling information for knn vector queries (#90200) 2022-09-26 15:31:16 -07:00
90282.yaml Increase snaphot pool max size to 10 (#90282) 2022-09-23 17:06:57 +02:00
90287.yaml Revert "Remove ImmutableOpenMap from snapshot services" (#90287) 2022-09-23 13:07:37 +01:00
90296.yaml Limit shard realocation retries (#90296) 2022-09-27 14:44:30 +02:00
90298.yaml Improve date math exclusions in expressions (#90298) 2022-09-29 22:14:53 +09:30
90303.yaml Use IndexOrDocValues query for IP range queries (#90303) 2022-09-26 11:38:44 +02:00
90346.yaml Update error states from inside the main state executor (#90346) 2022-09-27 14:47:37 +01:00
90381.yaml Add a min/max validation to aggregate_metric_double fields (#90381) 2022-10-10 17:47:08 +03:00
90391.yaml Remove resize index settings once shards are started (#90391) 2022-09-29 17:02:09 +02:00
90399.yaml Deprecate state field in /_cluster/reroute response (#90399) 2022-10-05 08:18:27 +02:00
90425.yaml Enhance nested depth tracking when parsing queries (#90425) 2022-10-12 15:15:06 +02:00
90428.yaml Support malformed numbers in synthetic _source (#90428) 2022-10-04 12:17:30 -04:00
90460.yaml Deprecate 'remove_binary' default of false for ingest attachment processor (#90460) 2022-10-04 01:04:40 +10:30
90482.yaml Transport threads and _hot_threads (#90482) 2022-10-04 15:09:32 -04:00
90494.yaml Fix logstash loadavg (xpack cases) (#90494) 2022-10-03 12:06:49 +09:00
90536.yaml Add profiling and documentation for dfs phase (#90536) 2022-10-05 09:54:36 -07:00
90552.yaml Generate index.routing_path from dynamic mapping templates (#90552) 2022-10-04 22:41:46 +10:30
90553.yaml Upgrade XContent to Jackson 2.14.0 and enable Fast Double Parser (#90553) 2022-11-07 16:46:01 +00:00
90585.yaml Return docs when using nested mappings in archive indices (#90585) 2022-10-20 15:16:13 +02:00
90589.yaml Upgrade to log4j 2.19.0 (#90589) 2022-10-04 10:39:23 +01:00
90593.yaml Fail downsampling if DLS or FLS is defined on the source index (#90593) 2022-10-14 12:39:09 +02:00
90604.yaml Upgrade to Netty 4.1.82.Final (#90604) 2022-10-05 16:28:20 +02:00
90612.yaml Make knn search requests fully cancellable (#90612) 2022-10-04 09:13:09 -04:00
90649.yaml [Stack Monitoring] Update ES module mappings (#90649) 2022-10-05 13:36:56 +01:00
90675.yaml [ML] Explain anomaly score factors (#90675) 2022-10-12 16:57:06 +02:00
90688.yaml Fixing a race condition in EnrichCoordinatorProxyAction that can leave an item stuck in its queue (#90688) 2022-10-05 15:28:32 -05:00
90723.yaml [ML] Add a regex to the output of the categorize_text aggregation (#90723) 2022-10-10 11:41:16 +01:00
90724.yaml Fix TransportMasterNodeAction holding a CS reference needlessly (#90724) 2022-11-03 12:54:11 +01:00
90728.yaml [ML] Add api to update trained model deployment number_of_allocations (#90728) 2022-10-12 10:04:23 +03:00
90760.yaml [Transform] add a health section to transform stats (#90760) 2022-10-25 09:01:21 +02:00
90764.yaml [ML] Allow overriding timestamp field to null in file structure finder (#90764) 2022-10-12 09:08:25 +01:00
90768.yaml Keep track of average shard write load (#90768) 2022-10-13 16:34:45 +02:00
90774.yaml Add support for indexing byte-sized knn vectors (#90774) 2022-10-20 14:45:58 -07:00
90805.yaml Example stable plugin (#90805) 2022-10-26 09:42:46 -04:00
90806.yaml Don't create IndexCaps objects when recording unmapped fields (#90806) 2022-11-01 11:17:06 +00:00
90807.yaml Check NodesShutdownMetadata type before assuming restart (#90807) 2022-10-14 08:59:18 +02:00
90812.yaml [ML] Alias timestamp to @timestamp in anomaly detection results index (#90812) 2022-10-12 09:06:32 +01:00
90822.yaml Fix handling empty key case in the terms aggregation (#90822) 2022-11-07 16:48:38 +01:00
90835.yaml Make extendedPlugins, HasNativeController and moduleName optional in plugin descriptor (#90835) 2022-10-12 15:32:09 +02:00
90870.yaml Create placeholder plugin when loading stable plugins (#90870) 2022-10-14 07:35:09 +02:00
90902.yaml Index expression exclusions never trigger "not found" (#90902) 2022-10-18 13:05:28 +03:00
90931.yaml Refactor enrich maintenance coordination logic (#90931) 2022-11-16 16:04:09 -05:00
90989.yaml Deprecate silently ignoring type, fields, copy_to and boost in metadata field definition (#90989) 2022-11-16 13:57:28 +01:00
90993.yaml Add "index" and "search" node roles with feature flag and setting (#90993) 2022-10-21 10:21:23 +02:00
91006.yaml Fix potential issue with graph api's timed out field in response. (#91006) 2022-10-31 12:12:57 -04:00
91019.yaml Store write load in IndexMetadata during data streams rollovers (#91019) 2022-11-04 16:13:55 +01:00
91021.yaml Tie snapshot speed to node bandwidth settings (#91021) 2022-11-15 16:13:09 +02:00
91038.yaml DesiredBalance: expose it via _internal/desired_balance (#91038) 2022-11-16 02:54:10 +01:00
91045.yaml [Transform] Support aggregate_metric_double field type in transform aggregations (#91045) 2022-10-25 10:47:21 +02:00
91047.yaml Security remove datemath special handling (#91047) 2022-10-26 13:33:17 +03:00
91073.yaml GeoBoundsAggregation reject sub aggregations (#91073) 2022-10-24 15:51:41 +02:00
91137.yaml [ML] frequent items filter (#91137) 2022-11-03 13:58:40 +01:00
91140.yaml Improve H3#hexRing logic and add H3#areNeighborCells method (#91140) 2022-11-02 13:23:05 +01:00
91184.yaml Add fielddata and scripting support for byte-sized vectors (#91184) 2022-11-10 15:00:04 -08:00
91195.yaml Allow different decay values depending on the score function (#91195) 2022-11-02 11:09:19 -04:00
91231.yaml Fix index expression options for requests with a single expression (#91231) 2022-11-04 18:11:12 +02:00
91234.yaml [ML] Low priority trained model deployments (#91234) 2022-11-04 14:22:30 +02:00
91243.yaml More actionable error for ancient indices (#91243) 2022-11-02 10:06:23 -04:00
91256.yaml Prevalidate node removal API (pt. 2) (#91256) 2022-11-28 11:51:51 +01:00
91271.yaml Upgrade to Netty 4.1.84 (#91271) 2022-11-03 17:51:24 +01:00
91296.yaml [ML] allow model_aliases to be used with Pytorch trained models (#91296) 2022-11-08 08:35:33 -05:00
91298.yaml Support cartesian_bounds aggregation on point and shape (#91298) 2022-11-14 12:29:32 +01:00
91299.yaml [ML] add ability to filter and sort buckets by change_point numeric values (#91299) 2022-11-04 10:26:36 -04:00
91306.yaml Rename NamedComponent name parameter to value (#91306) 2022-11-04 14:20:44 +01:00
91312.yaml Add support for EQL samples queries (#91312) 2022-11-14 10:53:12 +01:00
91328.yaml Consolidate field name validation when parsing mappings and documents (#91328) 2022-11-07 13:29:29 +01:00
91329.yaml Bind the readiness service to the wildcard address (#91329) 2022-11-16 09:46:28 -05:00
91334.yaml Fix NPE in IndexService#getNodeMappingStats (#91334) 2022-11-21 14:31:43 +02:00
91338.yaml Extend systemd startup timeout to 900s (#91338) 2022-11-17 11:16:22 +00:00
91343.yaml Introduce desired-balance allocator (#91343) 2022-11-08 08:23:24 -05:00
91347.yaml Use an explicit null check for null receivers, rather than an NPE (#91347) 2022-11-09 15:34:02 +00:00
91362.yaml Introduce a phase to use String.equals on constant strings, rather than def equality (#91362) 2022-11-08 09:07:16 +00:00
91364.yaml Fix BytesRefArray on append empty BytesRef (#91364) 2022-11-08 07:34:58 -08:00
91367.yaml Deserialize responses on the handling thread-pool (#91367) 2022-12-02 11:30:49 +01:00
91398.yaml Deduplicate Heavy CCR Repository CS Requests (#91398) 2022-11-20 19:12:41 +01:00
91409.yaml EQL: remove version limitations for CCS (#91409) 2022-11-14 08:41:00 +01:00
91413.yaml [Fleet] Add files and files data index templates and ILM policies (#91413) 2022-12-05 16:50:32 +00:00
91425.yaml Forecast write load during rollovers (#91425) 2022-11-14 14:46:32 +01:00
91438.yaml Handle APM global labels as affix setting (#91438) 2022-11-10 14:45:39 -05:00
91461.yaml Datastream unavailable exception metadata (#91461) 2022-11-14 14:40:52 +02:00
91465.yaml Support synthetic _source for _doc_count field (#91465) 2022-11-10 13:43:33 -05:00
91490.yaml Avoid potential unsupported operation exception in doc bitset cache (#91490) 2022-11-13 19:45:01 -05:00
91492.yaml Reduce number of object allocations in H3#geoToH3 and speed up computations (#91492) 2022-11-14 10:42:36 +01:00
91499.yaml Extra kibana_system privileges for Fleet transform upgrades (#91499) 2022-11-22 08:30:45 +00:00
91501.yaml Fix compile with hex literals ending with d/f (#91501) 2022-11-15 16:36:48 +00:00
91506.yaml SLM uneahlthy policies diagnosis recommends correct URL in action (#91506) 2022-11-15 10:22:02 +00:00
91508.yaml Add elasticsearch_client stats to the monitoring index templates. (#91508) 2022-11-23 12:03:25 +01:00
91510.yaml EQL: Refine bwc version checks on EqlSearchRequest (#91510) 2022-11-10 17:27:49 +01:00
91515.yaml Use chunked encoding for RestGetHealthAction (#91515) 2022-11-15 11:27:00 +00:00
91528.yaml Expose telemetry about search usage (#91528) 2022-11-15 21:34:49 +01:00
91536.yaml Add new token_type setting to JWT realm (#91536) 2022-11-18 18:07:28 +11:00
91546.yaml [ML] Copy more settings when creating DF analytics destination index (#91546) 2022-11-14 15:25:25 +00:00
91556.yaml Allow plugins to wrap Lucene directories created by the IndexModule (#91556) 2022-11-16 11:02:07 +01:00
91559.yaml Collect health API stats (#91559) 2022-11-18 05:34:33 -05:00
91561.yaml Forecast average shard size during rollovers (#91561) 2022-11-15 15:07:41 +01:00
91567.yaml Refactor DatabaseNodeService as a cluster state listener. (#91567) 2022-11-15 16:44:28 -05:00
91586.yaml Reduce number of object allocations in H3#h3ToGeoBoundary (#91586) 2022-11-16 16:13:39 +01:00
91587.yaml [HealthAPI] Use the RestCancellableNodeClient infrastructure (#91587) 2022-11-15 17:57:58 +00:00
91590.yaml Clear up forecasted write load and shard size from previous write index during rollovers (#91590) 2022-11-15 18:30:54 +01:00
91595.yaml Support fields in synthetic source in last cases (#91595) 2022-11-16 13:47:48 -05:00
91603.yaml Improve shard balancing (#91603) 2022-11-16 12:55:39 +01:00
91615.yaml Trigger index settings providers when updating component templates. (#91615) 2022-11-22 05:55:22 -05:00
91622.yaml [Transform] Fix failure when resolving indices from CCS (#91622) 2022-11-18 15:31:48 +01:00
91640.yaml Add profiling plugin (#91640) 2022-11-30 17:56:52 +01:00
91659.yaml Avoid NPE when disassociateDeadNodes is executed for a node present in the desired balance (#91659) 2022-11-18 11:28:44 +01:00
91673.yaml Add new H3 api method #h3ToNoChildrenIntersecting (#91673) 2022-11-22 10:19:07 +01:00
91698.yaml [ML] Option to delete user-added annotations for the reset/delete job APIs (#91698) 2022-11-18 17:17:33 +00:00
91701.yaml [Fleet] Added logs-elastic_agent* read privileges to kibana_system (#91701) 2022-11-23 12:23:06 +01:00
91704.yaml Improve InnocuousThread permission checks handling (#91704) 2022-11-23 13:45:12 +01:00
91710.yaml [ML] Support fields with commas in data frame analytics analyzed_fields (#91710) 2022-11-18 18:05:43 +02:00
91713.yaml Fix NPE when method was called on an array type (#91713) 2022-11-21 10:02:47 +00:00
91720.yaml Mark empty _terms_enum results due to DLS as incomplete (#91720) 2022-12-01 11:22:12 +01:00
91730.yaml More accurate total ingest stats (#91730) 2022-11-21 17:13:03 -05:00
91769.yaml fix synthetic _source for sparse _doc_count field (#91769) 2022-11-22 14:32:27 -05:00
91772.yaml Add trace.id to request trace logs (#91772) 2022-11-23 15:41:11 +00:00
91774.yaml [ML] Audit a message every day the datafeed has seen no data (#91774) 2022-11-22 14:20:48 +00:00
91780.yaml Check stable plugin version at install and load time (#91780) 2022-11-23 13:21:40 -05:00
91788.yaml [Transform] Skip remote clusters when performing up front privileges validation (#91788) 2022-11-22 14:45:57 +01:00
91802.yaml Fix potential leak in RemoteRecoveryHandler (#91802) 2022-11-23 11:01:54 +01:00
91823.yaml Upgrade Lucene to version 9.4.2. (#91823) 2022-11-23 09:08:40 +01:00
91846.yaml Upgrade to Netty 4.1.85 (#91846) 2022-12-01 13:17:04 +01:00
91851.yaml Simplify and optimize deduplication of RepositoryData for a non-caching repository instance (#91851) 2022-11-23 17:55:15 +01:00
91869.yaml Load stable plugins as synthetic modules (#91869) 2022-11-29 11:08:50 -05:00
91873.yaml Record timestamp on API key invalidation (#91873) 2022-11-28 09:13:06 +11:00
91895.yaml [ML] Skip remote clusters when performing up front privileges validation (#91895) 2022-11-24 17:02:52 +01:00
91917.yaml [ML] ML stats failures should not stop the usage API working (#91917) 2022-11-24 17:53:15 +00:00
91924.yaml [ML] Guard against input sequences that are too long for Question Answering models (#91924) 2022-11-28 10:40:10 +00:00
91946.yaml Support SAN/dnsName for restricted trust (#91946) 2022-11-28 15:55:48 +11:00
91951.yaml Set default cluster.routing.allocation.balance.disk_usage (#91951) 2022-11-28 11:25:38 +01:00
91981.yaml Handle any exception thrown while generating source for an IngestDocument (#91981) 2022-11-29 09:03:38 -05:00
92017.yaml Add commits listener for InternalEngine and CombinedDeletionPolicy (#92017) 2022-12-05 10:09:59 +01:00
92024.yaml Clean up on exception while chunking XContent (#92024) 2022-11-30 12:30:42 -05:00
92042.yaml Fix Chunked APIs sending incorrect responses to HEAD requests (#92042) 2022-12-01 17:11:29 +01:00
92065.yaml Update the default cluster.routing.allocation.balance.disk_usage (#92065) 2022-12-02 15:25:19 +01:00
92074.yaml Improve performance for role mapping with DNs (#92074) 2022-12-06 01:22:03 -05:00
92080.yaml Fix time unit for connection request timeout of JWKs reload (#92080) 2022-12-05 17:32:54 +11:00
92081.yaml Improve robustness of JwkSet reloading (#92081) 2022-12-06 02:35:18 -05:00
92099.yaml Add methods to prevent allocating long arrays during child navigation on H3 api (#92099) 2022-12-05 16:39:02 +01:00
92100.yaml Ensure balance threshold is at least 1 (#92100) 2022-12-05 11:49:10 -05:00
92104.yaml Upgrading tika to 2.6.0 (#92104) 2022-12-05 15:58:24 -05:00