Commit graph

61144 commits

Author SHA1 Message Date
Brian Seeders
4c7876dcb1
Bump versions after 7.17.16 release 2023-12-13 10:48:34 -05:00
Liam Thompson
c716374cc8
[DOCS] Add canonical link to quickstart (#103392) 2023-12-13 14:51:59 +01:00
Mark Vieira
e7dabf066b
Disable incremental compilation in CI environments (#103346) (#103349) 2023-12-12 17:07:11 -05:00
Abdon Pijpelink
f48406b51b
[DOCS] Add security update to 7.17.16 RNs (#103336) 2023-12-12 13:23:10 -08:00
Tim Vernum
ac8c5911fc
[7.17] [Docs] Custom S3 CA must be reinstalled on upgrade (#103168) (#103248)
* [Docs] Custom S3 CA must be reinstalled on upgrade (#103168)

This commit updates the docs to call out that custom certificate
authorities for S3 repositories will need to be reinstalled every time
ES is upgraded, is the node is using the bundled JDK

* Fix cross-book reference
2023-12-11 20:23:14 -05:00
Ryan Ernst
1a99785036
Wrap painless explain error (#103151) (#103236)
In https://github.com/elastic/elasticsearch/pull/100872 Painless errors
were wrapped so as to avoid throwing Errors outside scripting. However,
one case was missed: PainlessExplainError which is used by
Debug.explain. This commit adds the explain error to those that painless
wraps.

closes #103018
2023-12-09 10:00:17 -05:00
Brian Seeders
2b23fa0763
Update docs for v7.17.16 release (#103086) 2023-12-06 17:01:45 -05:00
Mark Vieira
08ffe30907
Update IronBank docker image base to ubi:9.3 (#102721) (#103077)
# Conflicts:
#	distribution/docker/src/docker/Dockerfile

Co-authored-by: Jon <jon@elastic.co>
2023-12-06 14:10:42 -05:00
Mary Gouseti
253f1f430f
[7.17] [ILM] More resilient when a policy is added to searchable snapshot (#102741) (#103070)
* Backport #102741
2023-12-06 20:08:15 +02:00
Iraklis Psaroudakis
522439b4cf
Fix Windows tcpretries as well (#103048) (#103051)
In previous PR #102968 fixed the Linux value but not the Windows one.

Relates #102788
2023-12-06 08:47:55 -05:00
Przemysław Witek
b9fe9073e5
[Transform] Ensure transform updates only modify the expected transform task (#102934) (#102941)
(cherry picked from commit 67ab4b46ea)

# Conflicts:
#	x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/transform/action/UpdateTransformActionRequestTests.java
2023-12-04 14:06:18 -05:00
Rene Groeschke
dbd82ac418
Suppress gradle welcome messages (#102898) (#102911)
There are not usefuil for us

(cherry picked from commit 7e24080fb2)
2023-12-04 12:08:32 +01:00
Mark Vieira
6da33dc2de
Update IronBank BASE_IMAGE with ironbank prefix (#102720) (#102838)
This supports local testing.  It should not be included in
hardening_manifest.yml, which injects the scope at runtime.
# Conflicts:
#	distribution/docker/src/docker/Dockerfile

Co-authored-by: Jon <jon@elastic.co>
2023-11-30 17:21:41 -05:00
Rene Groeschke
5661f5fbd0
[7.17] Update gradle wrapper to 8.5 (#102154) (#102816)
* Update gradle wrapper to 8.5 (#102154)

Update BuildLayout references

* Remove non existent project
2023-11-30 15:03:30 -05:00
Slobodan Adamović
096e8cc4d7
[Backport] Upgrade reactor netty http to v1.0.39 and reactor core to v3.4.34 (#102629)
This PR upgrades the version of reactor-netty-http library to the latest v1.0.39 version
and its transitive dependencies reactor-core to v3.4.34 and reactor-netty-core to v1.0.39.

Backport of #102311

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-11-29 14:59:22 +01:00
Brian Seeders
8cfadd0a2c
Set NEEDRESTART_MODE=l 2023-11-28 17:08:26 -05:00
Ignacio Vera
33cbb8ee23
Add more logging to the real memory circuit breaker and lower minimum interval (#102396) (#102443)
It lowers the minimumInterval from 5000ms to 500ms as we observed high number of CBEs when there are bursting 
allocations in newer JDKs.
2023-11-22 02:44:30 -05:00
Jake Landis
5bb05c343a
Remove verbose debug logger (#102318) (#102421)
This commit removes a debug logger which can be overly verbose.

(cherry picked from commit 19a762b8f5)
2023-11-21 11:18:39 -05:00
Ryan Ernst
cd08b1e043
Improve painless error wrapping (#100872) (#102394)
* Improve painless error wrapping (#100872)

Painless sandboxes some errors from Java for which it can recover. These
errors are wrapped within a ScriptException. However, retaining the
error as a cause can be confusing when walking the error chain. This
commit wraps the error so that the real error type does not appear,
but maintains the same error message in xcontent serialized form.

* fix compile
2023-11-20 18:35:16 -05:00
David Turner
4992962f19
[7.17] Unwrap exception more tenaciously in testQueuedOperationsAndBrokenRepoOnMasterFailOver (#102352) (#102368)
* Unwrap exception more tenaciously in testQueuedOperationsAndBrokenRepoOnMasterFailOver (#102352)

There can be more than 10 layers of wrapping RTEs, see #102351. As a
workaround to address the test failure, this commit just manually
unwraps them all.

Closes #102348

* Fixup
2023-11-20 04:08:45 -05:00
Brian Seeders
b45d4c02ea
[ci] Add a way to trigger the entire regular PR pipeline via comment (#102256) (#102263) 2023-11-15 15:48:49 -05:00
Brian Seeders
c4cd840ca0
[ci] Increase memory for BWC steps by moving to n1-standard-32 (#102106) (#102253) 2023-11-15 14:52:53 -05:00
Lorenzo Dematté
4aa517567f
[7.17][doc] Add known issue to all versions affected by GC behaviour change (#102124)
* Added known issue for changes to GC in JDK 20/21

* Updated reference/link
2023-11-14 08:47:37 -05:00
Lorenzo Dematte
803e013533 Prune changelogs after 7.17.15 release 2023-11-14 08:29:41 +01:00
Lorenzo Dematte
1a67f09021 Bump versions after 7.17.15 release 2023-11-14 08:29:05 +01:00
Lorenzo Dematté
e712b31e6f
Update docs for v7.17.15 release (#102077) 2023-11-13 14:51:21 +01:00
Brian Seeders
0b8ecfb437
[ci] Fix build scan annotations on Windows (#101990) (#102028)
(cherry picked from commit f20ae0e363)
2023-11-10 12:07:48 -05:00
David Turner
5ab8599ab1
Protect NodeConnectionsService from stale conns (#101988)
A call to `ConnectionTarget#connect` which happens strictly after all
calls that close connections should leave us connected to the target.
However concurrent calls to `ConnectionTarget#connect` can overlap, and
today this means that a connection returned from an earlier call may
overwrite one from a later call. The trouble is that the earlier
connection attempt may yield a closed connection (it was concurrent with
the disconnections) so we must not let it supersede the newer one.

With this commit we prevent concurrent connection attempts, which avoids
earlier attempts from overwriting the connections resulting from later
attempts.

Backport of #92558
When combined with #101910, closes #100493
2023-11-09 16:13:03 -05:00
David Turner
7d975abbd0
Delay Connection#onRemoved while pending (#101910)
Today we call `Transport.Connection#onRemoved`, notifying any
removed-listeners, when the connection is closed and removed from the
`connectedNodes` map. However, it's possible for the connection to be
closed while we're still adding it to the map and setting up the
listeners, so this now-dead connection will still be found in the
`pendingConnections` and may be returned to a future call to
`connectToNode` even if this call was made after all the
removed-listeners have been called.

With this commit we delay calling the removed-listeners until the
connection is closed and removed from both the `connectedNodes` and
`pendingConnections` maps.

Backport of #92546 to 7.17
Relates #100493
2023-11-09 19:53:16 +00:00
David Turner
e573c1d385
Fail listener on exception in TcpTransport#openConnection (#101907) (#101955)
Today `TcpTransport#openConnection` may throw exceptions on certain
kinds of failure, but other kinds of failure are passed to the listener.
This is trappy and not all callers handle it correctly. This commit
makes sure that all exceptions are passed to the listener.

Closes #100510
2023-11-09 08:09:11 -05:00
David Turner
4d7f28961f
Fail cancelled CS requests without redundant wait for state update (#101905)
Just fail the request right away if it got cancelled.

Backports #96869 to 7.17 Closes #100671

Co-authored-by: Armin Braun <me@obrown.io>
2023-11-08 07:00:12 -05:00
David Turner
8206af4c8f AwaitsFix for #101462 2023-11-03 17:28:11 +00:00
Mark Vieira
8bb7093d0f
Use separate buildkite annotation context for failed build scans (#101740) (#101749) 2023-11-03 10:11:12 -07:00
Brian Seeders
f904dfa96b
[ci] Add rocky-9 to matrix in packaging and platform jobs (#101653) (#101782)
(cherry picked from commit a36156e1e6)
2023-11-03 11:42:55 -04:00
Brian Seeders
9b8fdfc3d5
[ci] Don't run snyk step outside of main dev branches (#101729) (#101746)
(cherry picked from commit c13350cc63)
2023-11-02 17:05:07 -04:00
Brian Seeders
eaf05916b5
[ci] Don't generate CI artifact for nested builds, tweak build scan data (#101690) (#101732)
(cherry picked from commit 367e850da9)
2023-11-02 15:47:58 -04:00
Brian Seeders
60cb462e81
[ci] Migrate branch consistency and protection checks to Buildkite (#101646) (#101737)
(cherry picked from commit dee880a49b)
2023-11-02 15:47:44 -04:00
Volodymyr Krasnikov
5061954284
Fix race condition in SnapshotsService (#101652) (#101688)
* Fix race condition in SnapshotsService

* Update docs/changelog/101652.yaml
2023-11-01 13:30:24 -07:00
Brian Seeders
38d3db5fe9
[ci] Disable intake jobs in Jenkins (#101641) (#101645) 2023-10-31 14:38:36 -04:00
Brian Seeders
62be6f9607
[ci] Migrate third-party tests fully to Buildkite (#101562) (#101565)
(cherry picked from commit 0ff3ae428d)
2023-10-30 15:40:23 -04:00
Benjamin Trent
56eed56152
Clarify that duplicate _name values for queries in the same request is undefined (#101523) (#101559)
relates to: #101480
2023-10-30 15:22:15 -04:00
Brian Seeders
2939c26b57
[7.17] [buildkite] Upload build artifact and add to build scan (#100842) (#100861) 2023-10-30 13:13:01 -04:00
Benjamin Trent
8196483590
Updating percolate query docs to account for custom similarity limitation (#101386) (#101442) 2023-10-27 07:12:21 -04:00
Brian Seeders
42635c5d3c
[ci] Disable remaining periodic jobs in Jenkins, except third-party tests (#101403) (#101407)
(cherry picked from commit e89d245d53)
2023-10-26 16:21:57 -04:00
Mark Vieira
0aa8cda01f
Update IronBank docker image base to ubi:9.2 (#101393) (#101402)
# Conflicts:
#	distribution/docker/src/docker/Dockerfile
#	distribution/docker/src/docker/iron_bank/hardening_manifest.yaml
2023-10-26 15:48:59 -04:00
Athena Brown
36e5d261b9
Unmute PkiAuthDelegationIntegTests (#101280) (#101351)
These tests were muted both at the suite level as well as at the test level
for reasons I don't fully understand, and then were unmuted at one level
but not the other. They don't appear to fail after a few thousand runs,
so this PR unmutes them the rest of the way.
2023-10-25 17:51:31 -04:00
Brian Seeders
5847af2b18
[ci] Remove unused jjbb variable (#101343)
(cherry picked from commit 91e5259f74)
2023-10-25 14:27:01 -04:00
Mark Vieira
51d907b636
[7.17] Include branch information in build scans for buildkite jobs (#101284) (#101290)
* Include branch information in build scans for buildkite jobs (#101284)

# Conflicts:
#	build-tools-internal/src/main/groovy/elasticsearch.build-scan.gradle

* Align with other branches
2023-10-24 18:36:28 -04:00
Rene Groeschke
ac783bb685
Update bundled JDK to 21.0.1 (#101133) (#101228)
* Update docs/changelog/101133.yaml

(cherry picked from commit f0ef872c2c)
2023-10-24 16:05:08 +02:00
Brian Seeders
c1db0bf06b
[ci] Disable periodic java-matrix, java-fips-matrix, and bwc jobs in Jenkins (#101234) (#101244)
(cherry picked from commit 6e6e85d0b4)
2023-10-23 16:24:20 -04:00