Skip to content

Latest commit

 

History

History
1297 lines (775 loc) · 48.7 KB

opensearch.release-notes-1.3.0.md

File metadata and controls

1297 lines (775 loc) · 48.7 KB

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 9c679cbbfcf685e3865d2cf06b8f4e10c3082d49)

    Signed-off-by: Andriy Redko <[email protected]>

  • 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 <[email protected]>

  • 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 b251d2b565b918708a1612ec16d1916122c7805d) Signed-off-by: Joshua Palis <[email protected]>

    Signed-off-by: Joshua Palis <[email protected]>

  • 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 <[email protected]> (cherry picked from commit e1fd4b75b4f888d8d486baceeb9fd6fe7df44416) Co-authored-by: Subhobrata Dey <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 9224537704bb12980a129afb1e7b6ba6ab93680e) Co-authored-by: Owais Kazi <[email protected]>

  • Reintroduce negative epoch_millis #1991 (#2232) (#2380)

    Breno Faria - Mon, 7 Mar 2022 11:46:54 -0500

  • 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 <[email protected]>

  • Fix java-version-checker source/target compatibility settings (#2354)

    Andriy Redko - Fri, 4 Mar 2022 15:21:54 -0500

    Signed-off-by: Andriy Redko <[email protected]>

  • 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 <[email protected]>

    • Fixing the --html5 flag usage for javadoc Signed-off-by: Andriy Redko <[email protected]>

  • Fixing soft deletes deprecation warning (#2339)

    Vacha Shah - Fri, 4 Mar 2022 10:06:11 -0500

    Signed-off-by: Vacha Shah <[email protected]>

  • 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 <[email protected]> (cherry picked from commit cdb42ad3013f67970def21e15c546c9c4fd08d6f) Co-authored-by: Vacha Shah <[email protected]>

  • [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 <[email protected]>

    • Fixes test failures Signed-off-by: Vacha <[email protected]>

    • Adding deprecation logger tests Signed-off-by: Vacha <[email protected]>

    • Using ConcurrentHashMap keySet Signed-off-by: Vacha Shah <[email protected]> (cherry picked from commit e66ea2c4f3ec583f087a82d1ebfb6383b2f159c1)

    • Fixing failing RestResizeHandlerTests in 1.x Signed-off-by: Vacha Shah <[email protected]> Co-authored-by: Vacha <[email protected]>

  • Restore Java 8 compatibility for build tools. (#2300)

    Daniel Doubrovkine (dB.) - Thu, 3 Mar 2022 14:14:23 -0500

  • 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 <[email protected]> (cherry picked from commit f13b951c7006700a9b8a8bb2cdecd67439bc1e86) Co-authored-by: Andrey Pleskach <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 9e225dc9b85c4fc2d3d910846bd0da25bc6a40df) Co-authored-by: Peng Huo <[email protected]>

  • Auto-increment next development iteration. (#1816) (#2164)

    opensearch-trigger-bot[bot] - Wed, 2 Mar 2022 15:46:28 -0800

  • Downgrade to JDK 11. (#2301)

    Daniel Doubrovkine (dB.) - Wed, 2 Mar 2022 13:37:23 -0500

  • 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 <[email protected]>

    • Fixing precommit violation Signed-off-by: Ankit Jain <[email protected]>

    • Adding assertion to ensure invariant Signed-off-by: Ankit Jain <[email protected]> (cherry picked from commit 8ae0db5285963b8e3552ce106ef1368813dbc8b1) Co-authored-by: Ankit Jain <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]> Co-authored-by: Joshua Palis <[email protected]> (cherry picked from commit fb187eacc26487cd644f09091e462001d8839315)

  • 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 <[email protected]>

  • 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 0e95bb9dff976a9c7f9cdac63a92040043d029e2) Signed-off-by: Mau Bach Quang <[email protected]>

  • [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 <[email protected]>

    • Backport Enabling Sort Optimization to make use of Lucene and small change in a method call signature Signed-off-by: Rishikesh1159 <[email protected]>

    • [Backport 1.x] Override Default Distribution Download Url with Custom Distribution Url When User Passes a Url Signed-off-by: Rishikesh1159 <[email protected]>

    • Adding Spotless check to previous PR Signed-off-by: Rishikesh1159 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

    • Fixes

      • register regexp interval in SearchModule
      • use fully-qualified name for lucene RegExp
      • get rid of unnecessary variable Signed-off-by: Matt Weber <[email protected]> (cherry picked from commit b9420d8f70dfc168b9d44f736850af4ef7306a99) Co-authored-by: Matt Weber <[email protected]>
  • 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 <[email protected]> (cherry picked from commit 62361ceafce4abb735567066d1c4865ca6d7136f) Co-authored-by: Andrey Pleskach <[email protected]>
  • 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 <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 6b6f03368f49f5f8001d6d0ed85cd9af7bab76f6) Co-authored-by: Andriy Redko <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 27ed6fc82c7db7a3a741499f0dbd7722fa053f9d) Co-authored-by: Andrey Pleskach <[email protected]>

  • 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 <[email protected]>

    • Removing unused import Signed-off-by: Ankit Jain <[email protected]>

    • Making code more readable Signed-off-by: Ankit Jain <[email protected]> (cherry picked from commit 343b82fe24525bbab01ef5a0d9bb8917068c71bf)

    • Added timeout to ensureGreen() for testClusterGreenAfterPartialRelocation (#2074) Signed-off-by: Ankit Jain <[email protected]> (cherry picked from commit f0984eb409d44e8b68deb1c262bf81accc300acb)

  • Removing lingering transportclient (#1955) (#2088)

    opensearch-trigger-bot[bot] - Thu, 10 Feb 2022 17:21:12 -0800

    Signed-off-by: Sarat Vemulapalli <[email protected]> (cherry picked from commit 781156471a1827b1b66445f716c7567f714dda86) Co-authored-by: Sarat Vemulapalli <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 6eb8f6f307567892bbabbe37aff7cd42be486df0) Co-authored-by: Ankit Jain <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 9c9e218ae697b65e410304825cac81ccdf355e66) Co-authored-by: Vacha <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 1e5d98329eaa76d1aea19306242e6fa74b840b75) Co-authored-by: Andriy Redko <[email protected]>

  • 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 <[email protected]>

  • [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 <[email protected]>
    • Fix up settings Signed-off-by: Bukhtawar Khan <[email protected]>

    • Fix up tests Signed-off-by: Bukhtawar Khan <[email protected]>

    • Fix up tests Signed-off-by: Bukhtawar Khan <[email protected]>

    • Fix up tests Signed-off-by: Bukhtawar Khan <[email protected]>

  • [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 <[email protected]>

    • Fix up imports Signed-off-by: Bukhtawar Khan <[email protected]>

    • Fix up imports Signed-off-by: Bukhtawar Khan <[email protected]>

    • Fix up imports Signed-off-by: Bukhtawar Khan <[email protected]>

    • Fix up check style Signed-off-by: Bukhtawar Khan <[email protected]>

  • Add Version.V_1_2_5 constant

    Nicholas Walter Knize - Fri, 4 Feb 2022 18:29:46 -0600

    Signed-off-by: Nicholas Walter Knize <[email protected]>

  • add 1.2.5 to bwcVersions

    Nicholas Walter Knize - Fri, 4 Feb 2022 18:29:35 -0600

    Signed-off-by: Nicholas Walter Knize <[email protected]>

  • 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 <[email protected]>

  • Fix AssertionError message (#2044) (#2045)

    github-actions[bot] - Wed, 2 Feb 2022 21:05:15 -0500

    Signed-off-by: Lukáš Vlček <[email protected]> (cherry picked from commit 270c59f523acbb3af73ab56dbcfe754e619fdca9) Co-authored-by: Lukáš Vlček <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 1f9517c4caee48eda6eee77f603d815af1fd7770) Co-authored-by: Sarat Vemulapalli <[email protected]>

  • [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 <[email protected]>

  • 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 <[email protected]> (cherry picked from commit 6da253b8fff9a9d9cbbf65807efa7aeaddc9c9d3) Co-authored-by: Leonidas Spyropoulos <[email protected]>

  • [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 <[email protected]>

  • [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 <[email protected]>

  • [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 <[email protected]>

  • [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 <[email protected]>

    • Backport Enabling Sort Optimization to make use of Lucene and small change in a method call signature Signed-off-by: Rishikesh1159 <[email protected]>

  • 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 <[email protected]>

    • Adding jackson-databind version using getProperty method Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit 1568407c362b2534366048379f1bd93f2d164d89) Co-authored-by: Rishikesh Pasham <[email protected]>

  • 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 <[email protected]>

  • Linked the formatting setting file (#1860) (#1961)

    github-actions[bot] - Thu, 27 Jan 2022 12:24:34 -0800

    Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit cfc9ec292dea2169495deffe6d1e25b654e5e35e) Co-authored-by: Owais Kazi <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

    • Exclude some API usage violations in the package com.google.protobuf for thirdPartyAudit task to pass Signed-off-by: Tianli Feng <[email protected]>

  • 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 <[email protected]>

    • [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 <[email protected]>

    • [BUG] Wait for outstanding requests to complete in LastSuccessfulSettingsUpdate test Signed-off-by: Suraj Singh <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • Fixing org.opensearch.common.network.InetAddressesTests.testForStringIPv6WithScopeIdInput (#1913) (#1914)

    Andriy Redko - Sat, 15 Jan 2022 10:14:17 -0600

    Signed-off-by: Andriy Redko <[email protected]>

  • [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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]> Signed-off-by: Marc Handalian <[email protected]> Co-authored-by: Rabi Panda <[email protected]>

  • Update FIPS API libraries of Bouncy Castle (#1853) (#1886)

    Tianli Feng - Wed, 12 Jan 2022 09:37:05 -0500

  • [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 <[email protected]>

    • 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 <[email protected]>

  • Update junit to 4.13.1 (#1837) (#1842)

    Ashish Agrawal - Wed, 5 Jan 2022 08:15:56 -0500

  • Upgrading bouncycastle to 1.70 (#1832) (#1834)

    Sarat Vemulapalli - Tue, 4 Jan 2022 11:57:01 -0800

    Signed-off-by: Sarat Vemulapalli <[email protected]>

  • Updatting Netty to 4.1.72.Final (#1831) (#1835)

    Sarat Vemulapalli - Tue, 4 Jan 2022 11:56:39 -0800

    Signed-off-by: Sarat Vemulapalli <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • Update to log4j 2.17.1 (#1820) (#1822)

    Andriy Redko - Tue, 28 Dec 2021 17:57:26 -0500

    Signed-off-by: Andriy Redko <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • [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 <[email protected]>

    • Addressing code review comments: renaming connectionXxx to connectXxx Signed-off-by: Andriy Redko <[email protected]>

    • Addressing code review comments: adding timeout comment Signed-off-by: Andriy Redko <[email protected]>

  • Add bwc version 1.2.4 (#1797)

    Rabi Panda - Thu, 23 Dec 2021 10:19:15 -0500

    Signed-off-by: Rabi Panda <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

    • Adding test for filter settings update Signed-off-by: Ankit Jain <[email protected]>

    • Adding more tests and review comments Signed-off-by: Ankit Jain <[email protected]>

    • Adding assertion and unit test for operation type mismatch Signed-off-by: Ankit Jain <[email protected]>

    • Updating test names

    Signed-off-by: Ankit Jain <[email protected]>

  • Update to log4j 2.17.0 (#1771) (#1773)

    Andriy Redko - Sat, 18 Dec 2021 11:33:16 -0800

    Signed-off-by: Andriy Redko <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • Add version 1.2.3. (#1759)

    Daniel Doubrovkine (dB.) - Fri, 17 Dec 2021 09:14:45 -0800

    Signed-off-by: dblock <[email protected]>

  • [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 <[email protected]>

    • Added tests cases and TODO items, addressing code review comments Signed-off-by: Andriy Redko <[email protected]>

  • Adding 1.2.2 (#1731) (#1736)

    Sarat Vemulapalli - Wed, 15 Dec 2021 14:16:16 -0500

    Signed-off-by: Sarat Vemulapalli <[email protected]>

  • Upgrade to log4j 2.16.0 (#1721) (#1723)

    Andriy Redko - Tue, 14 Dec 2021 12:19:35 -0500

    Signed-off-by: Andriy Redko <[email protected]>

  • Support JDK 18 EA builds (#1714)

    Andriy Redko - Tue, 14 Dec 2021 06:47:00 -0500

    Signed-off-by: Andriy Redko <[email protected]>

  • 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 <[email protected]>

  • Upgrade to logj4 2.15.0 (#1705)

    Andrew Ross - Fri, 10 Dec 2021 16:35:18 -0500

    Signed-off-by: Andrew Ross <[email protected]>

  • Add version 1.2.1. (#1701) (#1702)

    Daniel Doubrovkine (dB.) - Fri, 10 Dec 2021 15:36:19 -0500

    Signed-off-by: dblock <[email protected]>

  • Move Gradle wrapper and precommit checks into OpenSearch repo. (#1664) (#1678)

    Daniel Doubrovkine (dB.) - Wed, 8 Dec 2021 11:45:55 -0500

  • Moving DCO to workflows (#1458) (#1666)

    Daniel Doubrovkine (dB.) - Wed, 8 Dec 2021 07:59:34 -0500

    Signed-off-by: CEHENKLE <[email protected]> Co-authored-by: CEHENKLE <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • Support Gradle 7 (#1609) (#1622)

    Andriy Redko - Fri, 3 Dec 2021 15:53:57 -0500

    Signed-off-by: Andriy Redko <[email protected]>

  • 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 <[email protected]>

  • 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 <[email protected]>

  • Rename field_masking_span to span_field_masking (#1606) (#1623)

    Xue Zhou - Mon, 29 Nov 2021 23:18:13 -0500

  • 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 <[email protected]>

    • Adding failureaccess since guava needs it. Signed-off-by: Vacha <[email protected]>

  • 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 <[email protected]>

    • 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 <[email protected]>

    • more java14 -> java11 cleanup Signed-off-by: Robert Muir <[email protected]> Co-authored-by: Robert Muir <[email protected]> Signed-off-by: Marc Handalian <[email protected]> Co-authored-by: Daniel Doubrovkine (dB.) <[email protected]> Co-authored-by: Robert Muir <[email protected]>

  • 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 <[email protected]>

    • Signed-off-by: Megha Sai Kavikondala <[email protected]> Changes made by deleting the TestSettingsIT file and adding new lines in FullClusterRestartSettingsUpgradeIT.java Signed-off-by: Megha Sai Kavikondala <[email protected]>

    • Signed-off-by: Megha Sai Kavikondala <[email protected]> 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 <[email protected]> Co-authored-by: Jan Baudisch <[email protected]>

  • Upgrading gson to 2.8.9 (#1541). (#1545)

    Vacha - Fri, 19 Nov 2021 16:52:38 -0500

    Signed-off-by: Vacha <[email protected]>

  • [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 <[email protected]>

  • 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 <[email protected]>

    • Signed-off-by: Megha Sai Kavikondala <[email protected]> Changes made by deleting the TestSettingsIT file and adding new lines in FullClusterRestartSettingsUpgradeIT.java Signed-off-by: Megha Sai Kavikondala <[email protected]>

  • 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 <[email protected]>

    • Ensures that only plugin directories are returned by findPluginDirs() Signed-off-by: Ryan Bogan <[email protected]>

    • Prevents . files from being returned as plugins Signed-off-by: Ryan Bogan <[email protected]>

  • Add staged version 1.1.1 (#1509)

    Nick Knize - Thu, 4 Nov 2021 14:46:57 -0500

    Signed-off-by: Nicholas Walter Knize <[email protected]>