Skip to content

Commit b4e9a85

Browse files
committed
Merge branch 'main' into fix-npe-in-replicashardallocator
# Conflicts: # CHANGELOG.md
2 parents 47d96c2 + 4abcf39 commit b4e9a85

File tree

558 files changed

+22185
-8292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

558 files changed

+22185
-8292
lines changed

.ci/bwcVersions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ BWC_VERSION:
3434
- "2.14.0"
3535
- "2.14.1"
3636
- "2.15.0"
37+
- "2.15.1"
3738
- "2.16.0"

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# 3. Use the command palette to run the CODEOWNERS: Show owners of current file command, which will display all code owners for the current file.
1212

1313
# Default ownership for all repo files
14-
* @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @reta @Rishikesh1159 @sachinpkale @saratvemulapalli @shwetathareja @sohami @tlfeng @VachaShah
14+
* @anasalkouz @andrross @ashking94 @Bukhtawar @CEHENKLE @dblock @dbwiddis @gbbafna @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @reta @Rishikesh1159 @sachinpkale @saratvemulapalli @shwetathareja @sohami @VachaShah
1515

1616
/modules/transport-netty4/ @peternied
1717

@@ -24,4 +24,4 @@
2424

2525
/.github/ @peternied
2626

27-
/MAINTAINERS.md @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @jed326 @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @peternied @reta @Rishikesh1159 @sachinpkale @saratvemulapalli @shwetathareja @sohami @tlfeng @VachaShah
27+
/MAINTAINERS.md @anasalkouz @andrross @ashking94 @Bukhtawar @CEHENKLE @dblock @dbwiddis @gaobinlong @gbbafna @jed326 @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @peternied @reta @Rishikesh1159 @sachinpkale @saratvemulapalli @shwetathareja @sohami @VachaShah

.github/workflows/gradle-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ jobs:
113113
if: success()
114114
uses: codecov/codecov-action@v4
115115
with:
116+
token: ${{ secrets.CODECOV_TOKEN }}
116117
files: ./codeCoverage.xml
117118

