https://github.com/elastic/elasticsearch

sort by:
Revision Author Date Message Commit Date
1f62092 [DOCS] Add placeholder for 6.8.16 release notes (#73202) 18 May 2021, 13:44:26 UTC
778b7fa Make JOB_BRANCH environment variable in CI optional 11 May 2021, 22:42:49 UTC
103f38c Use updated environment variable for branch build scan metadata 10 May 2021, 17:52:30 UTC
eea1c74 Revert "Use updated environment variable for branch build scan metadata" This reverts commit e3f9144a 10 May 2021, 17:51:01 UTC
e3f9144 Use updated environment variable for branch build scan metadata 10 May 2021, 17:48:37 UTC
2bbc866 Add job branch environment variable 10 May 2021, 16:23:10 UTC
a8b967f [Test] Mute more TLSv1 tests The latest JDK releases disable TLSv1 and TLSv1.1 by default and the related tests always fail. See https://github.com/elastic/elasticsearch/issues/72877 for more details. 10 May 2021, 10:49:06 UTC
dda8da1 Update joda dependency to latest 2.10.10 backport(#72052) (#72490) Latest JDKs are shipping with timezone data 2021a which is also included in latest joda. In order to have the timezone information consistent in both joda and java.time joda dependnecy has to be updated closes #72028 10 May 2021, 08:23:17 UTC
2447b85 Ensure PR builds checkout the correct commit 07 May 2021, 07:48:38 UTC
d455c87 Add missing env var to generic build template 07 May 2021, 07:36:51 UTC
6e85596 Fix SCM configuration for pull request jobs 07 May 2021, 06:48:54 UTC
694d50e Add Java 8 home environment variable 07 May 2021, 06:24:38 UTC
ec5749c Limit BWC periodic job to compatible CI worker 07 May 2021, 06:18:28 UTC
82108a7 Remove rest compat tests from platform support matrix job 07 May 2021, 00:12:03 UTC
5e8bcde Move CI job configuration to elasticsearch repository 07 May 2021, 00:05:10 UTC
4d76163 [Test] Mute TLSv1 warning test The latest JDK releases disabled TLSv1 and this test will always fail. See #72396 for more details. 06 May 2021, 02:21:18 UTC
6631a98 [TEST] Updated smoke test JDK's trusted certs (#72594) The list of trusted CAs in the latest OpenJDK builds has changed: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8243559 This PR updates the default jdk trust config smoke test. Closes #71717 04 May 2021, 11:19:37 UTC
58b0970 Mute test for keystore wrapper in jdk8 (#72592) 01 May 2021, 13:53:19 UTC
7d707f1 Mute DateUtilsTests#testTimezoneIds 27 April 2021, 13:43:00 UTC
bb42a47 Validate IP filter settings (#72199) Today it is possible to set up an IP filter which throws an exception on creation, which is fatal to the cluster. This commit adds validation to the IP filtering settings to prevent this. Closes #72192 Backport of #72195 to 6.8 26 April 2021, 08:42:29 UTC
4d7c8c8 Handle failure to get remote client in unfollow (#71928) We remove the retention leases from the leader cluster after processing the cluster state update in the unfollow action, but today we assume that we're still connected to the leader cluster when doing so. If the leader cluster has been removed then `Client#getRemoteClusterClient` throws an exception, which means the listener is never notified of the failure. This commit addresses this by catching the exception, logging a warning, and routing the exception back to the client. Closes #71885 20 April 2021, 14:43:35 UTC
e9f2c21 Avoid return negative value in CounterMetric (#71446 ) A CounterMetric is used to track the number of completed and outstanding items, for example, the number of executed refreshes, the currently used memory by indexing, the current pending search requests. In all cases, the current count of CounterMetric is always non-negative. However, as this metric is implemented using a LongAdder, the returned count is NOT an atomic snapshot; invocation in the absence of concurrent updates returns an accurate result, but concurrent updates that occur while the sum is being calculated might not be incorporated. We can replace LongAdder with AtomicLong, but this commit chooses to continue using LongAdder but returns 0 when the sum value is negative. Relates #52411 Closes #70968 14 April 2021, 02:26:38 UTC
f14e5f4 Fix scroll contexts counter in SearchService (#71354) The scroll context counter can be negative even become Integer.MAX_VALUE after handling many search requests. This bug causes two issues: - Disable the limit of open scroll contexts when the counter is negative - Prevent opening new scroll contexts when the counter is greater than the limit of open scroll contexts Relates #53449 Closes #56202 07 April 2021, 14:56:45 UTC
5d0321c [DOCS] Rename ES Reference to ES Guide (#71198) 01 April 2021, 19:45:55 UTC
97419ca Update CI BWC versions 24 March 2021, 17:42:53 UTC
6601d41 Fix 6.8.15 release version identifier 23 March 2021, 22:04:26 UTC
5ae68cc Bumping version numbers for 6.8.15 release 23 March 2021, 21:35:05 UTC
26dd4d9 [DOCS] Remove double space 23 March 2021, 21:24:10 UTC
fbf65f3 [DOCS] Added security updates to the 6.8.15 release notes (#70782) * [DOCS] Added security updates to the 6.8.15 release notes * Fixed CVE number 23 March 2021, 20:15:48 UTC
12774bc [DOCS] Remove 6.8.15 coming tag (#70663) 23 March 2021, 13:43:06 UTC
d4577d2 [DOCS] Add 6.8.15 release notes (#70729) 23 March 2021, 13:15:53 UTC
16e9815 [DOCS] Add stub for 6.8.15 release notes (#70636) 22 March 2021, 13:36:19 UTC
c9a8c60 [DOCS] Fix case sensitivity for Elision token filter 03 March 2021, 14:23:01 UTC
4cd6c6c Fix CI build GCP log upload URL in build scans (cherry picked from commit af930a7e1048814e7392b72cf455a80833fb743c) 24 February 2021, 18:04:46 UTC
111afab Improve shard level request cache efficiency (#69505) (#69522) Shard level request cache is improved to work correctly at all time. Also ensure profiling and suggester are properly disabled when not supported. 24 February 2021, 11:23:29 UTC
0d8d346 Remove mention of repositories.s3.base_path in doc (#69516) We removed the global `repositories.s3.base_path` setting in 6.0 but it is still mentioned in the docs for the S3 repository plugin. This commit removes it from the docs. Relates #24445 24 February 2021, 09:15:17 UTC
fce5207 Fix test LdapSessionFactoryTests testSslTrustIsReloaded (#69001) LdapSessionFactoryTests#testSslTrustIsReloaded relies on the resource watcher to detect the cert file overwriting. Resource watcher detects changes by only inspecting the file size on disk and the last access timestamp. For the last access timestamp, the resolution can be as low as one second depending on the JDK and the FS type. It is thus preferable to rely on file size differences in tests. Closes #68995 16 February 2021, 10:10:10 UTC
52da411 [6.8] Renew samba fixture expired test certificates (#68985) (#68991) Renew our smb-fixture expired test certificates that are in use in the fixture and in various tests for LDAP and AD. Add a README file for how these certificates can be renewed in the future, when the need arises again. 15 February 2021, 17:42:45 UTC
facdf64 Mention CVE-2020-7021 under 6.8.14 release notes 10 February 2021, 20:58:17 UTC
e513dbe Bump version to 6.8.15 10 February 2021, 17:27:16 UTC
edad275 [DOCS] Remove 6.8.14 coming tag (#68779) 10 February 2021, 14:42:18 UTC
82ff198 Add release notes for 6.8.14 (#68796) Co-authored-by: Lisa Cawley <lcawley@elastic.co> 10 February 2021, 03:40:00 UTC
741f657 [DOCS] Add 6.8.14 ml-cpp PRs to release notes (#68682) 08 February 2021, 17:26:57 UTC
b865f64 [6.8] Backport fixes for memory reporting issues (#68554) * Report used memory as zero when total memory cannot be obtained * Do not report negative values for swap sizes (#57324) Co-authored-by: Dan Hermann <danhermann@users.noreply.github.com> 04 February 2021, 22:23:55 UTC
dab5822 Remove deprecation log file check in 6.8 (#67465) This test has been muted for a very long time, yet the underlying cause is still unknown, but it only occurs in 6.8. This commit removes the failing portion of the test so that we have some coverage. closes #35990 15 January 2021, 19:03:25 UTC
2f07e90 Fix AllocationIdIT test failure on WindowFS (#67179) This test failed on WindowsFS. We failed to remove the corrupted file if it's being opened (for a short window by ListShardStore action) and the pending delete files were clear when we restarted that node. This commit fixes the issue by shutting down the node before removing the corrupted file to avoid any access to that file. Closes #66893 13 January 2021, 21:15:53 UTC
dad1e91 Extend the selective muting of memory tests on Debian 8 (#67456) The selective muting implemented for autoscaling in #67159 is extended to the ML tests that also fail when machine memory is reported as 0. Most of the logic to determine when memory will not be accurately reported is now in a utility method in the base class. Relates #66885 Backport of #67422 13 January 2021, 16:55:09 UTC
ef6f94f [6.8] Backport some fixes to CharArraysTest#testConstantTimeEquals() (#67168) * Ensure char array test uses different values (#47238) The test of constantTimeEquals could get unlucky and randomly produce the same two strings. This commit tweaks the test to ensure the two string are unique, and the loop inside constantTimeEquals is actually executed (which requires the strings be of the same length). * Fix CharArraysTests.testConstantTimeEquals() (#47346) The change #47238 fixed a first issue (#47076) but introduced another one that can be reproduced using: org.elasticsearch.common.CharArraysTests > testConstantTimeEquals FAILED java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at __randomizedtesting.SeedInfo.seed([DFCA64FE2C786BE3:ED987E883715C63B]:0) at java.lang.String.substring(String.java:1963) at org.elasticsearch.common.CharArraysTests.testConstantTimeEquals(CharArraysTests.java:74) REPRODUCE WITH: ./gradlew ':libs:elasticsearch-core:test' --tests "org.elasticsearch.common.CharArraysTests.testConstantTimeEquals" -Dtests.seed=DFCA64FE2C786BE3 -Dtests.security.manager=true -Dtests.locale=fr-CA -Dtests.timezone=Pacific/Johnston -Dcompiler.java=12 -Druntime.java=8 that happens when the first randomized string has a length of 0. Co-authored-by: Ryan Ernst <ryan@elastic.co> Co-authored-by: Tanguy Leroux <tlrx.dev@gmail.com> 07 January 2021, 18:05:52 UTC
3b4ab52 Fix missing `QuotaPath.unwrap()` instances (#67165) Closes #67164. There were a couple of places in `QuotaAwareFileSystemProvider` where the supplied paths were not being unwrapped back into platform-specific path objects. 07 January 2021, 17:14:28 UTC
b0cfc82 Mute RolloverIT testRolloverWithDateMath (#66875) Relates to #66874 29 December 2020, 20:00:12 UTC
81b0b16 [DOCS] Fix typo (#66779) Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> 23 December 2020, 13:58:36 UTC
962b11b Mute tests failing on Debian 8 due to memory reporting (#66648) See https://github.com/elastic/elasticsearch/issues/66629 for details 18 December 2020, 22:35:35 UTC
118c6a1 Fix constructors of NoOpResult (#66269) 16 December 2020, 18:28:05 UTC
f27e7c6 Fix expectations in SearchAfter integration tests (#48372) This commit fixes the expectations of SearchAfterIT#shouldFail regarding the inner exceptions that should be thrown when testing failures. The exception is sometimes wrapped in a QueryShardException so this change only checks that the toString representation contains the expected message. Closes #43143 16 December 2020, 14:34:44 UTC
5ca5987 Give a less dangerous example of logger config (#66318) Today the docs use `logger.org.elasticsearch.transport: TRACE` as the example for adjusting the logger config. This is a dangerous thing to suggest since that's one of the most verbose loggers we have. An accidental copy-and-paste of this example into a busy cluster can cause damage. This commit suggests `logger.org.elasticsearch.discovery: DEBUG` instead, which is much more benign. 15 December 2020, 17:21:12 UTC
d6d022d Fix TranslogTests#testStats (#66227) If creating the latest translog file and retrieving a translog stats happen within the same millisecond, then the earliestLastModifiedAge will be zero. Closes #66092 13 December 2020, 15:59:23 UTC
758a2ab CCR should check historyUUID in every read request (#65841) Today, CCR only checks the historyUUID of the leader shard when it has operations to replicate. If the follower shard is already in-sync with the leader shard, then CCR won't detect if the historyUUID of the leader shard has been changed. While this is not an issue, it can annoy users in the following situation: 1. The follower index is in-sync with the leader index 2. Users restore the leader index from snapshots 3. CCR won't detect the issue and report ok in its stats API 4. CCR suddenly stops working when users start indexing to the leader index 5. This commit makes sure that we always check historyUUID in every read-request so we can detect and report the issue as soon as possible. Backport of #65841 13 December 2020, 02:15:44 UTC
e6276e8 Stop serialising licensed flag 07 December 2020, 10:57:59 UTC
1d9d6db Introduce licensed plugins (#65490) Backport of #64850. This PR introduces the concept of "licensed" plugins. Such plugins may only be installed on installations of the default distribution, and this is enforced by the plugin installer. This PR also moves the `quote-aware-fs` plugin to the `x-pack` directory, and marks it as licensed. Note that I didn't move the plugin source under `x-pack/plugin` because all the existing x-pack plugins are actually bundles as modules into the default distribution, whereas the `quota-aware-fs` plugin needs to remain a standalone plugin. 04 December 2020, 09:33:15 UTC
04d7f6b Ensure notify when proxy connections disconnect (#65697) TransportService doesn't respond to the pending requests of proxy connections when the underlying connections get disconnected because proxy connections do not override the getCacheKey method. Some CCS requests would never be completed because of this bug. 03 December 2020, 22:03:34 UTC
0cd5506 Always use "elasticsearch" as Gradle project name (#65709) 02 December 2020, 17:30:01 UTC
4afc78e Fix TranslogTests.testTotalTests when n=0 (#65632) When n=0 in TranslogTests.testTotalTests we never update earliestLastModifiedAge so it fails comparison with default value of total.getEarliestLastModifiedAge() which is 0. In this change we always check this special case and then select n>0 Closes #65629 30 November 2020, 23:33:23 UTC
a4e3c68 Fix the earliest last modified age of translog stats (#64753) Currently translog's `earliest_last_modified_age` field is always 0 in `_nodes/stats` response. 30 November 2020, 22:35:53 UTC
2eee124 Extend the interval date comparison (#65361) 23 November 2020, 13:54:15 UTC
f544be0 Reimplement QuotaAwarePath.toFile() (#65191) An issue was observed where calling `QuotaAwarePath.toFile()` caused `UnsupportedOperationException: Path not associated with default file system.` Replacing the implementation with that of the interface's default implementation in a later JDK prevents the exception. As to why, I suspect that whatever implementation was being called before, or the location of that code, caused an incorrect default filesystem to be picked for comparison. 19 November 2020, 19:49:05 UTC
4bf4614 Stop renew retention leases when follow task fails (#65168) If a shard follow-task hits a non-retryable error and stops, then we should also stop the retention-leases renewal process associated with that follow-task. 18 November 2020, 20:54:37 UTC
767003c [DOCS] Remote reindex is not fwd compatible (#65207) 18 November 2020, 17:38:58 UTC
03a48f9 [DOCS] Note remote reindex is not fwd compatible (#60425) 18 November 2020, 14:23:27 UTC
9082d4f Increase timeout in testCleanUpShardFollowTasksForDeletedIndices (#64562) If the deleted index has N shards, then ShardFollowTaskCleaner can send N*(N-1)/2 requests to remove N shard-follow tasks. I think that's fine as the implementation is straightforward. The test failed when the deleted index has 8 shards. This commit increases the timeout in the test. Closes #64311 10 November 2020, 17:21:44 UTC
fb582dd Use no-kpi subdomains for tests downloading artifacts (#64502) (#64749) This commit converts build code that downloads distributions or other artifacts to use the new no-kpi subdomain, and removes the formerly used no-kpi header. 09 November 2020, 23:11:45 UTC
0d448db Do not wrap can_match searchers (#64742) The can_match phase does not work with frozen indices that have document-level security enabled. Also, we should not wrap can_match searchers to reduce the load during the can_match phase. 08 November 2020, 00:38:45 UTC
ab0f5c0 Require Java 11 for 6.8 compile version (#64556) We lost the ability a while ago to upgrade the java version in 6.8, since we are stuck on a much older version of gradle. Since Java 12 is EOL (past the 6 months original support), it would be good to require an LTS version there. This commit changes the minimum compiler version back down to java 11 instead of 12. 03 November 2020, 22:14:21 UTC
5c75c04 Fix bats tests expected jar version for poi (#64558) This commit fixes the expected version of the poi jar for the attachment plugin, which changed in 6.8. The bats tests no longer existin in 7.x or master, so the fix is only needed here. 03 November 2020, 22:14:01 UTC
088076c Upgrade to version 3.5 of Gradle Enterprise plugin 02 November 2020, 17:20:40 UTC
e8e948e [DOCS] Note heap size must be set to same min and max (#64090) (#64477) Co-authored-by: C.J. Jameson <cjcjameson@users.noreply.github.com> 02 November 2020, 14:23:06 UTC
99d703e Introduce quota-aware filesystem ES plugin (#64331) Partial backport of #63620. Closes #61145. This PR adds a quota-aware filesystem plugin to Elasticsearch. This plugin offers a way to provide user quota limits (specifically, total quota size and available quota size) to Elasticsearch, in an implementation-agnostic manner. 30 October 2020, 19:04:17 UTC
46d8c84 Upgrade bundled jdk to 15.0.1 and switch back to AdoptOpenJDK This commit updates the bundled jdk to 15.0.1, and at the same time once again switches the bundled jdk back to adoptopenjdk, which has fixed their build problem and regained support for glibc 2.12. closes #64026 29 October 2020, 20:19:44 UTC
f70c85d Update getting-started.asciidoc for Java version (#63106) Update client documentation to state "at least" Java 1.8 22 October 2020, 20:52:15 UTC
4c12fc1 [6.8] Version bump to 6.8.14 (#63822) version bump after 6.8.13 release 22 October 2020, 13:10:32 UTC
1a7f86b [DOCS] Remove 6.8.13 coming tag (#64058) 22 October 2020, 12:31:33 UTC
8ad7a4b [DOCS] Release notes for 6.8.13 (#63838) Co-authored-by: lcawl <lcawley@elastic.co> Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> 21 October 2020, 20:47:50 UTC
51e22e8 Explicitly use TLS 1.2 in Gradle (#63880) 19 October 2020, 15:59:22 UTC
4fdc088 Move RestRequestFilter to core (#63791) Move RestRequestFilter to core so that Rest requests outside xpack can use it to filter fields and expand its usage. Backport of #63507 16 October 2020, 10:29:33 UTC
be13c69 Remove opensuse 42 from vagrant tests (#63759) Opensuse 42 has not worked in a while. The test image is unmaintained, and cannot be launched. It was removed from CI packaging test runs, but still remained in vagrant tests. This commit removes it from vagrant tests. 15 October 2020, 20:13:56 UTC
2f119bc Retry CCR shard follow task when no seed node left (#63225) If the connection between clusters is disconnected or the leader cluster is offline, then CCR shard-follow tasks can stop with "no seed node left". CCR should retry on this error. 06 October 2020, 15:42:54 UTC
cd38a51 [DOCS] Add experimental tag to rollup APIs (#63206) 05 October 2020, 20:39:23 UTC
509507d Removing wording indicating that read-only index block is released automatically. (#62627) 02 October 2020, 15:00:48 UTC
e4e4aab Enable support for compressed response within RestHighLevelClient (#63087) Co-authored-by: Hakky54 <hakangoudberg@hotmail.com> 30 September 2020, 20:36:44 UTC
6a92ef5 [doc] 6.8 deprecation logging bug - known issue (#62869) 29 September 2020, 14:21:03 UTC
90d27a0 SQL: Document Maven Central as a JDBC repository (#62618) * Add Maven Central as a JDBC repository Document Maven Central as a JDBC repository. (cherry picked from commit 2bc4d7eb19a26bf21b11214c4351470b677e1598) 21 September 2020, 11:09:23 UTC
957eaf6 [DOCS] Add warning about derived keys (#62588) 17 September 2020, 23:01:14 UTC
ffe7df0 Upgrade the bundled JDK to JDK 15 (#62580) This commit upgrades the bundled JDK to JDK 15. 17 September 2020, 19:08:19 UTC
11ba9e5 Ensure authz operation overrides transient authz headers (#61621) AuthorizationService#authorize uses the thread context to carry the result of the authorisation as transient headers. The listener argument to the `authorize` method must necessarily observe the header values. This PR makes it so that the authorisation transient headers (`_indices_permissions` and `_authz_info`, but NOT `_originating_action_name`) of the child action override the ones of the parent action. Co-authored-by: Tim Vernum tim@adjective.org 15 September 2020, 17:57:28 UTC
e559f3c CCR should retry on CircuitBreakingException (#62013) CCR shard follow task can hit CircuitBreakingException on the leader cluster (read changes requests) or the follower cluster (bulk requests). CCR should retry on CircuitBreakingException as it's a transient error. 10 September 2020, 21:35:53 UTC
d15dad7 Small fixes to breaking changes docs. * Remove accidental block formatting. * Move ngram and shingle changes to the analysis section. 08 September 2020, 23:44:03 UTC
8a73888 [DOCS] Add line break to get ILM lifecycle API docs (#61892) 04 September 2020, 13:03:17 UTC
c38f269 Set timeout of auto put-follow request to unbounded (#61679) If the master node of the follower cluster is busy, then the auto-follower will fail to initialize the following process. This also occurs when an auto-follow pattern matches multiple indices. We should set the timeout of put-follow requests issued by the auto-follower to unbounded to avoid this problem. Closes #56891 01 September 2020, 13:59:51 UTC
2bb45b4 [6.8] Call ActionListener.onResponse exactly once (#61691) Under specific circumstances we would call onResponse twice, which led to unexpected behavior. Backport of #61584 01 September 2020, 09:33:01 UTC
8abd807 Add hlrc_rest_total_hits_as_int parameter in scroll request (#61685) This change sets the rest_total_hits_as_int option automatically in scroll search requests emitted by the Java high level rest client. This option is already set for normal search requests but was missing for scrolls in 6.x. Closes #61677 31 August 2020, 23:00:24 UTC
f530513 Relax the index access control check for scroll searches (#61446) The check introduced by #60640 for scroll searches, in which we log if the index access control before the query and fetch phases differs from when the scroll context is created, is too strict, leading to spurious warning log messages. The check verifies instance equality but this assumes that the fetch phase is executed in the same thread context as the scroll context validation. However, this is not true if the scroll search is executed cross-cluster, and even for local scroll searches it is an unfounded assumption. The check is hence reduced to a null check for the index access. The fact that the access control is suitable given the indices that are actually accessed (by the scroll) will be done in a follow-up, after we better regulate the creation of index access controls in general. 27 August 2020, 20:28:32 UTC
back to top