https://github.com/elastic/elasticsearch

sort by:
Revision Author Date Message Commit Date
231b616 Improve security-crypto threadpool overflow handling (#111369) (#111567) Prior to this PR, when the security-crypto threadpool queue overflows and rejects API key hashing submissions, a toxic value (specifically, a future which will never be completed) is added to the API key auth cache. This toxic cache value causes future authentication attempts with that API key to fail by timeout, because they will attempt to wait for the toxic future, until that value is invalidated and removed from the cache. Additionally, this will hold on to memory for each request that waits on the toxic future, even after the request has timed out. This PR adds a unit test to replicate this case, and adjusts the code which submits the key hashing task to the security-crypto threadpool to properly handle this point of failure by invalidating the cached future and notifying waiting handlers that the computation has failed. 05 August 2024, 20:05:45 UTC
cefd96d Fix NullPointerException in shard snapshot code (#111524) Fixing a NullPointerException by instead throwing ShardNotFoundException when the IndexShard is null/gone. 05 August 2024, 12:57:45 UTC
02851fc Check the scale before converting xcontent long values, rather than the absolute value (#111538) (#111584) Large numbers are rejected, small numbers rounded to zero (if rounding enabled) 05 August 2024, 11:38:58 UTC
3301105 Prune changelogs after 7.17.23 release 01 August 2024, 14:26:28 UTC
d2c120d Bump versions after 7.17.23 release 01 August 2024, 14:25:01 UTC
dce6e00 Finalize release notes for v7.17.23 30 July 2024, 19:41:51 UTC
02790fd Update docs for v7.17.23 release (#111375) 29 July 2024, 08:02:54 UTC
61d7646 [7.17] Make docker packaging test more resilient (#111205) (#111209) * Make docker packaging test more resilient (#111205) Wrap check for container shutdown log message in an `assertBusy()` to deal with race conditions. Closes #111132 # Conflicts: # muted-tests.yml # qa/os/src/test/java/org/elasticsearch/packaging/test/DockerTests.java * Fix compile issue 23 July 2024, 19:28:16 UTC
0d3f9b7 [7.17] Ignore configs from DistributionDownload plugin and bwc for resolveAllDependencies (#110828) (#110837) * Ignore configs from DistributionDownload plugin and bwc for resolveAllDependencies (#110828) skip resolving toolchains 23 July 2024, 10:33:57 UTC
aabe0a3 Don't run BWC plugin setup tests on Windows (#111166) 22 July 2024, 20:59:03 UTC
0c472eb Cleanup repository after adding accidental files to PR (#111108) (#111109) With https://github.com/elastic/elasticsearch/pull/110109 i accidentally added local files to the repo. This removes them again. 19 July 2024, 17:43:40 UTC
f01427f Update Gradle wrapper to 8.9 (#110109) (#111097) (cherry picked from commit cb0ecb86df8990e70a7185360794b0640e28dffd) 19 July 2024, 13:39:44 UTC
d7cb6e1 Correct force merge disk space requirements (#111066) (#111086) Correct force merge disk space requirements 19 July 2024, 08:56:49 UTC
c364c60 Add runtime classpath as input to ThirdPartyAuditTask (#110882) (#110888) The runtime classpath of `ThirdPartyAuditTask` was not being tracked as an input which can cause issues with task output caching and build avoidance. 15 July 2024, 18:29:06 UTC
a51806a [7.17] [CI] Do not cache any es distros when creating ci images (#110742) (#110746) * [CI] Do not cache any es distros when creating ci images (#110742) (cherry picked from commit 816cedc21773dad5f0898bc97b01d0ad54f4937c) # Conflicts: # qa/os/build.gradle * Update build.gradle 11 July 2024, 14:42:29 UTC
a9e35d2 Fix search template examples by removing params on put (#110660) (#110705) 10 July 2024, 12:02:00 UTC
f1c5807 [CI] Temporally increase disk space for DRA build jobs (#110601) (#110623) (cherry picked from commit fbcde9c0fd40c3f461af0cefe1af6eabe9da5091) 09 July 2024, 07:32:59 UTC
42b93a5 [Test] Unmute S3RepositoryThirdPartyTests.testCreateSnapshot The test failed due to infrastructure issue which seems to disappears based on the success runs on the main branch. Relates: #110093 27 June 2024, 00:48:24 UTC
4d9169f Make Ccs old version remote cluster setup lazy (#110106) * Rework test cluster setup to be lazy in ccs-old-version-remote-cluster 24 June 2024, 20:33:52 UTC
ccf8734 AwaitsFix: https://github.com/elastic/elasticsearch/issues/110093 24 June 2024, 13:22:03 UTC
5022d5a (Doc+) Capture Elasticsearch diagnostic (#108259) (#110069) * (Doc+) Capture Elasticsearch diagnostic * add diagnostic topic to nav, chunk content, style edits * fix test --------- Co-authored-by: shainaraskas <shaina.raskas@elastic.co> (cherry picked from commit 1a55e2fa76b938f9a354daa2d8c64f0c86db2077) Co-authored-by: Stef Nestor <26751266+stefnestor@users.noreply.github.com> 21 June 2024, 22:51:20 UTC
34e0a78 Update intake.yml 21 June 2024, 16:12:30 UTC
d2e334b [ci] Bump disk size for agents to 250GB (#109975) (#109977) 20 June 2024, 14:47:54 UTC
bb4108e Install systemd-sysvcompat package on opensuse systems (#109885) The `systemd-sysv-install` utility is now provided by the `systemd-sysvcompat` package. Ensure it's installed when running packaging tests. Closes #109831 18 June 2024, 22:05:38 UTC
1e0b614 [7.17] Update Gradle wrapper to 8.8 (#108021) (#109348) Fix incompatibility with 8.8 and our internal api usages - Update ospackage to a version that contains a fix we provided - Tweak build logic to avoid deprecation warnings - Use newer permission api - Use custom shadowplugin - Rework ElasticsearchDistribution dependencies resolution - Update Gradle wrapper to 8.8 - Fix one more deprecated permission api usage - Fix DistroTest dependencies - Fix permissions in package init.d folder 18 June 2024, 14:45:31 UTC
07296d5 Respect --pass option in certutil csr mode (#109834) elasticsearch-certutil csr generates a private key and a certificate signing request (CSR) file. It has always accepted the "--pass" command line option, but ignore it and always generated an unencrypted private key. This commit fixes the utility so the --pass option is respected and the private key is encrypted. Backport of: #106105 18 June 2024, 04:42:03 UTC
de87788 Mute org.elasticsearch.packaging.test.CertGenCliTests test40RunWithCert #109831 17 June 2024, 21:23:33 UTC
551011c [DOCS] Clarify behavior of the generic `data` node role (#106375) (#109692) (cherry picked from commit 82d7e4ec937a59620c535b18ae9e403ddfcc7525) 13 June 2024, 19:05:01 UTC
78d6034 change from string to array in example (#109263) (#109700) (cherry picked from commit d12a31830408e3c33da50e23cf8a82ecc81ff292) 13 June 2024, 19:04:17 UTC
fae0a87 Finalize release notes for v7.17.22 13 June 2024, 15:33:56 UTC
92d9b7d Prune changelogs after 7.17.22 release 13 June 2024, 15:16:30 UTC
10670ce Bump versions after 7.17.22 release 13 June 2024, 15:15:24 UTC
4aafcb6 Extend assertion expiry in SAML auth tests (#109652) Sometimes buildkite seems to swallow time. This commit extends some of the authentication/session expiry times to compensate. Relates: #109299 Backport of: #109607 13 June 2024, 00:48:45 UTC
5f6932c Unmute SamlAuthenticatorTests (#109608) Relates: #109607 Resolves: #109299 13 June 2024, 00:44:36 UTC
0063284 Reintroduce 7.17 Backport for DLS changes (#109494) * Reapply "[7.17] Backport DLS changes (#108330)" (#109349) This reverts commit 692a1a24480ca99aa2198190d6ac1b8a2354d433. * re-implement excludeDeleteDocs as hack * Revert "re-implement excludeDeleteDocs as hack" This reverts commit 60060316920e17b5cdb14bb1d4dab34128d5c7c8. * re-implement serialization with metadata * use correct xContent * fix unmodifiable exception * [review comments] use constant and underscore prefix 12 June 2024, 23:05:25 UTC
0d00681 Avoid port-scan in testThatTransportClientCanConnect (#109590) 300 concurrent connection attempts, each with a 30s timeout, will take way longer than is reasonable in a test. With this commit we connect directly to addresses to which we know nodes are bound. 12 June 2024, 07:59:42 UTC
9021686 Address MappingIT#testMapperDynamicIndexSetting() test failure (#109479) This is a 7.17 rolling upgrade test. During upgrade health may be yellow, because due to shard relation on old node the shard can't be allocated due to the bug. Also ensure each node in the cluster has a copy. Closes #109455 10 June 2024, 07:29:56 UTC
60c36c0 AwaitsFix: https://github.com/elastic/elasticsearch/issues/109455 06 June 2024, 20:57:08 UTC
38e9ca2 Mute org.elasticsearch.transport.netty4.Netty4TransportMultiPortIntegrationIT org.elasticsearch.transport.netty4.Netty4TransportMultiPortIntegrationIT #109400 05 June 2024, 16:10:18 UTC
5e2fac3 Add remove index setting command (#109276) (#109328) The new subcommand elasticsearch-node remove-index-settings can be used to remove index settings from the cluster state in case where it contains incompatible index settings that prevent the cluster from forming. This tool can cause data loss and its use should be your last resort. Relates #96075 04 June 2024, 16:07:22 UTC
692a1a2 Revert "[7.17] Backport DLS changes (#108330)" (#109349) This reverts commit 4e08df5 (#108330) This commit also fixes #109273 in 7.17. 04 June 2024, 15:20:58 UTC
5d80ef6 Added known issue section for the index.mapper.dynamic index setting bug. (#109292) Relates to #109160 and #96075 04 June 2024, 08:59:44 UTC
da4cec7 Add rolling upgrade test for the index.mapper.dynamic index setting bug. (#109301) This is for 7.17 branch only. The test in main branch would be a little bit different. Relates to #109160 and #96075 04 June 2024, 07:36:21 UTC
4e08df5 [7.17] Backport DLS changes (#108330) This commit introduced stricter DLS rules and is a manual backport of #105709 and #105714 with additional node level settings to optionally disable the stricter DLS rules. Since these settings are not present in 8.x the needed deprecation info API entries have also been added to help inform any users that may have set these values to remove them before upgrading. 03 June 2024, 15:58:38 UTC
7fe654b AwaitsFix: https://github.com/elastic/elasticsearch/issues/109299 03 June 2024, 13:58:52 UTC
e2ee2a0 Update docs for v7.17.22 release (#109186) 29 May 2024, 21:43:43 UTC
7ebb32d Guard bootstrap plugins loading from detecting plugins cache (#109116) This commit guards iteration over plugin infos from mistakenly trying to inspect the plugins cache file as a plugin. closes #97702 29 May 2024, 17:16:44 UTC
e4ef0ff Disable index.mapper.dynamic index setting validation. (#109160) This setting was removed via #25734, because the setting no longer used since 6.0.0 However, the validation only kicked when trying to set this setting on a closed index. Applying the setting on an open index would just work. With severe consequences later on. For example when upgrading the cluster, nodes would refuse to boot, because the validation would kick in. Relates to #96075 29 May 2024, 13:42:28 UTC
6f20cba Update bundled JDK to Java 22 (again) (#108654) (#108689) * Update bundled JDK to Java 22 (again) (#108654) This commit re-bumps the bundled JDK to Java 22 now that we have a tested workaround for the G1GC bug (https://bugs.openjdk.org/browse/JDK-8329528). relates #108571 relates #106987 * copy main openjdk toolchain resolver * use 2 lines for workaround * fix test * update adoptium test 16 May 2024, 14:18:18 UTC
ad03ad6 [7.17] Increase interval for task change interval check to prevent stalls failing the test (#94145) (#108667) Backport #94145 to 7.17 15 May 2024, 09:49:55 UTC
101bebe Workaround G1 bug for JDK 22 and 22.0.1 (#108571) (#108631) See https://bugs.openjdk.org/browse/JDK-8329528. The applied workaround was suggested on the linked issue, and was tested and confirmed to avoid the G1 bug. 14 May 2024, 16:48:48 UTC
b6dad2b 2 @Before methods, not a good idea (#108502) Fixes IpFilterRemoteAddressFilterTests testThatFilteringWorksByIp. There were 2 "@ Before"-annotated methods that didn't play well together. Fixes: #108441 13 May 2024, 10:01:22 UTC
572ce11 AwaitsFix #108441 09 May 2024, 23:54:27 UTC
2a327b1 [DOCS] Fix stored_fields parameter description (#98385) (#108445) (#108447) (referenced from get and multi_get API docs) Closes #98385 09 May 2024, 07:43:07 UTC
8539583 AwaitsFix: https://github.com/elastic/elasticsearch/issues/108441 08 May 2024, 21:48:30 UTC
ad9470b Add note about license to "Restore an Entire Cluster" docs (#87485) (#108437) One user reached out mentioning that it would be a good idea to remind users to re-upload the license after full cluster recovery from snapshot as one can easily miss this when trying to figure out why some features aren't working after the restore. (cherry picked from commit 295fba33d888c612456857bac14c2ac06c97fd46) Co-authored-by: Rafi Estrada <62263912+TheRiffRafi@users.noreply.github.com> 08 May 2024, 21:23:38 UTC
766ba1c [7.17] Align all usages of protobuf to be 3.21.9 (#95431) Updating repository-hdfs, repository-gcs, and vector-tile to all use the same more recent protobuf. Co-authored-by: Keith Massey <keith.massey@elastic.co> 08 May 2024, 20:59:53 UTC
9df8e28 [7.17] Fix lingering license warning header (#108408) * Backport done * Get port range * Fix code license 08 May 2024, 13:12:19 UTC
6042942 [7.17] Fix Netty4TransportMultiPortIntegrationIT#testThatTransportClientCanConnect (#108112) #103894 increased the range of available client ports on Windows for a node, but didn't update the range of ports that the transport client test iterates through in trying to connect to the node. Both test failures reported in #107757 happened on Windows machines. See #103894 Resolves #107757 07 May 2024, 13:51:16 UTC
8474043 upgrade bouncy castle (non-fips) to 1.78.1 (#108223) (#108274) 03 May 2024, 22:40:35 UTC
1fdf12b Finalize release notes for v7.17.21 03 May 2024, 16:17:24 UTC
aa7635a Prune changelogs after 7.17.21 release 03 May 2024, 15:42:01 UTC
371e4f8 Bump versions after 7.17.21 release 03 May 2024, 15:39:48 UTC
805a708 [ci] Add elastic-agent to Windows jobs (#108157) (#108199) (cherry picked from commit 164bac0654473d681035cf13b42a6edcff4853a4) 02 May 2024, 14:38:47 UTC
36522d5 Update docs for v7.17.21 release (#108029) 02 May 2024, 13:47:00 UTC
47f6616 [ci] Move BWC to spot instances, shrink packaging-test-unix instances (#108111) (#108153) 01 May 2024, 20:28:54 UTC
91f217c Backport #107481 to 7.17 (#108003) Block specific config files from being accessed after startup (#107481) Some files should never be accessed by ES or plugin code once startup has completed. Use the security manager to block these files from being accessed by anything at all. The current blocked files are elasticsearch.yml, jvm.options, and the jvm.options.d directory. 30 April 2024, 14:02:35 UTC
b1da2e3 Adding docs about scaled_float saturation with long values (#107966) (#108087) (cherry picked from commit 67748cf616a17793ae2e559cc2bd90841295841c) 30 April 2024, 13:59:32 UTC
1567c79 [7.17] Fix hostname issues in Amazon Linux 2 (#107907) 29 April 2024, 19:25:22 UTC
c24f611 Move muted tests file and allow for additional files to be configured (#107916) (#108035) Some refactoring to the muted tests plugin to better support usage in a composite build configuration. # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/MutedTestPlugin.java # build-tools/src/testFixtures/groovy/org/elasticsearch/gradle/fixtures/AbstractGradleFuncTest.groovy 29 April 2024, 18:16:57 UTC
d38e4b0 [ci] Shrink platform-support Windows instances (#107912) (#107927) (cherry picked from commit ed81cb59f80c9d767c12c2eec5809faadc1ecba2) 25 April 2024, 20:58:45 UTC
4d8dfb8 Reintroduce Java 22 testing to the matrix 23 April 2024, 15:03:30 UTC
52fb2db [ci] Add Buildkite metrics/logs links to buildscans (#107719) (#107728) (cherry picked from commit 1100689b502f1196d05a189bc76dd0f92c78be15) 22 April 2024, 21:38:03 UTC
99a68a8 SQL: Fix JdbcPreparedStatementIT.testDatetimeWithNanos (#107629) (#107687) Fixes #105677 22 April 2024, 12:02:03 UTC
9b58752 [7.17] Muted test automation (#106784) (#107638) * Muted test automation (#106784) # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java # build-tools/src/testFixtures/groovy/org/elasticsearch/gradle/fixtures/AbstractGradleFuncTest.groovy * Spotless --------- Co-authored-by: Brian Seeders <brian.seeders@elastic.co> 18 April 2024, 19:02:15 UTC
b65a3d0 SQL: Limit how much space some string functions can use (#107333) (#107632) * SQL: Limit how much space some string functions can use (#107333) This will check and fail if certain functions would generate a result exceeding a certain fixed byte size. This prevents an operation/query to fail the entire VM. (cherry picked from commit f1bcb338ec79d00396f1e7a6154fe71eef4c80b2) * Fix use of forbidden APIs * Style 18 April 2024, 18:27:37 UTC
2154d32 Remove smart quote in distribution config (#107246) 18 April 2024, 16:51:31 UTC
91f9478 [7.17.20] Update release notes with missing JDK downgrade PR 11 April 2024, 02:42:14 UTC
1f53c92 Bump versions after 7.17.20 release 10 April 2024, 15:54:50 UTC
c1cea7b [7.17] [DOCS] Expands the list of possible values of the result parameter of the bulk API. (#107265) (#107278) * [DOCS] Expands the list of possible values of the result parameter of the bulk API. (#107265) (cherry picked from commit c50fcb95edc7ee9e9a687b56681098ec03518c4b) * Apply suggestions from code review 09 April 2024, 16:02:11 UTC
9ac6e4f Finalize release notes for v7.17.20 08 April 2024, 15:09:36 UTC
2bcdecd Update docs for v7.17.20 release (#107171) 08 April 2024, 15:07:55 UTC
b26557f Update 7.17.19 known issues with JDK 22 bug / recommendation to downgrade (#107165) 05 April 2024, 17:15:40 UTC
ed09ff5 [7.17.20] Downgrade the bundled JDK to JDK 21.0.2 (#107142) This commit downgrades the bundled JDK to JDK 21.0.2. 05 April 2024, 14:31:43 UTC
8ce680f Mute SamlAuthenticationIT on 7.17 branch (#106993) 02 April 2024, 12:51:40 UTC
7242b41 Remove redundant testing of Java 22 (#106943) (cherry picked from commit af8de04156f7d767cda17fbeaa7e14358f817d52) 01 April 2024, 15:30:52 UTC
0486bbf Update verifyVersion task after #106143 (cherry picked from commit 392a7599c113bd2cfab90b047561f6c8f1acb518) 27 March 2024, 22:37:40 UTC
666e8f1 Reduce BWC testing to include only latest patch releases (#106143) This commit alters our backward compatibility testing logic to restrict testing to the latest patch release for any given minor version. Since our policy is not to do any kind of breaking changes in patches, most of this testing is superfluous. This change reduces the number of versions we need to test by over 70%. (cherry picked from commit b1e4407c0a0118d0cdb38236d3b1ad38409709cd) 27 March 2024, 22:37:36 UTC
fba27de Prune changelogs after 7.17.19 release 26 March 2024, 20:01:58 UTC
af2c523 Bump versions after 7.17.19 release 26 March 2024, 20:00:24 UTC
3a15457 Finalize release notes for v7.17.19 26 March 2024, 16:59:03 UTC
09576c4 Update docs for v7.17.19 release (#106781) 26 March 2024, 16:58:31 UTC
eb0e1ad Update Gradle wrapper to 8.7 (#105854) (#106722) removed tiny issue on build script that seems like an oversight and doesn't do anything at all (cherry picked from commit c15f727f2d86cc82febc4e3efce9d45b8e53f2c0) # Conflicts: # x-pack/plugin/ent-search/build.gradle 26 March 2024, 07:33:29 UTC
af40285 Fix 'functionalTests' task 25 March 2024, 15:57:54 UTC
009950d Fix testScheduledFixedDelayRejection (#106630) (#106643) Not really necessary to allow the scheduled task to race against the blocks, and this race is a source of test flakiness. Fixed by imposing the blocks first. Closes #106618 22 March 2024, 08:47:15 UTC
d74e9f8 AwaitsFix for #106618 21 March 2024, 16:44:38 UTC
92f290e Relax cleanup check in SnapshotStressTestsIT (#106569) We can't assert no leaked blobs here because today the first cleanup leaves the original `RepositoryData` in place so the second cleanup is not a no-op. Relates #100718 Backport of #100855 to 7.17 20 March 2024, 17:08:42 UTC
ff776e4 Force execution of `SearchService.Reaper` (#106555) If the search threadpool fills up then we may reject execution of `SearchService.Reaper` which means it stops retrying. We must instead force its execution so that it keeps on going. With #106542, closes #106543 Backport of #106544 to 7.17 20 March 2024, 15:34:45 UTC
a86aacd Integrate threadpool scheduling with `AbstractRunnable` (#106552) Today `ThreadPool#scheduleWithFixedDelay` does not interact as expected with `AbstractRunnable`: if the task fails or is rejected then this isn't passed back to the relevant callback, and the task cannot specify that it should be force-executed. This commit fixes that. Backport of #106542 to 7.17 20 March 2024, 15:08:24 UTC
59f0e6f [Test] Fix SslMultiPortTests by increasing the number of ephemeral ports on windows (#106540) This PR increases client's port ranges for tests which are executed on Windows in order to avoid failures due to some port ranges being excluded from use. The larger ports range (300) is chosen based on the observation where a random consecutive range of 200 ports can be excluded on Windows test workers. Relates to https://github.com/elastic/elasticsearch/pull/103894, which fixed similar issues but this one seems to have been missed. Resolves: https://github.com/elastic/elasticsearch/issues/106537 20 March 2024, 12:28:03 UTC
back to top