Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jakelandis align jackson versions #1

Open
wants to merge 921 commits into
base: align_jackson_versions
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
921 commits
Select commit Hold shift + click to select a range
91d6881
Download both x86 and arm beats artifacts for release test builds
mark-vieira Jan 24, 2023
00a253f
Fix #93168 (#93175)
DaveCTurner Jan 24, 2023
8ebe2c7
Fix instructions in max retry decider explanations (#92956)
DaveCTurner Jan 24, 2023
0c1e7db
Use ActionListener<Long> instead of LongConsumer in segment generatio…
tlrx Jan 24, 2023
8ae886a
Add extra logging to PrioritizedThrottledTaskRunnerTests#assertNoRunn…
fcofdez Jan 24, 2023
bfc52d5
[DOCS] Update CCS compatibility matrix for 8.7 (#93172)
abdonpijpelink Jan 24, 2023
6d21bc2
Fix DataTierDataStreamIT flaky test (#93137)
HiDAl Jan 24, 2023
b97eafa
Add ActionListener#assertOnce (#93159)
DaveCTurner Jan 24, 2023
8e28445
Migrate TcpTransport to TransportVersion (#92960)
thecoop Jan 24, 2023
d086706
Adjust range of allowed percentages of deletes in an index. (#93188)
jpountz Jan 24, 2023
92f229d
Update tsdb docs to include warning and additional limitations (#93191)
martijnvg Jan 24, 2023
2052ca8
Avoid double-completion of ListenableFuture (#93187)
DaveCTurner Jan 24, 2023
3e48117
Unmute DataStreamIT#testWriteLoadAndAvgShardSizeIsStoredInABestEffort…
fcofdez Jan 24, 2023
b759fb1
Call Refresh API to satisfy `?refresh` in Stateless (#93160)
pxsalehi Jan 24, 2023
a1bf143
Take into account max_headroom in disk watermark calculations for Hea…
fcofdez Jan 24, 2023
1f5546e
Don't bound low precision geohex aggregations on vector tiles (#93195)
iverase Jan 24, 2023
b79b846
Add TransportVersion overrides to ESTestCase (#93097)
thecoop Jan 24, 2023
54fe770
Restore printing bootstrap checks as errors (#93178)
rjernst Jan 24, 2023
cc86b16
[ML] Weighted token model support (#93186)
davidkyle Jan 24, 2023
87f2221
Chunked encoding for cluster reroute API (#92615)
DaveCTurner Jan 24, 2023
e8b4de9
Documentation for geohex_grid over geo_shape (#92999)
craigtaverner Jan 24, 2023
649a5d7
Bounds inflation performance and unit tests (#92901)
craigtaverner Jan 24, 2023
f49b520
[H3] Minor optimization in creating Vec2d objects (#93166)
iverase Jan 24, 2023
7390b4d
Fix ByteArrayIndexInput with nonzero offset (#93205)
DaveCTurner Jan 24, 2023
ffabc7e
Resolve cluster alias for opened connections (#92584)
n1v0lg Jan 24, 2023
8b80db8
Enable autoManageMasterNodes in DataTierAllocationDeciderIT (#93209)
fcofdez Jan 24, 2023
07b5d85
Remove user exception marker from server cli (#93206)
rjernst Jan 24, 2023
45ed328
Add configurable operation listener for translog (#92926)
Tim-Brooks Jan 24, 2023
2cad226
Suggest systemd override file instead of unit file for tmpdir (#93211)
rjernst Jan 24, 2023
601a0a5
Extract some methods from IngestService's innerExecute method (#93213)
joegallo Jan 24, 2023
b8c33ec
Prefix IP filter settings for remote access port with xpack.security …
ywangd Jan 24, 2023
f327352
Making JsonProcessor stricter so that it does not silently drop data …
masseyke Jan 24, 2023
d031dea
Ensure initial_master_nodes includes only master-eligible nodes (#93212)
mark-vieira Jan 24, 2023
30ae87c
Remove CompletableFuture from SSLConfigurationReloader (#93132)
DaveCTurner Jan 25, 2023
39ef33b
Send remote access headers for internal users (#92585)
n1v0lg Jan 25, 2023
5c217a0
Improve shard routing assertions (#92906)
idegtiarenko Jan 25, 2023
f4c8b16
remove redundant error check in MembersInjectorStore[71] (#93112)
ayushsinghal90 Jan 25, 2023
3027d1b
Introduce BytesReferenceIndexInput (#93208)
DaveCTurner Jan 25, 2023
416bfcb
Simplify `ThreadedActionListener` construction (#93184)
DaveCTurner Jan 25, 2023
0ddbd25
Prevent deprecation field usage in SnapshotBasedRecoveryIT (#93182)
idegtiarenko Jan 25, 2023
dfbe642
[Transform] Support "offset" parameter in DateHistogramGroupSource (#…
przemekwitek Jan 25, 2023
b15098a
Fix ReactiveStorageDeciderDecisionTests (#93230)
fcofdez Jan 25, 2023
6071c76
Migrate indices package to TransportVersion (#93077)
thecoop Jan 25, 2023
edcdc43
enhancement: boolean field to support ignore_malformed (#90122)
devnamrits Jan 25, 2023
26c0a35
Correct checkstyle line length issue in FieldAliasMapperValidationTests
Jan 25, 2023
43c8806
Fix test testMultiKnnClauses (#93047)
benwtrent Jan 25, 2023
fa52364
Minor Adjustments to make SharedBlobCacheService more generic (#93234)
original-brownbear Jan 25, 2023
ce736dd
Revert "enhancement: boolean field to support ignore_malformed (#90122)"
DaveCTurner Jan 25, 2023
7721377
[Transform] trigger state persistence based on time (#93221)
Jan 25, 2023
bef85c6
Migrate VersionedWriteable & NamedDiff to TransportVersion (#93076)
thecoop Jan 25, 2023
48f9609
Revert "Migrate VersionedWriteable & NamedDiff to TransportVersion (#…
thecoop Jan 25, 2023
aec8fcb
Add support for closed unpromotable shards (#93240)
DaveCTurner Jan 25, 2023
7122e12
Adjust validation to allow custom password hash to be provided (#93163)
slobodanadamovic Jan 25, 2023
a54bc1b
Enable Panama-based mmap directory by default (#93232)
javanna Jan 25, 2023
14e7096
Fix geo ip database file leak when processing IP arrays (#93177)
jbaiera Jan 25, 2023
4a2df16
Additional fixes to FIPS testing using junit test clusters (#93248)
mark-vieira Jan 25, 2023
ad63465
Make mutateInstance non abstract (#93229)
idegtiarenko Jan 26, 2023
12141ab
Fix SearchableSnapshotsCanMatchOnCoordinatorIntegTests (#93245)
fcofdez Jan 26, 2023
c513b2b
Migrate VersionedWriteable & NamedDiff to TransportVersion take 2 (#9…
thecoop Jan 26, 2023
6813012
TransportListTaskAction: wait for tasks to finish asynchronously (#90…
arteam Jan 26, 2023
ce7ed7b
Do not emit deprecation warning in the shared context (#93183)
idegtiarenko Jan 26, 2023
9f0ca22
Fix compilation issue in TransportListTasksAction (#93261)
arteam Jan 26, 2023
4b20684
Expose NoOpResult constructor as public (#93258)
tlrx Jan 26, 2023
e971ebe
Add tests for search routing/preference with roles (#93256)
DaveCTurner Jan 26, 2023
75f7a53
Add extra logging into IndexFoldersDeletionListenerIT (#93262)
fcofdez Jan 26, 2023
6d009a3
Migrate org.elasticsearch.xpack to TransportVersion (#93156)
thecoop Jan 26, 2023
cfb2e4d
Migrate org.elasticsearch.action to TransportVersion (#93086)
thecoop Jan 26, 2023
81349d5
Migrate server/org.elasticsearch.cluster package to use TransportVers…
pgomulka Jan 26, 2023
a1c700d
[DOCS] Clarify capabilities of built-in `editor` role (#93260)
droberts195 Jan 26, 2023
6f5ca4b
Improve heuristic in geotile aggregation for using recursive vs brute…
iverase Jan 26, 2023
57e9e40
Add stateless roles to cat.nodes basic yaml test (#93274)
pxsalehi Jan 26, 2023
da01691
Refactor Security code to use TransportVersion (#93089)
pgomulka Jan 26, 2023
35e0c4d
Additional debug logging (#93277)
idegtiarenko Jan 26, 2023
74742b6
Upgrade antlr to 4.11.1 for ql, eql and sql (#93238)
javanna Jan 26, 2023
2f46201
Refactor GeoIp tests to use database service directly (#93281)
jbaiera Jan 26, 2023
f786997
Document structure of transport handshake (#93280)
DaveCTurner Jan 26, 2023
03769d6
Bump versions after 8.6.1 release
mark-vieira Jan 26, 2023
98015d1
Prune changelogs after 8.6.1 release
mark-vieira Jan 26, 2023
3864d70
Remove Java preview features CI job
mark-vieira Jan 26, 2023
c87b7bc
Update Example plugins after Version->TransportVersion refactor (#93293)
pgomulka Jan 27, 2023
1819a25
Mute flaky testSearchRouting (#93294)
idegtiarenko Jan 27, 2023
9876977
Fix domain erasure in realm rewriting (#93276)
n1v0lg Jan 27, 2023
ade4891
Assert one-shot completion in IndexShardOperationPermits (#93290)
DaveCTurner Jan 27, 2023
f35e18e
[ML] improve frequent items runtime (#93255)
Jan 27, 2023
217cbfa
Mute ComponentTemplatesFileSettingsIT.testSettingsApplied (#93300)
tlrx Jan 27, 2023
9cce7f1
Mute flaky testSnapshotBasedRecovery (#93296)
idegtiarenko Jan 27, 2023
9c0c508
Fix DataStreamIT#testWriteLoadAndAvgShardSizeIsStoredInABestEffort (#…
fcofdez Jan 27, 2023
05c7753
[DOCS] Fixes markup for example in count function docs. (#93308)
szabosteve Jan 27, 2023
30172a0
Mute MapperSizeClientYamlTestSuiteIT test {yaml=mapper_size/10_basic/…
tlrx Jan 27, 2023
81d9cbe
Update frequent-items-aggregation.asciidoc (#93287)
GlenRSmith Jan 27, 2023
0993a36
Correctly mute MapperSizeClientYamlTestSuiteIT test {yaml=mapper_size…
tlrx Jan 27, 2023
77318fe
Add monitoring mappings for es ingest metricset (#92950)
joshdover Jan 27, 2023
86520bf
[ML] Prevent modification of immutable set in trained model rebalance…
davidkyle Jan 27, 2023
405328f
[Fleet] Update CODEOWNERS for Fleet/Agent resources (#91670)
kpollich Jan 27, 2023
89475ee
Faster set intersection (#93284)
joegallo Jan 27, 2023
2311bbf
[ML] Fix data counts race condition when starting a datafeed (#93324)
droberts195 Jan 27, 2023
81645e1
Fix custom heuristic example plugin unit test (#93326)
mark-vieira Jan 27, 2023
48bdb08
Remove more references to KeyStoreWrapper (#92378)
grcevski Jan 27, 2023
bd79620
Remove length check for source-only keyword fields (#93299)
cbuescher Jan 27, 2023
ae07371
Split up ARM testing jobs into smaller chunks
mark-vieira Jan 27, 2023
3eed4f4
Fix testSearchRouting (#93319)
idegtiarenko Jan 30, 2023
4e66bfb
Report committed cluster UUID after reboot (#93128)
DaveCTurner Jan 30, 2023
abbc78d
Add version to discovery node toXContent and toString (#93307)
idegtiarenko Jan 30, 2023
130378b
Add extra logging into PrioritizedThrottledTaskRunnerTests (#93337)
fcofdez Jan 30, 2023
8d42c57
Skip duplicate checks on segments that don't document's timestamp (#9…
martijnvg Jan 30, 2023
fddc2ab
Prefer Strings#format over String#format(Locale, ... (#93336)
DaveCTurner Jan 30, 2023
7b9df00
Disable unnecessary logs collection (#93339)
idegtiarenko Jan 30, 2023
8d60562
[DOCS] Migration guide: link to What's new page for the same version …
abdonpijpelink Jan 30, 2023
0cfb795
Note in CONTRIBUTING.md re. unsupported platforms (#93343)
DaveCTurner Jan 30, 2023
2a6e521
Mute o.e.s.c.ServerCliTests (#93349)
n1v0lg Jan 30, 2023
d065d4b
Remove jackson override and upgrade to jackson to 2.14.2 (#93342)
pgomulka Jan 30, 2023
f193392
[DOCS] List the downsample ILM action in the correct order of executi…
andreidan Jan 30, 2023
37c510c
Script: Metadata validateMetadata optimization (#93333)
joegallo Jan 30, 2023
63ca708
Authentication model changes for remote access (#93151)
n1v0lg Jan 30, 2023
3e3b271
Handle a default/request pipeline and a final pipeline with minimal a…
joegallo Jan 30, 2023
b930e81
Allowed indices matcher supports nested limited roles (#93306)
n1v0lg Jan 30, 2023
2cf70ae
Fix some possible NPEs in strange JVM configs (#93352)
DaveCTurner Jan 30, 2023
13b7190
Download the geoip databases only when needed (#92335)
masseyke Jan 30, 2023
2a7098a
Add JDK 20 to Java support compatibility testing matrix
mark-vieira Jan 30, 2023
b4484cd
Bump bundled JDK to Java 19.0.2 (#93354)
mark-vieira Jan 30, 2023
feb1f51
Make `--debug-server-jvm` work with new test framework (#93355)
mark-vieira Jan 30, 2023
91d111e
Fix MapperSizeClientYamlTestSuiteIT when FIPS is enabled (#93357)
mark-vieira Jan 30, 2023
fe50f38
Add ActionListener#run (#93338)
DaveCTurner Jan 31, 2023
bb50a65
[ML] Wait for _infer to work after restart in full cluster restart te…
davidkyle Jan 31, 2023
cb966ef
Unpromotables skip replication and peer recovery (#93210)
kingherc Jan 31, 2023
89467ea
Add a section about token-based authentication (#93344)
mjrlgue Jan 31, 2023
fd4c617
Build role for remote access authentication (#93316)
n1v0lg Jan 31, 2023
e6aa39b
Cleanup allocation commands test (#93368)
idegtiarenko Jan 31, 2023
da387b4
Link to the time-units doc in S3 repository docs instead of explainin…
fcofdez Jan 31, 2023
f086dd1
Migrate misc packages to TransportVersion (#93272)
thecoop Jan 31, 2023
610a3e4
Update rollup dependencies (#93369)
martijnvg Jan 31, 2023
4e507ba
Avoiding race conditions in GeoIpDownloaderIT (#93363)
masseyke Jan 31, 2023
cea92ff
Set forced_refresh to true when using stateless refresh work-around (…
pxsalehi Jan 31, 2023
7e0ed53
Cache the creation of parsers within `DateProcessor` (#92880)
HiDAl Jan 31, 2023
9f4d7fa
Add `ignore_missing_component_templates` config option (#92436)
ruflin Jan 31, 2023
200e061
Upgrade to Lucene 9.5.0 (#93385)
javanna Jan 31, 2023
37f195e
[TEST] Fix staleness in fetching component templates (#93321)
grcevski Jan 31, 2023
013b2e5
Convert full cluster restart tests to new rest testing framework (#93…
mark-vieira Jan 31, 2023
4871b5a
Allow `null` to be provided for dense_vector field values (#93388)
benwtrent Jan 31, 2023
c21ee47
Switch to Lucene's new IntField/LongField/FloatField/DoubleField. (#9…
jpountz Jan 31, 2023
d93382b
[DOCS] Remove 'from' parameter from update_by_query/delete_by_query d…
abdonpijpelink Feb 1, 2023
67d4092
Fix error message when SSL key is configured without a cert (#93359)
ywangd Feb 1, 2023
b6fa6d8
Add missing counter field support to some aggregations. (#93311)
martijnvg Feb 1, 2023
926fbfa
[CI] Mute testCreateSplitIndexToN (#93402)
pxsalehi Feb 1, 2023
99018d9
Migrate org.elasticsearch.search to TransportVersion (#93091)
thecoop Feb 1, 2023
58c1bcc
[DOCS] [main] Add release notes for 8.6.1 (#93236) (#93404)
arteam Feb 1, 2023
062981c
Fix count of unpromotable refreshes in test (#93406)
kingherc Feb 1, 2023
eb43e5b
improve code documentation of ValueSource regarding (global, segment)…
Feb 1, 2023
d62fe29
Nested path info shouldn't be added during copy_to (#93340)
romseygeek Feb 1, 2023
bc7a31f
Revert "Convert full cluster restart tests to new rest testing framew…
craigtaverner Feb 1, 2023
51e0a3b
[ML] improve frequent_items performance by using global ordinals (#93…
Feb 1, 2023
9aeec50
Re-enabling monitoring bulk yaml tests (#93397)
masseyke Feb 1, 2023
56340ce
FIxed the doc URL for rest API update trained model deployment (#93072)
ezimuel Feb 1, 2023
7c7ee0e
[ML] Increase timeout in MlTrainedModelsUpgradeIT (#93416)
davidkyle Feb 1, 2023
5b67fd2
[TEST] Fix servercli tests for FIPS mode (#93350)
grcevski Feb 1, 2023
282038d
Merge branch 'align_jackson_versions' of github.com:jakelandis/elasti…
pgomulka Feb 1, 2023
d65e075
Fix exception thrown inside inboundhandler test (#93419)
thecoop Feb 1, 2023
3ffa22e
Fix unexpected in-flight requests log message (#93400)
Tim-Brooks Feb 1, 2023
c92f3f6
keep azure on the same version
pgomulka Feb 1, 2023
2700dc5
Do not refresh all indices in TransportBulkAction (#93417)
tlrx Feb 1, 2023
3ad0ac1
update 2.14.0 -> 2.14.2
pgomulka Feb 1, 2023
5cbbf5c
Add CI job for BWC testing pull requests on Windows
mark-vieira Feb 1, 2023
8e44603
Fix thirdPartyAudit tasks when running with Java 20 (#93394)
mark-vieira Feb 1, 2023
93ecc4d
Consolidate google-oauth-client to latest version (#91722)
jakelandis Feb 1, 2023
7f9f3bc
Add new query_vector_builder option to knn search clause (#93331)
benwtrent Feb 1, 2023
323a13a
Add `term` query support to rank_features mapped field (#93247)
benwtrent Feb 1, 2023
820ba5a
Convert full cluster restart tests to new rest testing framework (#93…
mark-vieira Feb 1, 2023
9123346
Increase volume size of encryption at rest job
mark-vieira Feb 1, 2023
190b617
Support configuring SSL separately for remote access port (#93334)
ywangd Feb 2, 2023
9babcc9
Enforce synthetic source for time series indices (#93380)
martijnvg Feb 2, 2023
cf5ea0b
[ML] rename frequent_items to frequent_item_sets and make it GA (#93421)
Feb 2, 2023
75b074a
verification metadata
pgomulka Feb 2, 2023
fc20026
Update docs/changelog/93438.yaml
pgomulka Feb 2, 2023
2ef63a4
Fix PrioritizedThrottledTaskRunnerTests (#93446)
DaveCTurner Feb 2, 2023
221c935
Revert "Convert full cluster restart tests to new rest testing framew…
n1v0lg Feb 2, 2023
b0c380d
Misc improvements to TBbNA tests (#93435)
DaveCTurner Feb 2, 2023
8d44c9a
Fix context leak in list tasks API (#93431)
DaveCTurner Feb 2, 2023
8468c3b
fix maxind version
pgomulka Feb 2, 2023
ff60564
Remove MonitoringWithWatcherRestIT.testThatLocalExporterAddsWatches
gmarouli Feb 2, 2023
eb9eeae
More investigation into 93271 (#93454)
DaveCTurner Feb 2, 2023
f4b7335
Remove extra logging from PrioritizedThrottledTaskRunnerTests (#93456)
fcofdez Feb 2, 2023
03f8ea5
Minor cleanups FrozenIndexInput (#93309)
original-brownbear Feb 2, 2023
a0343e4
Make password long enough for FIPS mode (#93450)
n1v0lg Feb 2, 2023
513dc2f
Expose per node counts (#93439)
idegtiarenko Feb 2, 2023
f8fc299
Even more logging for #93226 (#93465)
DaveCTurner Feb 2, 2023
7adeb48
Describe delete-snapshot tasks (#93466)
DaveCTurner Feb 2, 2023
4c68382
Capture thread dump on ShardLockObtainFailedException (#93458)
DaveCTurner Feb 2, 2023
467b859
Avoiding a NullPointerException in GeoIpDownloaderIT (#93471)
masseyke Feb 2, 2023
6971d2c
Bump versions after 7.17.9 release
arteam Feb 2, 2023
bc05481
Prune changelogs after 7.17.9 release
arteam Feb 2, 2023
94d16a2
Faster CollectionUtils.ensureNoSelfReferences (#93433)
joegallo Feb 2, 2023
a71210c
Run spotless on the 7.17.9 version bump change
arteam Feb 2, 2023
f60401a
[Transform] Transform `_schedule_now` API (#92948)
przemekwitek Feb 2, 2023
9229011
[DOCS] Adds size parameter details to aggregating data for faster per…
szabosteve Feb 2, 2023
915b475
Ignore Version.java file when applying spotless formatting
mark-vieira Feb 2, 2023
f2b02ae
Ignore checkstyle line length in Version.java
mark-vieira Feb 2, 2023
7f7cf30
Expose a couple of primitive stream wrappers over the underlying test…
ChrisHegarty Feb 2, 2023
c143caf
Make GeoIpProcessor backing database instance pluggable. (#93285)
jbaiera Feb 2, 2023
43d9a6a
Convert full cluster restart tests to new rest testing framework (#93…
mark-vieira Feb 2, 2023
b2d9a4e
Fix test cluster security setup on Windows (#93482)
mark-vieira Feb 2, 2023
925a6dc
Simplify CI matrix job checkout directory path
mark-vieira Feb 2, 2023
6f7eeb0
Support downsampling of histogram as labels (#93445)
salvatore-campagna Feb 3, 2023
14cca12
Improve the false positive rate of the bloom filter by setting 7 hash…
thomasdullien Feb 4, 2023
6e402ad
Use cert-pinning in test cluster wait-for-health (#92657)
tvernum Feb 6, 2023
a722fc5
Use passed-in configuration for SslChannelInitializer (#93362)
ywangd Feb 6, 2023
ea90f92
[DOCS] Remove excessive white space from the landing page (#93472)
abdonpijpelink Feb 6, 2023
d3d1bbc
Allow to disable addMockFSIndexStore test plugin (#93473)
tlrx Feb 6, 2023
1fb3a1b
More detailed logging for snapshot-based recovery (#93469)
DaveCTurner Feb 6, 2023
acece61
Fallback to the actual shard size when forecast is not available (#93…
idegtiarenko Feb 6, 2023
e837ff7
Extract ThrottledTaskRunner (#93436)
DaveCTurner Feb 6, 2023
f2760c6
Nicer buffer handling (#93491)
original-brownbear Feb 6, 2023
927e165
[ML] Remove semantic_search endpoint (#93492)
droberts195 Feb 6, 2023
c08c16e
[DOCS] Removes semantic search reference docs (#93500)
szabosteve Feb 6, 2023
283f8ac
Remove shortcutTotalHitCount optimization (#89047)
javanna Feb 6, 2023
b5387e8
AbstractThrottledTaskRunnerTests needs all-core threads (#93505)
DaveCTurner Feb 6, 2023
fc974cd
Decrease queue capacity in EnrichResiliencyTests to make it more resi…
gmarouli Feb 6, 2023
ab5ae88
Expose forecasted and actual disk usage per tier and node (#93497)
idegtiarenko Feb 6, 2023
afc24e1
More logging for testSnapshotBasedRecovery (#93513)
DaveCTurner Feb 6, 2023
b473d81
Support geo-grid ingest processor (#93370)
craigtaverner Feb 6, 2023
d55a1c8
Unmute testThatLoadingWithNonExistingIndexWorks (#93509)
gmarouli Feb 6, 2023
725da76
[CI] Mute MlHiddenIndicesFullClusterRestartIT.testMlIndicesBecomeHidden
valeriy42 Feb 6, 2023
ccd4bfc
Speed up retrieval of data for flamegraphs (#93448)
danielmitterdorfer Feb 6, 2023
c18078e
Geo_grid ingest processor docs (#93507)
craigtaverner Feb 6, 2023
f55d70a
Document datehistogram with long offsets (#93328)
craigtaverner Feb 6, 2023
7bd5613
TransportGetTaskAction: Wait for the task asynchronously (#93375)
arteam Feb 6, 2023
a0ecb84
Add a new test of the current behavior for ingest pipeline names and …
joegallo Feb 6, 2023
b199470
More useful toString on UpdateSettingsTask (#93514)
DaveCTurner Feb 6, 2023
c1b0bf6
Provide locally mounted secure settings implementation. (#93392)
grcevski Feb 6, 2023
6498bd1
Extract and dry more IO logic out of searchable snapshots module (#93…
original-brownbear Feb 6, 2023
438f2f8
Mute flaky testSnapshotBasedRecovery
DaveCTurner Feb 6, 2023
ae48bb0
QL: Replace field type (#93528)
nik9000 Feb 6, 2023
a849480
Upgrade asm to 9.4 to support Java20 (#93530)
grcevski Feb 6, 2023
5649ec2
Add ability for Watcher's webhook actions to send additional header (…
dakrone Feb 6, 2023
ff870e1
[Test Mute] Awaits fix #93536
ywangd Feb 6, 2023
4e8a77e
Ensure QC client connection use remote cluster SSL configuration (#93…
ywangd Feb 7, 2023
fc78668
Avoid copying test cluster distributions when possible (#93486)
mark-vieira Feb 7, 2023
3f47fe9
Add some debug logging (#93535)
mark-vieira Feb 7, 2023
5c38d4c
Add size parameter to time_series aggregation (#93496)
Feb 7, 2023
8ed470b
Skip testCreateSplitIndexToN on Windows (#93517)
pxsalehi Feb 7, 2023
6657c37
Disable recovery monitor before recovery start (#93543)
DaveCTurner Feb 7, 2023
d5e95a2
Revert "Disable recovery monitor before recovery start (#93543)"
DaveCTurner Feb 7, 2023
052a4f1
Add ShardRouting to DirectoryFactory interface (#93511)
tlrx Feb 7, 2023
b8c9dc9
Disable recovery monitor before recovery start (#93551)
DaveCTurner Feb 7, 2023
134f51b
Small cleanup in PRTS#doRecovery (#93549)
DaveCTurner Feb 7, 2023
ea17a19
Upgrade geoip2 dependency (#93522)
joegallo Feb 7, 2023
a173001
Adjust number of replicas in YAML REST tests (#93386)
tlrx Feb 7, 2023
f694d30
AwaitsFix for #93555
DaveCTurner Feb 7, 2023
f6eb279
Simplify TransportBroadcastByNodeAction (#93484)
DaveCTurner Feb 7, 2023
464251c
Clean up & streamline RestIndicesAction (#93437)
DaveCTurner Feb 7, 2023
caefb2a
Merge remote-tracking branch 'upstream/main' into jakelandis-align_ja…
pgomulka Feb 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Migrate org.elasticsearch.action to TransportVersion (elastic#93086)
thecoop authored Jan 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit cfb2e4d45ad6e4a2f0f72c324d9ec3cd5a89c9b1
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
*/
package org.elasticsearch.action;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.action.support.WriteRequest;
import org.elasticsearch.action.support.WriteRequest.RefreshPolicy;
import org.elasticsearch.action.support.WriteResponse;
@@ -118,7 +118,7 @@ public DocWriteResponse(ShardId shardId, String id, long seqNo, long primaryTerm
protected DocWriteResponse(ShardId shardId, StreamInput in) throws IOException {
super(in);
this.shardId = shardId;
if (in.getVersion().before(Version.V_8_0_0)) {
if (in.getTransportVersion().before(TransportVersion.V_8_0_0)) {
String type = in.readString();
assert MapperService.SINGLE_MAPPING_NAME.equals(type) : "Expected [_doc] but received [" + type + "]";
}
@@ -137,7 +137,7 @@ protected DocWriteResponse(ShardId shardId, StreamInput in) throws IOException {
protected DocWriteResponse(StreamInput in) throws IOException {
super(in);
shardId = new ShardId(in);
if (in.getVersion().before(Version.V_8_0_0)) {
if (in.getTransportVersion().before(TransportVersion.V_8_0_0)) {
String type = in.readString();
assert MapperService.SINGLE_MAPPING_NAME.equals(type) : "Expected [_doc] but received [" + type + "]";
}
@@ -266,7 +266,7 @@ public void writeTo(StreamOutput out) throws IOException {
}

private void writeWithoutShardId(StreamOutput out) throws IOException {
if (out.getVersion().before(Version.V_8_0_0)) {
if (out.getTransportVersion().before(TransportVersion.V_8_0_0)) {
out.writeString(MapperService.SINGLE_MAPPING_NAME);
}
out.writeString(id);
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
package org.elasticsearch.action;

import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.index.mapper.MapperService;
@@ -41,7 +41,7 @@ public RestStatus status() {

public RoutingMissingException(StreamInput in) throws IOException {
super(in);
if (in.getVersion().before(Version.V_8_0_0)) {
if (in.getTransportVersion().before(TransportVersion.V_8_0_0)) {
in.readString();
}
id = in.readString();
@@ -50,7 +50,7 @@ public RoutingMissingException(StreamInput in) throws IOException {
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
if (out.getVersion().before(Version.V_8_0_0)) {
if (out.getTransportVersion().before(TransportVersion.V_8_0_0)) {
out.writeString(MapperService.SINGLE_MAPPING_NAME);
}
out.writeString(id);
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

package org.elasticsearch.action.admin.cluster.allocation;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.cluster.ClusterInfo;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.cluster.routing.ShardRouting;
@@ -67,7 +67,7 @@ public ClusterAllocationExplanation(
}

public ClusterAllocationExplanation(StreamInput in) throws IOException {
if (in.getVersion().onOrAfter(Version.V_7_15_0)) {
if (in.getTransportVersion().onOrAfter(TransportVersion.V_7_15_0)) {
this.specificShard = in.readBoolean();
} else {
this.specificShard = true; // suppress "this is a random shard" warning in BwC situations
@@ -81,7 +81,7 @@ public ClusterAllocationExplanation(StreamInput in) throws IOException {

@Override
public void writeTo(StreamOutput out) throws IOException {
if (out.getVersion().onOrAfter(Version.V_7_15_0)) {
if (out.getTransportVersion().onOrAfter(TransportVersion.V_7_15_0)) {
out.writeBoolean(specificShard);
} // else suppress "this is a random shard" warning in BwC situations
shardRouting.writeTo(out);
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
*/
package org.elasticsearch.action.admin.cluster.allocation;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.action.ActionResponse;
import org.elasticsearch.cluster.routing.AllocationId;
import org.elasticsearch.cluster.routing.ShardRoutingState;
@@ -34,7 +34,7 @@

public class DesiredBalanceResponse extends ActionResponse implements ChunkedToXContentObject {

private static final Version CLUSTER_BALANCE_STATS_VERSION = Version.V_8_7_0;
private static final TransportVersion CLUSTER_BALANCE_STATS_VERSION = TransportVersion.V_8_7_0;

private final DesiredBalanceStats stats;
private final ClusterBalanceStats clusterBalanceStats;
@@ -53,15 +53,17 @@ public DesiredBalanceResponse(
public static DesiredBalanceResponse from(StreamInput in) throws IOException {
return new DesiredBalanceResponse(
DesiredBalanceStats.readFrom(in),
in.getVersion().onOrAfter(CLUSTER_BALANCE_STATS_VERSION) ? ClusterBalanceStats.readFrom(in) : ClusterBalanceStats.EMPTY,
in.getTransportVersion().onOrAfter(CLUSTER_BALANCE_STATS_VERSION)
? ClusterBalanceStats.readFrom(in)
: ClusterBalanceStats.EMPTY,
in.readImmutableMap(StreamInput::readString, v -> v.readImmutableMap(StreamInput::readVInt, DesiredShards::from))
);
}

@Override
public void writeTo(StreamOutput out) throws IOException {
stats.writeTo(out);
if (out.getVersion().onOrAfter(CLUSTER_BALANCE_STATS_VERSION)) {
if (out.getTransportVersion().onOrAfter(CLUSTER_BALANCE_STATS_VERSION)) {
clusterBalanceStats.writeTo(out);
}
out.writeMap(
@@ -176,10 +178,10 @@ public record ShardView(
@Nullable Long forecastedShardSizeInBytes
) implements Writeable, ToXContentObject {

private static final Version ADD_FORECASTS_VERSION = Version.V_8_7_0;
private static final TransportVersion ADD_FORECASTS_VERSION = TransportVersion.V_8_7_0;

public static ShardView from(StreamInput in) throws IOException {
if (in.getVersion().onOrAfter(ADD_FORECASTS_VERSION)) {
if (in.getTransportVersion().onOrAfter(ADD_FORECASTS_VERSION)) {
return new ShardView(
ShardRoutingState.fromValue(in.readByte()),
in.readBoolean(),
@@ -220,7 +222,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeBoolean(relocatingNodeIsDesired);
out.writeVInt(shardId);
out.writeString(index);
if (out.getVersion().onOrAfter(ADD_FORECASTS_VERSION)) {
if (out.getTransportVersion().onOrAfter(ADD_FORECASTS_VERSION)) {
out.writeOptionalDouble(forecastedWriteLoad);
out.writeOptionalLong(forecastedShardSizeInBytes);
} else {
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
*/
package org.elasticsearch.action.admin.cluster.configuration;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.action.ActionRequestValidationException;
import org.elasticsearch.action.support.master.MasterNodeRequest;
import org.elasticsearch.cluster.ClusterState;
@@ -72,7 +72,7 @@ public AddVotingConfigExclusionsRequest(String[] nodeIds, String[] nodeNames, Ti

public AddVotingConfigExclusionsRequest(StreamInput in) throws IOException {
super(in);
if (in.getVersion().before(Version.V_8_0_0)) {
if (in.getTransportVersion().before(TransportVersion.V_8_0_0)) {
final String[] legacyNodeDescriptions = in.readStringArray();
if (legacyNodeDescriptions.length > 0) {
throw new IllegalArgumentException("legacy [node_name] field was deprecated and must be empty");
@@ -185,7 +185,7 @@ public ActionRequestValidationException validate() {
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
if (out.getVersion().before(Version.V_8_0_0)) {
if (out.getTransportVersion().before(TransportVersion.V_8_0_0)) {
out.writeStringArray(Strings.EMPTY_ARRAY);
}
out.writeStringArray(nodeIds);
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@

package org.elasticsearch.action.admin.cluster.desirednodes;

import org.elasticsearch.TransportVersion;
import org.elasticsearch.Version;
import org.elasticsearch.action.ActionRequestValidationException;
import org.elasticsearch.action.ValidateActions;
@@ -24,7 +25,7 @@
import java.util.Objects;

public class UpdateDesiredNodesRequest extends AcknowledgedRequest<UpdateDesiredNodesRequest> {
private static final Version DRY_RUN_VERSION = Version.V_8_4_0;
private static final TransportVersion DRY_RUN_VERSION = TransportVersion.V_8_4_0;

private final String historyID;
private final long version;
@@ -58,7 +59,7 @@ public UpdateDesiredNodesRequest(StreamInput in) throws IOException {
this.historyID = in.readString();
this.version = in.readLong();
this.nodes = in.readList(DesiredNode::readFrom);
if (in.getVersion().onOrAfter(DRY_RUN_VERSION)) {
if (in.getTransportVersion().onOrAfter(DRY_RUN_VERSION)) {
this.dryRun = in.readBoolean();
} else {
this.dryRun = false;
@@ -71,7 +72,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeString(historyID);
out.writeLong(version);
out.writeList(nodes);
if (out.getVersion().onOrAfter(DRY_RUN_VERSION)) {
if (out.getTransportVersion().onOrAfter(DRY_RUN_VERSION)) {
out.writeBoolean(dryRun);
}
}
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

package org.elasticsearch.action.admin.cluster.desirednodes;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.action.ActionResponse;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
@@ -19,7 +19,7 @@
import java.util.Objects;

public class UpdateDesiredNodesResponse extends ActionResponse implements ToXContentObject {
private static final Version DRY_RUN_SUPPORTING_VERSION = Version.V_8_4_0;
private static final TransportVersion DRY_RUN_SUPPORTING_VERSION = TransportVersion.V_8_4_0;

private final boolean replacedExistingHistoryId;
private final boolean dryRun;
@@ -36,13 +36,13 @@ public UpdateDesiredNodesResponse(boolean replacedExistingHistoryId, boolean dry
public UpdateDesiredNodesResponse(StreamInput in) throws IOException {
super(in);
this.replacedExistingHistoryId = in.readBoolean();
dryRun = in.getVersion().onOrAfter(DRY_RUN_SUPPORTING_VERSION) ? in.readBoolean() : false;
dryRun = in.getTransportVersion().onOrAfter(DRY_RUN_SUPPORTING_VERSION) ? in.readBoolean() : false;
}

@Override
public void writeTo(StreamOutput out) throws IOException {
out.writeBoolean(replacedExistingHistoryId);
if (out.getVersion().onOrAfter(DRY_RUN_SUPPORTING_VERSION)) {
if (out.getTransportVersion().onOrAfter(DRY_RUN_SUPPORTING_VERSION)) {
out.writeBoolean(dryRun);
}
}
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

package org.elasticsearch.action.admin.cluster.node.hotthreads;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.action.support.nodes.BaseNodesRequest;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.common.io.stream.StreamInput;
@@ -36,7 +36,7 @@ public NodesHotThreadsRequest(StreamInput in) throws IOException {
type = HotThreads.ReportType.of(in.readString());
interval = in.readTimeValue();
snapshots = in.readInt();
if (in.getVersion().onOrAfter(Version.V_7_16_0)) {
if (in.getTransportVersion().onOrAfter(TransportVersion.V_7_16_0)) {
sortOrder = HotThreads.SortOrder.of(in.readString());
}
}
@@ -118,7 +118,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeString(type.getTypeValue());
out.writeTimeValue(interval);
out.writeInt(snapshots);
if (out.getVersion().onOrAfter(Version.V_7_16_0)) {
if (out.getTransportVersion().onOrAfter(TransportVersion.V_7_16_0)) {
out.writeString(sortOrder.getOrderValue());
}
}
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
package org.elasticsearch.action.admin.cluster.node.info;

import org.elasticsearch.Build;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.Version;
import org.elasticsearch.action.support.nodes.BaseNodeResponse;
import org.elasticsearch.cluster.node.DiscoveryNode;
@@ -72,7 +73,7 @@ public NodeInfo(StreamInput in) throws IOException {
addInfoIfNonNull(HttpInfo.class, in.readOptionalWriteable(HttpInfo::new));
addInfoIfNonNull(PluginsAndModules.class, in.readOptionalWriteable(PluginsAndModules::new));
addInfoIfNonNull(IngestInfo.class, in.readOptionalWriteable(IngestInfo::new));
if (in.getVersion().onOrAfter(Version.V_7_10_0)) {
if (in.getTransportVersion().onOrAfter(TransportVersion.V_7_10_0)) {
addInfoIfNonNull(AggregationInfo.class, in.readOptionalWriteable(AggregationInfo::new));
}
}
@@ -193,7 +194,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeOptionalWriteable(getInfo(HttpInfo.class));
out.writeOptionalWriteable(getInfo(PluginsAndModules.class));
out.writeOptionalWriteable(getInfo(IngestInfo.class));
if (out.getVersion().onOrAfter(Version.V_7_10_0)) {
if (out.getTransportVersion().onOrAfter(TransportVersion.V_7_10_0)) {
out.writeOptionalWriteable(getInfo(AggregationInfo.class));
}
}
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

package org.elasticsearch.action.admin.cluster.node.shutdown;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.io.stream.Writeable;
@@ -148,14 +148,14 @@ static <T> void configureParser(ConstructingObjectParser<T, Void> parser) {
@Override
public void writeTo(StreamOutput out) throws IOException {
out.writeBoolean(isSafe);
if (out.getVersion().onOrAfter(Version.V_8_7_0)) {
if (out.getTransportVersion().onOrAfter(TransportVersion.V_8_7_0)) {
reason.writeTo(out);
}
out.writeString(message);
}

public static Result readFrom(final StreamInput in) throws IOException {
if (in.getVersion().before(Version.V_8_7_0)) {
if (in.getTransportVersion().before(TransportVersion.V_8_7_0)) {
return new Result(in.readBoolean(), null, in.readString());
}
return new Result(in.readBoolean(), Reason.readFrom(in), in.readString());
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

package org.elasticsearch.action.admin.cluster.node.shutdown;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.action.ActionRequestValidationException;
import org.elasticsearch.action.support.master.MasterNodeReadRequest;
import org.elasticsearch.common.Strings;
@@ -44,7 +44,7 @@ public PrevalidateNodeRemovalRequest(final StreamInput in) throws IOException {
names = in.readStringArray();
ids = in.readStringArray();
externalIds = in.readStringArray();
if (in.getVersion().onOrAfter(Version.V_8_7_0)) {
if (in.getTransportVersion().onOrAfter(TransportVersion.V_8_7_0)) {
timeout = in.readTimeValue();
}
}
@@ -55,7 +55,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeStringArray(names);
out.writeStringArray(ids);
out.writeStringArray(externalIds);
if (out.getVersion().onOrAfter(Version.V_8_7_0)) {
if (out.getTransportVersion().onOrAfter(TransportVersion.V_8_7_0)) {
out.writeTimeValue(timeout);
}
}
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

package org.elasticsearch.action.admin.cluster.node.tasks.list;

import org.elasticsearch.Version;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.action.ActionRequestValidationException;
import org.elasticsearch.action.support.tasks.BaseTasksRequest;
import org.elasticsearch.common.Strings;
@@ -40,7 +40,7 @@ public ListTasksRequest(StreamInput in) throws IOException {
super(in);
detailed = in.readBoolean();
waitForCompletion = in.readBoolean();
if (in.getVersion().onOrAfter(Version.V_7_13_0)) {
if (in.getTransportVersion().onOrAfter(TransportVersion.V_7_13_0)) {
descriptions = in.readStringArray();
}
}
@@ -50,7 +50,7 @@ public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeBoolean(detailed);
out.writeBoolean(waitForCompletion);
if (out.getVersion().onOrAfter(Version.V_7_13_0)) {
if (out.getTransportVersion().onOrAfter(TransportVersion.V_7_13_0)) {
out.writeStringArray(descriptions);
}
}
Loading