Skip to content

Commit 740b5e1

Browse files
committed
Merge remote-tracking branch 'od/2.x' into backport13179to2.x
Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
2 parents 5a08409 + 3b19a45 commit 740b5e1

File tree

1,260 files changed

+33876
-5956
lines changed

Some content is hidden

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

1,260 files changed

+33876
-5956
lines changed

.ci/bwcVersions

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ BWC_VERSION:
5252
- "1.3.13"
5353
- "1.3.14"
5454
- "1.3.15"
55+
- "1.3.16"
5556
- "2.0.0"
5657
- "2.0.1"
5758
- "2.0.2"
@@ -81,4 +82,7 @@ BWC_VERSION:
8182
- "2.11.1"
8283
- "2.11.2"
8384
- "2.12.0"
85+
- "2.12.1"
86+
- "2.13.0"
87+
- "2.13.1"
8488

.github/CODEOWNERS

+2-2
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-
* @abbashus @adnapibar @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kartg @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @reta @Rishikesh1159 @ryanbogan @sachinpkale @saratvemulapalli @setiah @shwetathareja @sohami @tlfeng @VachaShah
14+
* @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @reta @Rishikesh1159 @sachinpkale @saratvemulapalli @shwetathareja @sohami @tlfeng @VachaShah
1515

1616
/modules/transport-netty4/ @peternied
1717

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

2525
/.github/ @peternied
2626

27-
/MAINTAINERS.md @abbashus @adnapibar @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kartg @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @peternied @reta @Rishikesh1159 @ryanbogan @sachinpkale @saratvemulapalli @setiah @shwetathareja @sohami @tlfeng @VachaShah
27+
/MAINTAINERS.md @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @peternied @reta @Rishikesh1159 @sachinpkale @saratvemulapalli @shwetathareja @sohami @tlfeng @VachaShah

.github/workflows/changelog_verifier.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Changelog Verifier"
22
on:
33
pull_request:
4-
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled]
4+
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
55

66
jobs:
77
# Enforces the update of a changelog file on every pull request
@@ -13,7 +13,8 @@ jobs:
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
1515
ref: ${{ github.event.pull_request.head.sha }}
16-
1716
- uses: dangoslen/changelog-enforcer@v3
17+
id: verify-changelog
1818
with:
1919
skipLabels: "autocut, skip-changelog"
20+
changeLogPath: 'CHANGELOG.md'

.github/workflows/check-compatibility.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
body-includes: 'Compatibility status:'
6262

