49 KiB
Version 1.3.0 Release Notes
-
MapperService has to be passed in as null for EnginePlugins CodecService constructor (#2177) (#2413)
opensearch-trigger-bot[bot] - Wed, 9 Mar 2022 10:17:33 -0500
efs/remotes/os_or/1.3
-
MapperService has to be passed in as null for EnginePlugins CodecService constructor
-
Addressing code review comments
-
Delayed CodecService instantiation up to the shard initialization
-
Added logger (associated with shard) to CodecServiceConfig
-
Refactored the EngineConfigFactory / IndexShard instantiation of the CodecService (cherry picked from commit
9c679cbbfc
)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
-
Replace exclusionary words whitelist and blacklist in the places that… (#2365)
aponb - Mon, 7 Mar 2022 15:14:36 -0800
- Replace the exclusionary word whitelist with allowlist, and blacklist with denylist, in code commet and internal variable/method/class/package name.
Signed-off-by: Andreas <apre@gmx.at>
-
Install plugin command help (#2193) (#2264)
Joshua Palis - Mon, 7 Mar 2022 15:24:56 -0500
- edited opensearch-plugin install help output to include plugin URL
- fixed unit test for plugin install help output by correctly identifying the beginning og the non-option argument list
- added comments to install plugins help non option argument ouput unit test
- fixed format violation
- added additional details on valid plugin ids and how to use plugin URLs
- added additional information to plugin install help output
(cherry picked from commit
b251d2b565
) Signed-off-by: Joshua Palis <jpalis@amazon.com>
Signed-off-by: Joshua Palis <jpalis@amazon.com>
-
Add valuesField in PercentilesAggregationBuilder streamInput constructor (#2308) (#2389)
opensearch-trigger-bot[bot] - Mon, 7 Mar 2022 13:07:41 -0500
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com> (cherry picked from commit
e1fd4b75b4
) Co-authored-by: Subhobrata Dey <sbcd90@gmail.com> -
Updated the url for docker distribution (#2325) (#2360)
opensearch-trigger-bot[bot] - Mon, 7 Mar 2022 11:52:46 -0500
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> (cherry picked from commit
9224537704
) Co-authored-by: Owais Kazi <owaiskazi19@gmail.com> -
Reintroduce negative epoch_millis #1991 (#2232) (#2380)
Breno Faria - Mon, 7 Mar 2022 11:46:54 -0500
-
Reintroduce negative epoch_millis #1991 Fixes a regression introduced with Elasticsearch 7 regarding the date field type that removed support for negative timestamps with sub-second granularity. Thanks to Ryan Kophs (https://github.com/rkophs) for allowing me to use his previous work. Signed-off-by: Breno Faria <breno.faria@intrafind.de>
-
applying spotless fix Signed-off-by: Breno Faria <breno.faria@intrafind.de>
-
more conservative implementation of isSupportedBy Signed-off-by: Breno Faria <breno.faria@intrafind.de>
-
adding braces to control flow statement Signed-off-by: Breno Faria <breno.faria@intrafind.de>
-
spotless fix... Signed-off-by: Breno Faria <breno.faria@intrafind.de> Co-authored-by: Breno Faria <breno.faria@intrafind.de> Co-authored-by: Breno Faria <breno.faria@intrafind.de>
-
-
Add 'key' field to 'function_score' query function definition in explanation response (#1711) (#2346)
Andriy Redko - Mon, 7 Mar 2022 11:42:03 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Fix java-version-checker source/target compatibility settings (#2354)
Andriy Redko - Fri, 4 Mar 2022 15:21:54 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Fixing the --release flag usage for javac (#2343)
Andriy Redko - Fri, 4 Mar 2022 13:49:01 -0500
-
Fixing the --release flag usage for javac Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Fixing the --html5 flag usage for javadoc Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
-
Fixing soft deletes deprecation warning (#2339)
Vacha Shah - Fri, 4 Mar 2022 10:06:11 -0500
Signed-off-by: Vacha Shah <vachshah@amazon.com>
-
Remove Github DCO action since DCO runs via Github App now (#2317) (#2323)
opensearch-trigger-bot[bot] - Thu, 3 Mar 2022 12:12:55 -0800
Signed-off-by: Vacha Shah <vachshah@amazon.com> (cherry picked from commit
cdb42ad301
) Co-authored-by: Vacha Shah <vachshah@amazon.com> -
[Backport 1.x] Avoid logging duplicate deprecation warnings multiple times (#2315)
opensearch-trigger-bot[bot] - Thu, 3 Mar 2022 14:23:05 -0500
-
Avoid logging duplicate deprecation warnings multiple times (#1660)
-
Avoid logging duplicate deprecation warnings multiple times Signed-off-by: Vacha <vachshah@amazon.com>
-
Fixes test failures Signed-off-by: Vacha <vachshah@amazon.com>
-
Adding deprecation logger tests Signed-off-by: Vacha <vachshah@amazon.com>
-
Using ConcurrentHashMap keySet Signed-off-by: Vacha Shah <vachshah@amazon.com> (cherry picked from commit
e66ea2c4f3
) -
Fixing failing RestResizeHandlerTests in 1.x Signed-off-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Vacha <vachshah@amazon.com>
-
-
Restore Java 8 compatibility for build tools. (#2300)
Daniel Doubrovkine (dB.) - Thu, 3 Mar 2022 14:14:23 -0500
-
Restore Java 8 compatibility for build tools. Signed-off-by: dblock <dblock@dblock.org>
-
Make source code compatible with Java 8. Signed-off-by: dblock <dblock@dblock.org>
-
-
Add support of SOCKS proxies for S3 repository (#2160) (#2316)
opensearch-trigger-bot[bot] - Thu, 3 Mar 2022 13:49:40 -0500
Signed-off-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit
f13b951c70
) Co-authored-by: Andrey Pleskach <ples@aiven.io> -
Fix flaky test case - string profiler via global ordinals (#2226) (#2313)
opensearch-trigger-bot[bot] - Wed, 2 Mar 2022 17:48:34 -0600
forcemerge to one segment before executing aggregation query. Signed-off-by: Peng Huo <penghuo@gmail.com> (cherry picked from commit
9e225dc9b8
) Co-authored-by: Peng Huo <penghuo@gmail.com> -
Auto-increment next development iteration. (#1816) (#2164)
opensearch-trigger-bot[bot] - Wed, 2 Mar 2022 15:46:28 -0800
-
Auto-increment next development iteration. Signed-off-by: dblock <dblock@amazon.com>
-
Make bwc increments on X.Y and main branches. Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: dblock <dblock@dblock.org> Co-authored-by: Daniel Doubrovkine (dB.) <dblock@dblock.org>
-
-
Downgrade to JDK 11. (#2301)
Daniel Doubrovkine (dB.) - Wed, 2 Mar 2022 13:37:23 -0500
-
Downgrade to JDK 11. Signed-off-by: dblock <dblock@dblock.org>
-
Added support for patch JDK version, like 11.0.14+1 Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Use JDK 11.0.14.1+1. Signed-off-by: dblock <dblock@dblock.org>
-
./gradlew :build-tools:spotlessApply Signed-off-by: dblock <dblock@dblock.org> Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
-
-
Adding shards per node constraint for predictability to testClusterGr… (#2110) (#2265)
opensearch-trigger-bot[bot] - Mon, 28 Feb 2022 15:59:57 -0600
-
Adding shards per node constraint for predictability to testClusterGreenAfterPartialRelocation Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Fixing precommit violation Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Adding assertion to ensure invariant Signed-off-by: Ankit Jain <jain.ankitk@gmail.com> (cherry picked from commit
8ae0db5285
) Co-authored-by: Ankit Jain <jain.ankitk@gmail.com>
-
-
Revert "[Backport 1.x] Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url (#2191)" (#2243)
Rabi Panda - Thu, 24 Feb 2022 15:58:30 -0800
Signed-off-by: Rabi Panda <adnapibar@gmail.com>
-
added config file to git issue template directory to disable blank issue creation (#2158) (#2249)
Joshua Palis - Thu, 24 Feb 2022 15:34:24 -0800
Signed-off-by: Joshua Palis <jpalis@amazon.com> Co-authored-by: Joshua Palis <jpalis@amazon.com> (cherry picked from commit
fb187eacc2
) -
Case Insensitive Support in Regexp Interval (#2237) (#2246)
Matt Weber - Thu, 24 Feb 2022 15:58:09 -0600
1x backport of #2237. Add a
case_insensitive
flag to regexp interval source.Signed-off-by: Matt Weber <matt@mattweber.org>
-
Add Factory to enable Lucene ConcatenateGraphFilter (#1278) (#2152) (#2219)
Mau Bach Quang - Thu, 24 Feb 2022 10:49:31 -0800
Lucene has a ConcatenateGraphFilter that can concatenate tokens from a TokenStream to create a single token (or several tokens that have the same position if input TokenStream is a graph). The change is to enable that ConcatenateGraphFilter by adding a Factory.
(cherry-pick from
0e95bb9dff
) Signed-off-by: Mau Bach Quang <quangmaubach@gmail.com> -
[Backport 1.x] Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url (#2191)
Rishikesh Pasham - Mon, 21 Feb 2022 10:56:00 -0800
-
Backport Enabling Sort Optimization to make use of Lucene Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
-
Backport Enabling Sort Optimization to make use of Lucene and small change in a method call signature Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
-
[Backport 1.x] Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
-
Adding Spotless check to previous PR Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
-
-
Support unordered non-overlapping intervals (#2103) (#2172)
Matt Weber - Fri, 18 Feb 2022 11:52:52 -0500
This commit exposes Intervals.unorderedNoOverlaps (LUCENE-8828).
(#2103 backport) Signed-off-by: Matt Weber <matt@mattweber.org>
-
Add regexp interval source (#1917) (#2069)
github-actions[bot] - Wed, 16 Feb 2022 14:46:35 -0500
-
Add regexp interval source Add a regexp interval source provider so people can use regular expressions inside of intervals queries. Signed-off-by: Matt Weber <matt@mattweber.org>
-
Fixes
- register regexp interval in SearchModule
- use fully-qualified name for lucene RegExp
- get rid of unnecessary variable
Signed-off-by: Matt Weber <matt@mattweber.org>
(cherry picked from commit
b9420d8f70
) Co-authored-by: Matt Weber <matt@mattweber.org>
-
-
Add proxy username and password settings for Azure repository (#2098) (#2108)
opensearch-trigger-bot[bot] - Wed, 16 Feb 2022 12:01:51 -0500
Added username/password proxy settings for Azure repository. Security settings:
- azure.client.*.proxy.username - Proxy user name
- azure.client.*.proxy.password - Proxy user password
Signed-off-by: Andrey Pleskach <ples@aiven.io>
(cherry picked from commit
62361ceafc
) Co-authored-by: Andrey Pleskach <ples@aiven.io>
-
Support first and last parameter for missing bucket ordering in composite aggregation (#1942) (#2049)
Peng Huo - Tue, 15 Feb 2022 14:07:35 -0800
Support for "first" and "last" parameters for missing bucket ordering in composite aggregation. By default, if order is asc, missing_bucket at first, if order is desc, missing_bucket at last. If missing_order is "first" or "last", regardless order, missing_bucket is at first or last respectively. Signed-off-by: Peng Huo <penghuo@gmail.com>
-
Mapping update for “date_range” field type is not idempotent (#2094) (#2106)
opensearch-trigger-bot[bot] - Tue, 15 Feb 2022 11:44:17 -0600
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit
6b6f03368f
) Co-authored-by: Andriy Redko <andriy.redko@aiven.io> -
Fix integration tests failure (#2067) (#2090)
opensearch-trigger-bot[bot] - Fri, 11 Feb 2022 11:07:46 -0500
Fixed integration tests failure on Linux with Kernel 5.16.x Signed-off-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit
27ed6fc82c
) Co-authored-by: Andrey Pleskach <ples@aiven.io> -
Backport/backport 2048,2074 to 1.x (#2085)
Ankit Jain - Fri, 11 Feb 2022 09:36:21 -0500
-
Stabilizing org.opensearch.cluster.routing.MovePrimaryFirstTests.test… (#2048)
-
Stabilizing org.opensearch.cluster.routing.MovePrimaryFirstTests.testClusterGreenAfterPartialRelocation
Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Removing unused import Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Making code more readable Signed-off-by: Ankit Jain <jain.ankitk@gmail.com> (cherry picked from commit
343b82fe24
) -
Added timeout to ensureGreen() for testClusterGreenAfterPartialRelocation (#2074) Signed-off-by: Ankit Jain <jain.ankitk@gmail.com> (cherry picked from commit
f0984eb409
)
-
-
Removing lingering transportclient (#1955) (#2088)
opensearch-trigger-bot[bot] - Thu, 10 Feb 2022 17:21:12 -0800
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com> (cherry picked from commit
781156471a
) Co-authored-by: Sarat Vemulapalli <vemulapallisarat@gmail.com> -
Prioritize primary shard movement during shard allocation (#1445) (#2079)
opensearch-trigger-bot[bot] - Thu, 10 Feb 2022 13:48:38 -0500
When some node or set of nodes is excluded (based on some cluster setting) BalancedShardsAllocator iterates over them in breadth first order picking 1 shard from each node and repeating the process until all shards are balanced. Since shards from each node are picked randomly it's possible the p and r of shard1 is relocated first leaving behind both p and r of shard2. If the excluded nodes were to go down the cluster becomes red. This commit introduces a new setting "cluster.routing.allocation.move.primary_first" that prioritizes the p of both shard1 and shard2 first so the cluster does not become red if the excluded nodes were to go down before relocating other shards. Note that with this setting enabled performance of this change is a direct function of number of indices, shards, replicas, and nodes. The larger the indices, replicas, and distribution scale, the slower the allocation becomes. This should be used with care. Signed-off-by: Ankit Jain <jain.ankitk@gmail.com> (cherry picked from commit
6eb8f6f307
) Co-authored-by: Ankit Jain <jain.ankitk@gmail.com> -
Adding workflow to auto delete backport merged branches from backport workflow (#2050) (#2065)
github-actions[bot] - Tue, 8 Feb 2022 12:27:45 -0800
Signed-off-by: Vacha Shah <vachshah@amazon.com> (cherry picked from commit
9c9e218ae6
) Co-authored-by: Vacha <vachshah@amazon.com> -
Another attempt to fix o.o.transport.netty4.OpenSearchLoggingHandlerIT fails w/ stack overflow (#2051) (#2055)
github-actions[bot] - Mon, 7 Feb 2022 16:11:06 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit
1e5d98329e
) Co-authored-by: Andriy Redko <andriy.redko@aiven.io> -
added backport for 1.2.5 to 1.x branch (#2057)
Abhinav Gupta - Mon, 7 Feb 2022 13:33:27 -0500
Signed-off-by: Abhinav Gupta <abhng@amazon.com>
-
[Backport] Introduce FS Health HEALTHY threshold to fail stuck node (#1269)
Bukhtawar Khan - Mon, 7 Feb 2022 12:48:03 -0500
-
Introduce FS Health HEALTHY threshold to fail stuck node (#1167) This will cause the leader stuck on IO during publication to step down and eventually trigger a leader election.
-
Issue Description
- The publication of cluster state is time bound to 30s by a cluster.publish.timeout settings. If this time is reached before the new cluster state is committed, then the cluster state change is rejected and the leader considers itself to have failed. It stands down and starts trying to elect a new master. There is a bug in leader that when it tries to publish the new cluster state it first tries acquire a lock to flush the new state under a mutex to disk. The same lock is used to cancel the publication on timeout. Below is the state of the timeout scheduler meant to cancel the publication. So essentially if the flushing of cluster state is stuck on IO, so will the cancellation of the publication since both of them share the same mutex. So leader will not step down and effectively block the cluster from making progress. Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up settings Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up tests Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up tests Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up tests Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
-
[Backport] Handle shard over allocation during partial zone/rack or independent … (#1268)
Bukhtawar Khan - Mon, 7 Feb 2022 09:58:10 -0500
-
Handle shard over allocation during partial zone/rack or independent node failures (#1149) The changes ensure that in the event of a partial zone failure, the surviving nodes in the minority zone don't get overloaded with shards, this is governed by a skewness limit. Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up imports Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up imports Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up imports Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
Fix up check style Signed-off-by: Bukhtawar Khan <bukhtawa@amazon.com>
-
-
Add Version.V_1_2_5 constant
Nicholas Walter Knize - Fri, 4 Feb 2022 18:29:46 -0600
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
-
add 1.2.5 to bwcVersions
Nicholas Walter Knize - Fri, 4 Feb 2022 18:29:35 -0600
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
-
Revert "Upgrading Shadow plugin to 7.1.2 (#2033) (#2037)" (#2047)
Sarat Vemulapalli - Wed, 2 Feb 2022 19:40:51 -0800
This reverts commit 8725061c15fac70a81d144ed2d79b09f5e1a2f7f. Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
-
Fix AssertionError message (#2044) (#2045)
github-actions[bot] - Wed, 2 Feb 2022 21:05:15 -0500
Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io> (cherry picked from commit
270c59f523
) Co-authored-by: Lukáš Vlček <lukas.vlcek@aiven.io> -
Upgrading Shadow plugin to 7.1.2 (#2033) (#2037)
github-actions[bot] - Wed, 2 Feb 2022 14:52:31 -0800
Shadow plugin is used for publishing jars and this upgrades Log4J dependency for build. Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com> (cherry picked from commit
1f9517c4ca
) Co-authored-by: Sarat Vemulapalli <vemulapallisarat@gmail.com> -
[FEATURE] Add OPENSEARCH_JAVA_HOME env to override JAVA_HOME (#2040)
Andriy Redko - Wed, 2 Feb 2022 12:16:50 -0800
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
build: introduce support for reproducible builds (#1995) (#2038)
github-actions[bot] - Wed, 2 Feb 2022 14:21:34 -0500
Reproducible builds is an initiative to create an independently-verifiable path from source to binary code 1. This can be done by:
- Make all archive tasks in gradle reproducible by ignoring timestamp on files 2
- Preserve the order in side the archives 2
- Ensure GlobalBuildInfoPlugin.java use SOURCE_DATE_EPOCH when available
Signed-off-by: Leonidas Spyropoulos <artafinde@gmail.com> (cherry picked from commit
6da253b8ff
) Co-authored-by: Leonidas Spyropoulos <artafinde@gmail.com> -
[1x] Deprecate index.merge.policy.max_merge_at_once_explicit (#1981) (#1984)
Nick Knize - Wed, 2 Feb 2022 11:48:00 -0600
max_merge_at_once_explicit is removed in lucene 9 so the index setting is
deprecated for removal in the next major release. Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
-
[Deprecate] Setting explicit version on analysis component (#1978) (#1985)
Nick Knize - Wed, 2 Feb 2022 12:28:44 -0500
Lucene 9 removes the ability to define an explicit version on an analysis
component. The version parameter is deprecated at parse time and a warning is
issued to the user through the deprecation logger. Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
-
[BUG] Docker distribution builds are failing. Switching to http://vault.centos.org (#2024) (#2030)
Andriy Redko - Tue, 1 Feb 2022 14:16:50 -0600
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
[Backport] Enabling Sort Optimization to make use of Lucene (#1989)
Rishikesh Pasham - Mon, 31 Jan 2022 10:48:13 -0600
-
Backport Enabling Sort Optimization to make use of Lucene Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
-
Backport Enabling Sort Optimization to make use of Lucene and small change in a method call signature Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
-
-
Upgrading Jackson-Databind version (#1982) (#1987)
github-actions[bot] - Sun, 30 Jan 2022 16:32:14 -0800
-
Upgrading Jackson-Databind version Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
-
Adding jackson-databind version using getProperty method Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> (cherry picked from commit
1568407c36
) Co-authored-by: Rishikesh Pasham <62345295+Rishikesh1159@users.noreply.github.com>
-
-
Update bundled JDK distribution to 17.0.2+8 (#2007) (#2009)
Andriy Redko - Sat, 29 Jan 2022 09:45:19 -0800
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Linked the formatting setting file (#1860) (#1961)
github-actions[bot] - Thu, 27 Jan 2022 12:24:34 -0800
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> (cherry picked from commit
cfc9ec292d
) Co-authored-by: Owais Kazi <owaiskazi19@gmail.com> -
Add hook to execute logic before Integ test task starts (#1969) (#1971)
github-actions[bot] - Wed, 26 Jan 2022 17:42:45 -0600
Add hook to execute custom logic before the integ test starts. This is required for a workaround to enable the jacoco code coverage for Integ Tests. Signed-off-by: Ankit Kala <ankikala@amazon.com>
-
Fixing typo in TESTING.md (#1849) (#1959)
github-actions[bot] - Wed, 26 Jan 2022 17:41:33 -0600
Fixes some grammar and link typos found in TESTING.md. Signed-off-by: Vacha Shah <vachshah@amazon.com>
-
Add max_expansions option to wildcard interval (#1916) (#1979)
Matt Weber - Wed, 26 Jan 2022 16:08:34 -0600
Add support for setting the max expansions on a wildcard interval. The default value is still 128 and the max value is bounded by
BooleanQuery.getMaxClauseCount()
. Signed-off-by: Matt Weber <matt@mattweber.org> -
Update protobuf-java to 3.19.3 (#1945) (#1949)
Tianli Feng - Fri, 21 Jan 2022 08:52:05 -0800
-
Update protobuf-java to 3.19.3 Signed-off-by: Tianli Feng <ftl94@live.com>
-
Exclude some API usage violations in the package com.google.protobuf for thirdPartyAudit task to pass Signed-off-by: Tianli Feng <ftl94@live.com>
-
-
Timeout fix backport to 1.x (#1953)
Suraj Singh - Thu, 20 Jan 2022 20:53:43 -0600
-
[Bug] Wait for outstanding requests to complete (#1925) Signed-off-by: Suraj Singh <surajrider@gmail.com>
-
[BUG] Wait for outstanding requests to complete in LastSuccessfulSett… (#1939)
-
[BUG] Wait for outstanding requests to complete in LastSuccessfulSettingsUpdate test Signed-off-by: Suraj Singh <surajrider@gmail.com>
-
[BUG] Wait for outstanding requests to complete in LastSuccessfulSettingsUpdate test Signed-off-by: Suraj Singh <surajrider@gmail.com>
-
-
Update Netty to 4.1.73.Final (#1936) (#1937)
Andriy Redko - Wed, 19 Jan 2022 00:00:42 -0500
efs/remotes/origin/1.3 Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Modernize and consolidate JDKs usage across all stages of the build. Use JDK-17 as bundled JDK distribution to run tests (#1922)
Andriy Redko - Tue, 18 Jan 2022 10:51:53 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Expand SearchPlugin javadocs. (#1909) (#1923)
Matt Weber - Tue, 18 Jan 2022 09:48:52 -0600
Add and clarify some search plugin point documentation. Signed-off-by: Matt Weber <matt@mattweber.org>
-
Make SortBuilders pluggable (#1856) (#1915)
Matt Weber - Mon, 17 Jan 2022 12:28:22 -0500
Add the ability for plugin authors to add custom sort builders. Signed-off-by: Matt Weber <matt@mattweber.org>
-
Refactor LegacyESVersion tests from Version tests (#1662) (#1663)
Nick Knize - Mon, 17 Jan 2022 12:27:56 -0500
In preparation for removing all LegacyESVersion support by 3.0; this commit
largely refactors the LegacyESVersion test logic from the OpenSearch Version
test logic into an independent test class. This PR also updates Version.fromString to ensure a proper legacy version is returned when major is > 3 (to support legacy yaml test and build scripts). Note that bwc w/ legacy versions are still supported so some cross compatibility testing is retained in the Version test class.
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
-
Fixing org.opensearch.common.network.InetAddressesTests.testForStringIPv6WithScopeIdInput (#1913) (#1914)
Andriy Redko - Sat, 15 Jan 2022 10:14:17 -0600
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
[BUG] Serialization bugs can cause node drops (#1885) (#1911)
Andriy Redko - Fri, 14 Jan 2022 14:23:25 -0600
This commit restructures InboundHandler to ensure all data is consumed over the wire. Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Fix o.o.transport.netty4.OpenSearchLoggingHandlerIT stack overflow test failure (#1900) (#1906)
Andriy Redko - Fri, 14 Jan 2022 12:38:18 -0600
Attempt to fix o.o.transport.netty4.OpenSearchLoggingHandlerIT fails w/ stack overflow by hardening test expectation patterns in regex patterns Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Replace JCenter with Maven Central. (#1057) (#1892)
Marc Handalian - Wed, 12 Jan 2022 17:03:42 -0800
On February 3 2021, JFrog announced the shutdown of JCenter. Later on April 27 2021, an update was provided that the repository will only be read only and new package and versions are no longer accepted on JCenter. This means we should no longer use JCenter for our central artifacts repository. This change replaces JCenter with Maven Central as per the Gradle recommendation - https://blog.gradle.org/jcenter-shutdown Signed-off-by: Rabi Panda <adnapibar@gmail.com> Signed-off-by: Marc Handalian <handalm@amazon.com> Co-authored-by: Rabi Panda <adnapibar@gmail.com>
-
Update FIPS API libraries of Bouncy Castle (#1853) (#1886)
Tianli Feng - Wed, 12 Jan 2022 09:37:05 -0500
-
Update bc-fips to 1.0.2.1 Signed-off-by: Tianli Feng <ftl94@live.com>
-
Update bcpg-fips to 1.0.5.1 Signed-off-by: Tianli Feng <ftl94@live.com>
-
Update bctls-fips to 1.0.12.2 Signed-off-by: Tianli Feng <ftl94@live.com>
-
Use the unified bouncycastle version for bcpkix-jdk15on in HDFS testing fixture Signed-off-by: Tianli Feng <ftl94@live.com>
-
-
[1.x] Remove remaining Flavor Serialization (#1751) (#1757)
Nick Knize - Thu, 6 Jan 2022 11:11:31 -0800
-
[Remove] Remaining Flavor Serialization (#1751) This commit removes unnecessary serialization of unused flavor variable in build metadata from V_1_3_0+ Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
-
change flavor version check to V_1_3_0 This commit changes the flavor serialization check in Build from V_2_0_0 to V_1_3_0. Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
-
-
Update junit to 4.13.1 (#1837) (#1842)
Ashish Agrawal - Wed, 5 Jan 2022 08:15:56 -0500
-
Update junit to 4.13.1 Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
-
update junit to 4.13.2 Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
-
update SHA1 file Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
-
-
Upgrading bouncycastle to 1.70 (#1832) (#1834)
Sarat Vemulapalli - Tue, 4 Jan 2022 11:57:01 -0800
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
-
Updatting Netty to 4.1.72.Final (#1831) (#1835)
Sarat Vemulapalli - Tue, 4 Jan 2022 11:56:39 -0800
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
-
Intermittent java.lang.Exception: Suite timeout exceeded (>= 1200000 msec) (#1827)
Andriy Redko - Wed, 29 Dec 2021 13:23:49 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Execution failed for task ':test:fixtures:azure/s3/hdfs/gcs-fixture:composeDown' (#1824) (#1825)
Andriy Redko - Wed, 29 Dec 2021 11:28:51 -0600
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Update to log4j 2.17.1 (#1820) (#1822)
Andriy Redko - Tue, 28 Dec 2021 17:57:26 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
RestIntegTestTask fails because of missed log4j-core dependency (#1815) (#1818)
Andriy Redko - Tue, 28 Dec 2021 17:08:37 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Gradle clean failing after a failed gradle check, folders created by Docker under 'root' user (#1726) (#1775)
Andriy Redko - Thu, 23 Dec 2021 17:42:09 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
[plugin] repository-azure: add configuration settings for connect/write/response/read timeouts (#1789) (#1802)
Andriy Redko - Thu, 23 Dec 2021 12:26:27 -0600
-
[plugin] repository-azure: add configuration settings for connect/write/response/read timeouts Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Addressing code review comments: renaming connectionXxx to connectXxx Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Addressing code review comments: adding timeout comment Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
-
Add bwc version 1.2.4 (#1797)
Rabi Panda - Thu, 23 Dec 2021 10:19:15 -0500
Signed-off-by: Rabi Panda <adnapibar@gmail.com>
-
Use try-with-resources with MockLogAppender (#1595) (#1784)
Andrew Ross - Tue, 21 Dec 2021 20:03:11 -0800
I previously added a helper that started a MockLogAppender to ensure it was never added to a Logger before it was started. I subsequently found the opposite case in RolloverIT.java where the appender was stopped before it was closed, therefore creating a race where a concurrently running test in the same JVM could cause a logging failure. This seems like a really easy mistake to make when writing a test or introduce when refactoring a test. I've made a change to use try-with-resources to ensure that proper setup and teardown is done. This should make it much harder to introduce this particular test bug in the future. Unfortunately, it did involve touching a lot of files. The changes here are purely structural to leverage try-with-resources; no testing logic has been changed.
Signed-off-by: Andrew Ross <andrross@amazon.com>
-
Ignore file order in test assertion (#1755) (#1782)
Andrew Ross - Mon, 20 Dec 2021 19:35:36 -0600
This unit test asserts that a SHA file for a groovy dependency gets created. However, a SHA file for javaparser-core also gets created in the same directory. For some reason, builds were failing on my machine because
Files::list
was returning the javaparser-core file first. I don't believe there are any ordering guarantees with that API, so I relaxed the assertion to not depend on ordering.Signed-off-by: Andrew Ross <andrross@amazon.com>
-
Fixing allocation filters to persist existing state on settings update (#1718) (#1780)
Ankit Jain - Mon, 20 Dec 2021 18:31:53 -0500
-
Fixing allocation filters to persist existing state on settings update Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Adding test for filter settings update Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Adding more tests and review comments Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Adding assertion and unit test for operation type mismatch Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
Updating test names
Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
-
-
Update to log4j 2.17.0 (#1771) (#1773)
Andriy Redko - Sat, 18 Dec 2021 11:33:16 -0800
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Updating .gitattributes for additional file types (#1727) (#1766)
Sarat Vemulapalli - Fri, 17 Dec 2021 15:51:12 -0800
- Updating .gitattributes for additional types
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
-
Better JDK-18 EA (and beyond) support of SecurityManager (#1750) (#1753)
Andriy Redko - Fri, 17 Dec 2021 16:08:30 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Add version 1.2.3. (#1759)
Daniel Doubrovkine (dB.) - Fri, 17 Dec 2021 09:14:45 -0800
Signed-off-by: dblock <dblock@dblock.org>
-
[plugin] repository-azure is not working properly hangs on basic operations (#1740)
Andriy Redko - Thu, 16 Dec 2021 15:01:50 -0500
-
[plugin] repository-azure is not working properly hangs on basic operations Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Added tests cases and TODO items, addressing code review comments Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
-
Adding 1.2.2 (#1731) (#1736)
Sarat Vemulapalli - Wed, 15 Dec 2021 14:16:16 -0500
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
-
Upgrade to log4j 2.16.0 (#1721) (#1723)
Andriy Redko - Tue, 14 Dec 2021 12:19:35 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Support JDK 18 EA builds (#1714)
Andriy Redko - Tue, 14 Dec 2021 06:47:00 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Fixing .gitattributes for binary content, removing *.class files (#1717) (#1720)
Andriy Redko - Mon, 13 Dec 2021 16:11:25 -0800
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Upgrade to logj4 2.15.0 (#1705)
Andrew Ross - Fri, 10 Dec 2021 16:35:18 -0500
Signed-off-by: Andrew Ross <andrross@amazon.com>
-
Add version 1.2.1. (#1701) (#1702)
Daniel Doubrovkine (dB.) - Fri, 10 Dec 2021 15:36:19 -0500
Signed-off-by: dblock <dblock@dblock.org>
-
Move Gradle wrapper and precommit checks into OpenSearch repo. (#1664) (#1678)
Daniel Doubrovkine (dB.) - Wed, 8 Dec 2021 11:45:55 -0500
-
Move Gradle checks into OpenSearch repo. Signed-off-by: dblock <dblock@amazon.com>
-
Use working-directory for gradle wrapper validation. Signed-off-by: dblock <dblock@amazon.com>
-
Use https://github.com/gradle/wrapper-validation-action. Signed-off-by: dblock <dblock@amazon.com>
-
-
Moving DCO to workflows (#1458) (#1666)
Daniel Doubrovkine (dB.) - Wed, 8 Dec 2021 07:59:34 -0500
Signed-off-by: CEHENKLE <henkle@amazon.com> Co-authored-by: CEHENKLE <henkle@amazon.com>
-
Start MockLogAppender before adding to static context (#1587) (#1659)
Andrew Ross - Mon, 6 Dec 2021 16:45:49 -0500
I observed a test failure with the message 'Attempted to append to non-started appender mock' from an assertion in
OpenSearchTestCase::after
. I believe this indicates that a MockLogAppender (which is named "mock") was added as an appender to the static logging context and some other test in the same JVM happened to cause a logging statement to hit that appender and cause an error, which then caused an unrelated test to fail (because they share static state with the logger). Almost all usages of MockLogAppender start it immediately after creation. I found a few that did not and fixed those. I also made a static helper in MockLogAppender to start it upon creation. Signed-off-by: Andrew Ross <andrross@amazon.com> -
Revert "Support Gradle 7 (#1609) (#1622)" (#1657)
Andriy Redko - Mon, 6 Dec 2021 10:47:35 -0500
This reverts commit 93bd32b14270be0da8a6b5eef8eeabfce7eb2b58. Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Added .gitattributes to manage end-of-line checks for Windows/*nix systems (#1638) (#1655)
Andriy Redko - Mon, 6 Dec 2021 08:08:01 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Support Gradle 7 (#1609) (#1622)
Andriy Redko - Fri, 3 Dec 2021 15:53:57 -0500
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Renaming Slave terminology to Replica in 1.x branch (backporting) (#1645)
Rishikesh Pasham - Fri, 3 Dec 2021 15:52:51 -0500
Signed-off-by: Rishikesh Pasham <rishireddy1159@gmail.com>
-
Upgrading commons-codec in hdfs-fixture and cleaning up dependencies in repository-hdfs (#1603) (#1621)
Vacha - Tue, 30 Nov 2021 17:17:21 -0500
Signed-off-by: Vacha <vachshah@amazon.com>
-
Rename field_masking_span to span_field_masking (#1606) (#1623)
Xue Zhou - Mon, 29 Nov 2021 23:18:13 -0500
-
Rename field_masking_span to span_field_masking Signed-off-by: Xue Zhou <xuezhou@amazon.com>
-
Update SearchModuleTests.java Signed-off-by: Xue Zhou <xuezhou@amazon.com>
-
Rename field_masking_span to span_field_masking Signed-off-by: Xue Zhou <xuezhou@amazon.com>
-
-
Upgrade dependency (#1571) (#1594)
Vacha - Mon, 29 Nov 2021 14:48:33 -0500
-
Upgrading guava, commons-io and apache-ant dependencies. Signed-off-by: Vacha <vachshah@amazon.com>
-
Adding failureaccess since guava needs it. Signed-off-by: Vacha <vachshah@amazon.com>
-
-
Lower build requirement from Java 14+ to Java 11+ (#940) (#1608)
Marc Handalian - Tue, 23 Nov 2021 21:41:59 -0500
-
Lower build requirement from Java 14+ to Java 11+ Avoid use of -Werror -Xlint:all, which may change significantly across java releases (new warnings could be added). Instead, just list the warnings individually. Workaround JDK 11 compiler bug (JDK-8209058) that only impacts test fixture code in the build itself. Signed-off-by: Robert Muir <rmuir@apache.org>
-
Disable warning around -source 7 -release 7 for java version checker The java version checker triggers some default warnings because it targets java7:
Task :distribution:tools:java-version-checker:compileJava FAILED warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. error: warnings found and -Werror specified
-
Suppress this warning explicitly for this module. Signed-off-by: Robert Muir <rmuir@apache.org>
-
more java14 -> java11 cleanup Signed-off-by: Robert Muir <rmuir@apache.org> Co-authored-by: Robert Muir <rmuir@apache.org> Signed-off-by: Marc Handalian <handalm@amazon.com> Co-authored-by: Daniel Doubrovkine (dB.) <dblock@dblock.org> Co-authored-by: Robert Muir <rmuir@apache.org>
-
-
Giving informative error messages for double slashes in API call URLs- [ BACKPORT-1.x ] (#1601)
Megha Sai Kavikondala - Tue, 23 Nov 2021 13:34:31 -0500
-
Integration test that checks for settings upgrade (#1482)
-
Made changes. Signed-off-by: Megha Sai Kavikondala <kavmegha@amazon.com>
-
Signed-off-by: Megha Sai Kavikondala <kavmegha@amazon.com> Changes made by deleting the TestSettingsIT file and adding new lines in FullClusterRestartSettingsUpgradeIT.java Signed-off-by: Megha Sai Kavikondala <kavmegha@amazon.com>
-
Signed-off-by: Megha Sai Kavikondala <kavmegha@amazon.com> Informative error messages related to empty index name.[Backport]
-
-
Enable RestHighLevel-Client to set parameter require_alias for bulk index and reindex requests (#1604)
Jan Baudisch - Tue, 23 Nov 2021 10:20:07 -0500
Signed-off-by: Jan Baudisch <jan.baudisch.libri@gmail.com> Co-authored-by: Jan Baudisch <jan.baudisch.libri@gmail.com>
-
Upgrading gson to 2.8.9 (#1541). (#1545)
Vacha - Fri, 19 Nov 2021 16:52:38 -0500
Signed-off-by: Vacha <vachshah@amazon.com>
-
[repository-azure] Update to the latest Azure Storage SDK v12, remove privileged runnable wrapper in favor of access helper (#1521) (#1538)
Andriy Redko - Thu, 11 Nov 2021 14:05:47 -0800
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
-
Integration test that checks for settings upgrade (#1482) (#1524)
Megha Sai Kavikondala - Thu, 11 Nov 2021 12:55:11 -0800
-
Made changes. Signed-off-by: Megha Sai Kavikondala <kavmegha@amazon.com>
-
Signed-off-by: Megha Sai Kavikondala <kavmegha@amazon.com> Changes made by deleting the TestSettingsIT file and adding new lines in FullClusterRestartSettingsUpgradeIT.java Signed-off-by: Megha Sai Kavikondala <kavmegha@amazon.com>
-
-
Added logic to allow {dot} files on startup (#1437) (#1516)
Ryan Bogan - Thu, 11 Nov 2021 11:02:03 -0800
-
Added logic to allow {dot} files on startup Signed-off-by: Ryan Bogan <rbogan@amazon.com>
-
Ensures that only plugin directories are returned by findPluginDirs() Signed-off-by: Ryan Bogan <rbogan@amazon.com>
-
Prevents . files from being returned as plugins Signed-off-by: Ryan Bogan <rbogan@amazon.com>
-
-
Add staged version 1.1.1 (#1509)
Nick Knize - Thu, 4 Nov 2021 14:46:57 -0500
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>