118119
- name: Create Comment Success

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,75 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
## [Unreleased 2.x]
77
### Added
88
- Add fingerprint ingest processor ([#13724](https://github.com/opensearch-project/OpenSearch/pull/13724))
9+
- [Remote Store] Rate limiter for remote store low priority uploads ([#14374](https://github.com/opensearch-project/OpenSearch/pull/14374/))
10+
- Apply the date histogram rewrite optimization to range aggregation ([#13865](https://github.com/opensearch-project/OpenSearch/pull/13865))
11+
- [Writable Warm] Add composite directory implementation and integrate it with FileCache ([12782](https://github.com/opensearch-project/OpenSearch/pull/12782))
12+
- [Workload Management] Add QueryGroup schema ([13669](https://github.com/opensearch-project/OpenSearch/pull/13669))
13+
- Add batching supported processor base type AbstractBatchingProcessor ([#14554](https://github.com/opensearch-project/OpenSearch/pull/14554))
14+
- Fix race condition while parsing derived fields from search definition ([14445](https://github.com/opensearch-project/OpenSearch/pull/14445))
15+
- Add `strict_allow_templates` dynamic mapping option ([#14555](https://github.com/opensearch-project/OpenSearch/pull/14555))
16+
- Add allowlist setting for ingest-common and search-pipeline-common processors ([#14439](https://github.com/opensearch-project/OpenSearch/issues/14439))
17+
- [Workload Management] add queryGroupId header propagator across requests and nodes ([#14614](https://github.com/opensearch-project/OpenSearch/pull/14614))
18+
- Create SystemIndexRegistry with helper method matchesSystemIndex ([#14415](https://github.com/opensearch-project/OpenSearch/pull/14415))
19+
- Print reason why parent task was cancelled ([#14604](https://github.com/opensearch-project/OpenSearch/issues/14604))
20+
- Add matchesPluginSystemIndexPattern to SystemIndexRegistry ([#14750](https://github.com/opensearch-project/OpenSearch/pull/14750))
21+
- Add Plugin interface for loading application based configuration templates (([#14659](https://github.com/opensearch-project/OpenSearch/issues/14659)))
22+
- Refactor remote-routing-table service inline with remote state interfaces([#14668](https://github.com/opensearch-project/OpenSearch/pull/14668))
923

1024
### Dependencies
1125
- Bump `org.gradle.test-retry` from 1.5.8 to 1.5.9 ([#13442](https://github.com/opensearch-project/OpenSearch/pull/13442))
1226
- Update to Apache Lucene 9.11.0 ([#14042](https://github.com/opensearch-project/OpenSearch/pull/14042))
1327
- Bump `netty` from 4.1.110.Final to 4.1.111.Final ([#14356](https://github.com/opensearch-project/OpenSearch/pull/14356))
1428
- Bump `org.wiremock:wiremock-standalone` from 3.3.1 to 3.6.0 ([#14361](https://github.com/opensearch-project/OpenSearch/pull/14361))
29+
- Bump `reactor` from 3.5.17 to 3.5.19 ([#14395](https://github.com/opensearch-project/OpenSearch/pull/14395), [#14697](https://github.com/opensearch-project/OpenSearch/pull/14697))
30+
- Bump `reactor-netty` from 1.1.19 to 1.1.21 ([#14395](https://github.com/opensearch-project/OpenSearch/pull/14395), [#14697](https://github.com/opensearch-project/OpenSearch/pull/14697))
31+
- Bump `commons-net:commons-net` from 3.10.0 to 3.11.1 ([#14396](https://github.com/opensearch-project/OpenSearch/pull/14396))
32+
- Bump `com.nimbusds:nimbus-jose-jwt` from 9.37.3 to 9.40 ([#14398](https://github.com/opensearch-project/OpenSearch/pull/14398))
33+
- Bump `org.apache.commons:commons-configuration2` from 2.10.1 to 2.11.0 ([#14399](https://github.com/opensearch-project/OpenSearch/pull/14399))
34+
- Bump `com.gradle.develocity` from 3.17.4 to 3.17.5 ([#14397](https://github.com/opensearch-project/OpenSearch/pull/14397))
35+
- Bump `opentelemetry` from 1.36.0 to 1.40.0 ([#14457](https://github.com/opensearch-project/OpenSearch/pull/14457), [#14674](https://github.com/opensearch-project/OpenSearch/pull/14674))
36+
- Bump `opentelemetry-semconv` from 1.25.0-alpha to 1.26.0-alpha ([#14674](https://github.com/opensearch-project/OpenSearch/pull/14674))
37+
- Bump `azure-identity` from 1.11.4 to 1.13.0, Bump `msal4j` from 1.14.3 to 1.15.1, Bump `msal4j-persistence-extension` from 1.2.0 to 1.3.0 ([#14506](https://github.com/opensearch-project/OpenSearch/pull/14673))
38+
- Bump `com.azure:azure-storage-common` from 12.21.2 to 12.25.1 ([#14517](https://github.com/opensearch-project/OpenSearch/pull/14517))
39+
- Bump `com.microsoft.azure:msal4j` from 1.15.1 to 1.16.0 ([#14610](https://github.com/opensearch-project/OpenSearch/pull/14610))
40+
- Bump `com.github.spullara.mustache.java:compiler` from 0.9.13 to 0.9.14 ([#14672](https://github.com/opensearch-project/OpenSearch/pull/14672))
41+
- Bump `net.minidev:accessors-smart` from 2.5.0 to 2.5.1 ([#14673](https://github.com/opensearch-project/OpenSearch/pull/14673))
42+
- Bump `jackson` from 2.17.1 to 2.17.2 ([#14687](https://github.com/opensearch-project/OpenSearch/pull/14687))
43+
- Bump `net.minidev:json-smart` from 2.5.0 to 2.5.1 ([#14748](https://github.com/opensearch-project/OpenSearch/pull/14748))
1544

1645
### Changed
46+
- [Tiered Caching] Move query recomputation logic outside write lock ([#14187](https://github.com/opensearch-project/OpenSearch/pull/14187))
47+
- unsignedLongRangeQuery now returns MatchNoDocsQuery if the lower bounds are greater than the upper bounds ([#14416](https://github.com/opensearch-project/OpenSearch/pull/14416))
48+
- Updated the `indices.query.bool.max_clause_count` setting from being static to dynamically updateable ([#13568](https://github.com/opensearch-project/OpenSearch/pull/13568))
49+
- Make the class CommunityIdProcessor final ([#14448](https://github.com/opensearch-project/OpenSearch/pull/14448))
50+
- Allow @InternalApi annotation on classes not meant to be constructed outside of the OpenSearch core ([#14575](https://github.com/opensearch-project/OpenSearch/pull/14575))
51+
- Add @InternalApi annotation to japicmp exclusions ([#14597](https://github.com/opensearch-project/OpenSearch/pull/14597))
52+
- Allow system index warning in OpenSearchRestTestCase.refreshAllIndices ([#14635](https://github.com/opensearch-project/OpenSearch/pull/14635))
1753

1854
### Deprecated
1955

2056
### Removed
57+
- Remove query categorization changes ([#14759](https://github.com/opensearch-project/OpenSearch/pull/14759))
2158

2259
### Fixed
60+
- Fix bug in SBP cancellation logic ([#13259](https://github.com/opensearch-project/OpenSearch/pull/13474))
61+
- Fix handling of Short and Byte data types in ScriptProcessor ingest pipeline ([#14379](https://github.com/opensearch-project/OpenSearch/issues/14379))
62+
- Switch to iterative version of WKT format parser ([#14086](https://github.com/opensearch-project/OpenSearch/pull/14086))
63+
- Fix match_phrase_prefix_query not working on text field with multiple values and index_prefixes ([#10959](https://github.com/opensearch-project/OpenSearch/pull/10959))
64+
- Fix the computed max shards of cluster to avoid int overflow ([#14155](https://github.com/opensearch-project/OpenSearch/pull/14155))
65+
- Fixed rest-high-level client searchTemplate & mtermVectors endpoints to have a leading slash ([#14465](https://github.com/opensearch-project/OpenSearch/pull/14465))
66+
- Write shard level metadata blob when snapshotting searchable snapshot indexes ([#13190](https://github.com/opensearch-project/OpenSearch/pull/13190))
67+
- Fix aggs result of NestedAggregator with sub NestedAggregator ([#13324](https://github.com/opensearch-project/OpenSearch/pull/13324))
68+
- Fix fs info reporting negative available size ([#11573](https://github.com/opensearch-project/OpenSearch/pull/11573))
69+
- Add ListPitInfo::getKeepAlive() getter ([#14495](https://github.com/opensearch-project/OpenSearch/pull/14495))
70+
- Fix FuzzyQuery in keyword field will use IndexOrDocValuesQuery when both of index and doc_value are true ([#14378](https://github.com/opensearch-project/OpenSearch/pull/14378))
71+
- Fix file cache initialization ([#14004](https://github.com/opensearch-project/OpenSearch/pull/14004))
72+
- Handle NPE in GetResult if "found" field is missing ([#14552](https://github.com/opensearch-project/OpenSearch/pull/14552))
73+
- Fix create or update alias API doesn't throw exception for unsupported parameters ([#14719](https://github.com/opensearch-project/OpenSearch/pull/14719))
74+
- Refactoring FilterPath.parse by using an iterative approach ([#14200](https://github.com/opensearch-project/OpenSearch/pull/14200))
75+
- Refactoring Grok.validatePatternBank by using an iterative approach ([#14206](https://github.com/opensearch-project/OpenSearch/pull/14206))
76+
- Update help output for _cat ([#14722](https://github.com/opensearch-project/OpenSearch/pull/14722))
77+
- Fix bulk upsert ignores the default_pipeline and final_pipeline when auto-created index matches the index template ([#12891](https://github.com/opensearch-project/OpenSearch/pull/12891))
2378
- Fix NPE in ReplicaShardAllocator ([#14385](https://github.com/opensearch-project/OpenSearch/pull/14385))
2479

2580
### Security

DEVELOPER_GUIDE.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -651,16 +651,18 @@ Note that these snapshots do not follow the Maven [naming convention](https://ma
651651

652652
### Flaky Tests
653653

654-
OpenSearch has a very large test suite with long running, often failing (flaky), integration tests. Such individual tests are labelled as [Flaky Random Test Failure](https://github.com/opensearch-project/OpenSearch/issues?q=is%3Aopen+is%3Aissue+label%3A%22flaky-test%22). Your help is wanted fixing these!
654+
If you encounter a test failure locally or in CI that is seemingly unrelated to the change in your pull request, it may be a known flaky test or a new test failure. OpenSearch has a very large test suite with long running, often failing (flaky), integration tests. Such individual tests are labelled as [Flaky Random Test Failure](https://github.com/opensearch-project/OpenSearch/issues?q=is%3Aopen+is%3Aissue+label%3A%22flaky-test%22). Your help is wanted fixing these!
655655

656-
If you encounter a build/test failure in CI that is unrelated to the change in your pull request, it may be a known flaky test, or a new test failure.
656+
The automation [gradle-check-flaky-test-detector](https://build.ci.opensearch.org/job/gradle-check-flaky-test-detector/), which runs in OpenSearch public Jenkins, identifies failing flaky issues that are part of post-merge actions. Once a flaky test is identified, the automation creates an issue with detailed report that includes links to all relevant commits, the Gradle check build log, the test report, and pull requests that are impacted with the flaky test failures. This automation leverages data from the [OpenSearch Metrics Project](https://github.com/opensearch-project/opensearch-metrics) to establish a baseline for creating the issue and updating the flaky test report. For all flaky test issues created by automation, visit this [link](https://github.com/opensearch-project/OpenSearch/issues?q=is%3Aissue+is%3Aopen+label%3A%3Etest-failure+author%3Aopensearch-ci-bot).
657+
658+
If you still see a failing test that is not part of the post merge actions, please do:
659+
660+
* Follow failed CI links, and locate the failing test(s) or use the [Gradle Check Metrics Dashboard](#gradle-check-metrics-dashboard).
661+
* Copy-paste the failure into a comment of your PR.
662+
* Search through issues using the name of the failed test for whether this is a known flaky test.
663+
* If no existing issue is found, open one.
664+
* Retry CI via the GitHub UX or by pushing an update to your PR.
657665

658-
1. Follow failed CI links, and locate the failing test(s).
659-
2. Copy-paste the failure into a comment of your PR.
660-
3. Search through [issues](https://github.com/opensearch-project/OpenSearch/issues?q=is%3Aopen+is%3Aissue+label%3A%22flaky-test%22) using the name of the failed test for whether this is a known flaky test.
661-
4. If an existing issue is found, paste a link to the known issue in a comment to your PR.
662-
5. If no existing issue is found, open one.
663-
6. Retry CI via the GitHub UX or by pushing an update to your PR.
664666

665667
### Gradle Check Metrics Dashboard
666668

MAINTAINERS.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
99
| Anas Alkouz | [anasalkouz](https://github.com/anasalkouz) | Amazon |
1010
| Andrew Ross | [andrross](https://github.com/andrross) | Amazon |
1111
| Andriy Redko | [reta](https://github.com/reta) | Aiven |
12+
| Ashish Singh | [ashking94](https://github.com/ashking94) | Amazon |
1213
| Bukhtawar Khan | [Bukhtawar](https://github.com/Bukhtawar) | Amazon |
1314
| Charlotte Henkle | [CEHENKLE](https://github.com/CEHENKLE) | Amazon |
1415
| Dan Widdis | [dbwiddis](https://github.com/dbwiddis) | Amazon |
1516
| Daniel "dB." Doubrovkine | [dblock](https://github.com/dblock) | Amazon |
17+
| Gao Binlong | [gaobinlong](https://github.com/gaobinlong) | Amazon |
1618
| Gaurav Bafna | [gbbafna](https://github.com/gbbafna) | Amazon |
1719
| Jay Deng | [jed326](https://github.com/jed326) | Amazon |
1820
| Kunal Kotwani | [kotwanikunal](https://github.com/kotwanikunal) | Amazon |
@@ -26,18 +28,18 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
2628
| Sarat Vemulapalli | [saratvemulapalli](https://github.com/saratvemulapalli) | Amazon |
2729
| Shweta Thareja | [shwetathareja](https://github.com/shwetathareja) | Amazon |
2830
| Sorabh Hamirwasia | [sohami](https://github.com/sohami) | Amazon |
29-
| Suraj Singh | [dreamer-89](https://github.com/dreamer-89) | Amazon |
30-
| Tianli Feng | [tlfeng](https://github.com/tlfeng) | Amazon |
3131
| Vacha Shah | [VachaShah](https://github.com/VachaShah) | Amazon |
3232

3333
## Emeritus
3434

35-
| Maintainer | GitHub ID | Affiliation |
36-
| --------------------- | ----------------------------------------- | ----------- |
37-
| Megha Sai Kavikondala | [meghasaik](https://github.com/meghasaik) | Amazon |
38-
| Xue Zhou | [xuezhou25](https://github.com/xuezhou25) | Amazon |
39-
| Kartik Ganesh | [kartg](https://github.com/kartg) | Amazon |
40-
| Abbas Hussain | [abbashus](https://github.com/abbashus) | Meta |
41-
| Himanshu Setia | [setiah](https://github.com/setiah) | Amazon |
42-
| Ryan Bogan | [ryanbogan](https://github.com/ryanbogan) | Amazon |
43-
| Rabi Panda | [adnapibar](https://github.com/adnapibar) | Independent |
35+
| Maintainer | GitHub ID | Affiliation |
36+
| ---------------------- |-------------------------------------------- | ----------- |
37+
| Megha Sai Kavikondala | [meghasaik](https://github.com/meghasaik) | Amazon |
38+
| Xue Zhou | [xuezhou25](https://github.com/xuezhou25) | Amazon |
39+
| Kartik Ganesh | [kartg](https://github.com/kartg) | Amazon |
40+
| Abbas Hussain | [abbashus](https://github.com/abbashus) | Meta |
41+
| Himanshu Setia | [setiah](https://github.com/setiah) | Amazon |
42+
| Ryan Bogan | [ryanbogan](https://github.com/ryanbogan) | Amazon |
43+
| Rabi Panda | [adnapibar](https://github.com/adnapibar) | Independent |
44+
| Tianli Feng | [tlfeng](https://github.com/tlfeng) | Amazon |
45+
| Suraj Singh | [dreamer-89](https://github.com/dreamer-89) | Amazon |

0 commit comments

Comments
 (0)