6363
- name: Add comment on the PR
64-
uses: peter-evans/create-or-update-comment@v3
64+
uses: peter-evans/create-or-update-comment@v4
6565
with:
6666
comment-id: ${{ steps.fc.outputs.comment-id }}
6767
issue-number: ${{ github.event.number }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Detect Breaking Changes"
2+
on:
3+
pull_request
4+
5+
jobs:
6+
detect-breaking-change:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-java@v4
11+
with:
12+
distribution: temurin # Temurin is a distribution of adoptium
13+
java-version: 21
14+
- uses: gradle/gradle-build-action@v3
15+
with:
16+
cache-disabled: true
17+
arguments: japicmp
18+
gradle-version: 8.7
19+
build-root-directory: server
20+
- if: failure()
21+
run: cat server/build/reports/java-compatibility/report.txt
22+
- if: failure()
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: java-compatibility-report.html
26+
path: ${{ github.workspace }}/server/build/reports/java-compatibility/report.html
27+

.github/workflows/gradle-check.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ jobs:
7272
7373
- name: Upload Coverage Report
7474
if: success()
75-
uses: codecov/codecov-action@v3
75+
uses: codecov/codecov-action@v4
7676
with:
7777
files: ./codeCoverage.xml
7878

7979
- name: Create Comment Success
8080
if: ${{ github.event_name == 'pull_request_target' && success() && env.result == 'SUCCESS' }}
81-
uses: peter-evans/create-or-update-comment@v3
81+
uses: peter-evans/create-or-update-comment@v4
8282
with:
8383
issue-number: ${{ env.pr_number }}
8484
body: |
@@ -101,7 +101,7 @@ jobs:
101101
102102
- name: Create Comment Flaky
103103
if: ${{ github.event_name == 'pull_request_target' && success() && env.result != 'SUCCESS' }}
104-
uses: peter-evans/create-or-update-comment@v3
104+
uses: peter-evans/create-or-update-comment@v4
105105
with:
106106
issue-number: ${{ env.pr_number }}
107107
body: |
@@ -111,7 +111,7 @@ jobs:
111111
112112
- name: Create Comment Failure
113113
if: ${{ github.event_name == 'pull_request_target' && failure() }}
114-
uses: peter-evans/create-or-update-comment@v3
114+
uses: peter-evans/create-or-update-comment@v4
115115
with:
116116
issue-number: ${{ env.pr_number }}
117117
body: |

.github/workflows/links.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- name: lychee Link Checker
1515
id: lychee
16-
uses: lycheeverse/lychee-action@v1.9.1
16+
uses: lycheeverse/lychee-action@v1.9.3
1717
with:
1818
args: --accept=200,403,429 --exclude-mail **/*.html **/*.md **/*.txt **/*.json --exclude-file .lychee.excludes
1919
fail: true

.github/workflows/poc-checklist.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Add comment
2+
on:
3+
issues:
4+
types:
5+
- labeled
6+
jobs:
7+
add-comment:
8+
if: github.event.label.name == 'poc'
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- name: Add comment
14+
uses: peter-evans/create-or-update-comment@v4
15+
with:
16+
issue-number: ${{ github.event.issue.number }}
17+
body: |
18+
### POC Checklist:
19+
20+
Please go through the following checklist to ensure these items are taken into account while designing the POC.
21+
22+
- [ ] Supports safe upgrade paths from all supported BWC versions to the current version
23+
- [ ] Supports compatibility with all plugins
24+
- [ ] opensearch-alerting
25+
- [ ] opensearch-anomaly-detection
26+
- [ ] opensearch-asynchronous-search
27+
- [ ] opensearch-cross-cluster-replication
28+
- [ ] opensearch-geospatial
29+
- [ ] opensearch-index-management
30+
- [ ] opensearch-job-scheduler
31+
- [ ] opensearch-knn
32+
- [ ] opensearch-ml
33+
- [ ] opensearch-notifications
34+
- [ ] opensearch-notifications-core
35+
- [ ] opensearch-observability
36+
- [ ] opensearch-performance-analyzer
37+
- [ ] opensearch-reports-scheduler
38+
- [ ] opensearch-security
39+
- [ ] opensearch-sql
40+
- [ ] Supports lucene upgrades across minor lucene versions
41+
- [ ] Supports lucene upgrades across major lucene versions
42+
- [ ] Supports lucene upgrades across underlying lucene codec bumps (Eg: Lucene95Codec -> Lucene96Codec)
43+
- [ ] Supports wire compatibility of OpenSearch
44+
- [ ] Plan to measure performance degradation/improvement (if any)
45+
- [ ] Plan to document any user facing changes introduced by this feature
46+
- [ ] Ensure working and passing CI
47+
48+
Thank you for your contribution!
49+

.github/workflows/version.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
sed -i "s/CURRENT = $CURRENT_VERSION_UNDERSCORE;/CURRENT = $NEXT_VERSION_UNDERSCORE;/g" libs/core/src/main/java/org/opensearch/Version.java
6060
6161
- name: Create Pull Request
62-
uses: peter-evans/create-pull-request@v5
62+
uses: peter-evans/create-pull-request@v6
6363
with:
6464
token: ${{ steps.github_app_token.outputs.token }}
6565
base: ${{ env.BASE }}
@@ -86,7 +86,7 @@ jobs:
8686
sed -i "s/public static final Version $CURRENT_VERSION_UNDERSCORE = new Version(\([[:digit:]]\+\)\(.*\));/\0\n public static final Version $NEXT_VERSION_UNDERSCORE = new Version($NEXT_VERSION_ID\2);/g" libs/core/src/main/java/org/opensearch/Version.java
8787
8888
- name: Create Pull Request
89-
uses: peter-evans/create-pull-request@v5
89+
uses: peter-evans/create-pull-request@v6
9090
with:
9191
token: ${{ steps.github_app_token.outputs.token }}
9292
base: ${{ env.BASE_X }}
@@ -108,12 +108,13 @@ jobs:
108108
- name: Add bwc version to main branch
109109
run: |
110110
echo Adding bwc version $NEXT_VERSION after $CURRENT_VERSION
111+
sed -i "s/$CURRENT_VERSION/$NEXT_VERSION/g" README.md
111112
sed -i "s/- \"$CURRENT_VERSION\"/\0\n - \"$NEXT_VERSION\"/g" .ci/bwcVersions
112113
echo Adding $NEXT_VERSION_UNDERSCORE after $CURRENT_VERSION_UNDERSCORE
113114
sed -i "s/public static final Version $CURRENT_VERSION_UNDERSCORE = new Version(\([[:digit:]]\+\)\(.*\));/\0\n public static final Version $NEXT_VERSION_UNDERSCORE = new Version($NEXT_VERSION_ID\2);/g" libs/core/src/main/java/org/opensearch/Version.java
114115
115116
- name: Create Pull Request
116-
uses: peter-evans/create-pull-request@v5
117+
uses: peter-evans/create-pull-request@v6
117118
with:
118119
token: ${{ steps.github_app_token.outputs.token }}
119120
base: main

.github/workflows/wrapper.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: gradle/wrapper-validation-action@v1
11+
- uses: gradle/wrapper-validation-action@v3

CHANGELOG.md

+33-5
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,50 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55

66
## [Unreleased 2.x]
77
### Added
8-
- Add support for dependencies in plugin descriptor properties with semver range ([#11441](https://github.com/opensearch-project/OpenSearch/pull/11441))
9-
- Add community_id ingest processor ([#12121](https://github.com/opensearch-project/OpenSearch/pull/12121))
10-
- Introduce query level setting `index.query.max_nested_depth` limiting nested queries ([#3268](https://github.com/opensearch-project/OpenSearch/issues/3268)
8+
- Add explicit dependency to validatePom and generatePom tasks ([#12909](https://github.com/opensearch-project/OpenSearch/pull/12909))
9+
- [Concurrent Segment Search] Perform buildAggregation concurrently and support Composite Aggregations ([#12697](https://github.com/opensearch-project/OpenSearch/pull/12697))
10+
- Convert ingest processor supports ip type ([#12818](https://github.com/opensearch-project/OpenSearch/pull/12818))
11+
- Allow setting KEYSTORE_PASSWORD through env variable ([#12865](https://github.com/opensearch-project/OpenSearch/pull/12865))
12+
- Add a counter to node stat (and _cat/shards) api to track shard going from idle to non-idle ([#12768](https://github.com/opensearch-project/OpenSearch/pull/12768))
13+
- [Concurrent Segment Search] Disable concurrent segment search for system indices and throttled requests ([#12954](https://github.com/opensearch-project/OpenSearch/pull/12954))
14+
- [Tiered Caching] Make took time caching policy setting dynamic ([#13063](https://github.com/opensearch-project/OpenSearch/pull/13063))
15+
- Detect breaking changes on pull requests ([#9044](https://github.com/opensearch-project/OpenSearch/pull/9044))
16+
- Add cluster primary balance contraint for rebalancing with buffer ([#12656](https://github.com/opensearch-project/OpenSearch/pull/12656))
17+
- Derived fields support to derive field values at query time without indexing ([#12569](https://github.com/opensearch-project/OpenSearch/pull/12569))
18+
- Add support for more than one protocol for transport ([#12967](https://github.com/opensearch-project/OpenSearch/pull/12967))
19+
- Add changes for overriding remote store and replication settings during snapshot restore. ([#11868](https://github.com/opensearch-project/OpenSearch/pull/11868))
20+
- Reject Resize index requests (i.e, split, shrink and clone), While DocRep to SegRep migration is in progress.([#12686](https://github.com/opensearch-project/OpenSearch/pull/12686))
21+
- Add an individual setting of rate limiter for segment replication ([#12959](https://github.com/opensearch-project/OpenSearch/pull/12959))
1122
- Add cluster setting to dynamically configure the buckets for filter rewrite optimization. ([#13179](https://github.com/opensearch-project/OpenSearch/pull/13179))
1223

1324
### Dependencies
25+
- Bump `org.apache.commons:commons-configuration2` from 2.10.0 to 2.10.1 ([#12896](https://github.com/opensearch-project/OpenSearch/pull/12896))
26+
- Bump `asm` from 9.6 to 9.7 ([#12908](https://github.com/opensearch-project/OpenSearch/pull/12908))
27+
- Bump `net.minidev:json-smart` from 2.5.0 to 2.5.1 ([#12893](https://github.com/opensearch-project/OpenSearch/pull/12893), [#13117](https://github.com/opensearch-project/OpenSearch/pull/13117))
28+
- Bump `netty` from 4.1.107.Final to 4.1.108.Final ([#12924](https://github.com/opensearch-project/OpenSearch/pull/12924))
29+
- Bump `commons-io:commons-io` from 2.15.1 to 2.16.0 ([#12996](https://github.com/opensearch-project/OpenSearch/pull/12996), [#12998](https://github.com/opensearch-project/OpenSearch/pull/12998), [#12999](https://github.com/opensearch-project/OpenSearch/pull/12999))
30+
- Bump `org.apache.commons:commons-compress` from 1.24.0 to 1.26.1 ([#12627](https://github.com/opensearch-project/OpenSearch/pull/12627))
31+
- Bump `org.apache.commons:commonscodec` from 1.15 to 1.16.1 ([#12627](https://github.com/opensearch-project/OpenSearch/pull/12627))
32+
- Bump `org.apache.commons:commonslang` from 3.13.0 to 3.14.0 ([#12627](https://github.com/opensearch-project/OpenSearch/pull/12627))
33+
- Bump Apache Tika from 2.6.0 to 2.9.2 ([#12627](https://github.com/opensearch-project/OpenSearch/pull/12627))
34+
- Bump `com.gradle.enterprise` from 3.16.2 to 3.17.1 ([#13116](https://github.com/opensearch-project/OpenSearch/pull/13116), [#13191](https://github.com/opensearch-project/OpenSearch/pull/13191))
35+
- Bump `gradle/wrapper-validation-action` from 2 to 3 ([#13192](https://github.com/opensearch-project/OpenSearch/pull/13192))
1436

1537
### Changed
38+
- [BWC and API enforcement] Enforcing the presence of API annotations at build time ([#12872](https://github.com/opensearch-project/OpenSearch/pull/12872))
39+
- Improve built-in secure transports support ([#12907](https://github.com/opensearch-project/OpenSearch/pull/12907))
40+
- Update links to documentation in rest-api-spec ([#13043](https://github.com/opensearch-project/OpenSearch/pull/13043))
41+
- Refactoring globMatch using simpleMatchWithNormalizedStrings from Regex ([#13104](https://github.com/opensearch-project/OpenSearch/pull/13104))
1642

1743
### Deprecated
1844

1945
### Removed
2046

2147
### Fixed
22-
- Add a system property to configure YamlParser codepoint limits ([#12298](https://github.com/opensearch-project/OpenSearch/pull/12298))
48+
- Fix bulk API ignores ingest pipeline for upsert ([#12883](https://github.com/opensearch-project/OpenSearch/pull/12883))
49+
- Fix issue with feature flags where default value may not be honored ([#12849](https://github.com/opensearch-project/OpenSearch/pull/12849))
50+
- Fix implement mark() and markSupported() in class FilterStreamInput ([#13098](https://github.com/opensearch-project/OpenSearch/pull/13098))
2351

2452
### Security
2553

26-
[Unreleased 2.x]: https://github.com/opensearch-project/OpenSearch/compare/2.12...2.x
54+
[Unreleased 2.x]: https://github.com/opensearch-project/OpenSearch/compare/2.13...2.x

0 commit comments

Comments
 (0)