Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
4da03a9
Add streaming search with configurable scoring modes
atris Aug 25, 2025
c8038b2
Fix flaky ExistsQueryBuilderTests.testToQuery (#18995)
atris Aug 11, 2025
bb08d4d
Fix NPE in segment replicator (#18997)
andrross Aug 11, 2025
d5fca4f
Add temporal routing processors for time-based document routing (#18966)
atris Aug 11, 2025
f85cc72
Bump actions/checkout from 4 to 5 (#19023)
dependabot[bot] Aug 12, 2025
1904104
Exclude commons-beanutils from dep on hadoop-miniclusters (#19001)
andrross Aug 12, 2025
f48ae8d
Bump commons-cli:commons-cli from 1.9.0 to 1.10.0 in /plugins/reposit…
dependabot[bot] Aug 12, 2025
fbc3689
Bump com.netflix.nebula.ospackage-base from 12.0.0 to 12.1.0 in /dist…
dependabot[bot] Aug 12, 2025
f82aea4
Bump org.jline:jline from 3.30.4 to 3.30.5 in /test/fixtures/hdfs-fix…
dependabot[bot] Aug 12, 2025
13b3420
Bump com.github.spotbugs:spotbugs-annotations from 4.9.3 to 4.9.4 in …
dependabot[bot] Aug 12, 2025
9c1a895
Add CompletionStage variants to methods in the Client Interface and d…
cwperks Aug 12, 2025
137d11f
Bump com.azure:azure-storage-common from 12.29.1 to 12.30.1 in /plugi…
dependabot[bot] Aug 12, 2025
323c0fe
Ensure that plugins that utilize dumpCoverage can write to jacoco.dir…
cwperks Aug 12, 2025
af59d40
Expand fetch phase profiling to support inner hits and top hits aggre…
andrevandeven Aug 12, 2025
919ea24
Enable backward compatibility tests on Mac (#18983)
cwperks Aug 12, 2025
bf48c08
Fix flaky WeightedRoutingIT (#19032)
guojialiang92 Aug 12, 2025
215e354
Fix faulty assertion in AutoForceMergeManagerTests (#19024)
andrross Aug 12, 2025
b5bd7bf
Bump version on main branch to 3.3 (#19033)
bowenlan-amzn Aug 13, 2025
48709fb
Add false_allow_templates as a dynamic mapping option (#18825)
bruce-hong-glean Aug 13, 2025
d231e05
Fix Flaky NodeJoinLeftIT Test (#19059)
atris Aug 13, 2025
ce9757c
Revert "Add false_allow_templates as a dynamic mapping option (#18825…
andrross Aug 13, 2025
2fab9f6
Introduce false_allow_templates as a dynamic mapping option (#19065)
bruce-hong-glean Aug 13, 2025
61e5c83
IllegalArgumentException when scroll ID has a node no longer part of …
anuragrai16 Aug 14, 2025
10d32e1
Add toBuilder() method in EngineConfig (#19054)
RajatGupta02 Aug 14, 2025
64ca11d
Fix flaky test PemTrustConfigTests#testTrustConfigReloadsFileContents…
beanuwave Aug 14, 2025
10fb2e3
Update OpenTelemetry to 1.53.0 and OpenTelemetry SemConv to 1.34.0 (#…
reta Aug 14, 2025
7105abc
Fix flaky CopyProcessorTests (#19074)
guojialiang92 Aug 14, 2025
2223621
Fix the version check in 400_max_score.yml (#19049)
gaobinlong Aug 14, 2025
84ec3b2
restrict access modifier in IpFieldMapper (#19077)
sandeshkr419 Aug 14, 2025
b18fb70
Set context class loader to plugin's class loader when constructing k…
bugmakerrrrrr Aug 15, 2025
f8726d3
Fix flaky CompletionStatsCacheTests.testCompletionStatsCache (#19076)
atris Aug 15, 2025
c28a95f
Add circuit breaking logic for shard level results (#19066)
kaushalmahi12 Aug 15, 2025
feb14ea
Add GRPC PR 18925 to 3.2 release notes (#19087)
karenyrx Aug 15, 2025
97395f7
Grant access to testclusters dir for tests (#19085)
cwperks Aug 16, 2025
74d4054
Bump 1password/load-secrets-action from 2 to 3 (#19100)
dependabot[bot] Aug 19, 2025
583261c
Bump com.nimbusds:nimbus-jose-jwt from 10.3 to 10.4.2 in /test/fixtur…
dependabot[bot] Aug 19, 2025
a5a7c6c
Fix flaky SearchPhaseControllerTests cancellation tests (#19096)
atris Aug 19, 2025
3bc5b80
Add ScriptedAvg class to painless spi to allowlist usage from plugins…
tandonks Aug 19, 2025
a80ead8
Bump com.nimbusds:nimbus-jose-jwt from 10.4 to 10.4.2 in /plugins/rep…
dependabot[bot] Aug 19, 2025
aff365a
Clone index input in multipart upload flow (#19072)
sachinpkale Aug 19, 2025
39e1d7d
Add StoreFactory plugin interface for custom Store implementations (#…
xuxiong1 Aug 19, 2025
b6ec348
Bump netty from 4.1.121.Final to 4.1.124.Final (#19103)
cwperks Aug 19, 2025
184962e
[Bug Fix] fix skip_unavailable setting changing to default during nod…
animodak7 Aug 20, 2025
ccbdcfc
Attempt to fix flaky AzureBlobStoreRepositoryTests (#19083)
reta Aug 20, 2025
53015fd
Bump GCS SDK to version 2.55.0 (#18922)
willyborankin Aug 20, 2025
40f8ab6
fix: Update System.env syntax for Gradle 9 compatibility (#19119)
dbwiddis Aug 21, 2025
9184347
Add a dynamic setting to change skip_cache_factor and min_frequency f…
kkewwei Aug 21, 2025
ff10e85
Make the logo clickable and redirect to project website (#19126)
sandeshkr419 Aug 22, 2025
899b915
Fix access specifier for FieldMapper method to allow usage by plugins…
mgodwan Aug 22, 2025
8e7ca4a
[Repository S3] Move async http client to CRT from Netty and add con…
pranikum Aug 22, 2025
201d3f6
Bump com.google.auth:google-auth-library-oauth2-http from 1.37.1 to 1…
dependabot[bot] Aug 26, 2025
c7cbba0
Bump com.squareup.okio:okio from 3.15.0 to 3.16.0 in /test/fixtures/h…
dependabot[bot] Aug 26, 2025
37ab657
Update CHANGELOG to use correct comparison link of 3.2..main (#19151)
cwperks Aug 26, 2025
691ad51
Bump com.azure:azure-storage-common from 12.30.1 to 12.30.2 in /plugi…
dependabot[bot] Aug 26, 2025
c7376a2
Bump Slf4j from 1.7.36 to 2.0.17 (#19136)
willyborankin Aug 26, 2025
3cdaa97
Add query rewriting infrastructure to reduce query complexity (#19060)
atris Aug 27, 2025
759deb7
Bump tika from 2.9.2 to 3.2.2 (#19125)
prudhvigodithi Aug 27, 2025
34df49c
Replace centos:8 with almalinux:8 since centos docker images are depr…
cwperks Aug 27, 2025
a8e2f87
Add query argument in QueryCollectorContextSpecFactory (#19153)
vibrantvarun Aug 27, 2025
f2c5452
Update comments and errors messages for: Replace centos:8 with almali…
simonmarty Aug 27, 2025
9b970ba
Add Channel Factory parameter to Translog (#18918)
RajatGupta02 Aug 27, 2025
6ab1dcf
Replace usage of deprecated createIndex() method in tests (#18389)
andrross Aug 28, 2025
350c37c
[AUTO] [main] Add bwc version 2.19.4. (#18837)
opensearch-trigger-bot[bot] Aug 28, 2025
3b14ae1
Add CompletionStage variants to IndicesAdminClient as an alternative …
cwperks Aug 28, 2025
933baf8
Update delete_backport_branch workflow to include release-chores bran…
RileyJergerAmazon Aug 28, 2025
9dfb5eb
Fix deadlock in SearchPhaseControllerTests cancellation tests (#19171)
atris Aug 28, 2025
37204b2
Update javadocs
atris Aug 28, 2025
d31ebea
Update changelog
atris Aug 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ BWC_VERSION:
- "2.19.1"
- "2.19.2"
- "2.19.3"
- "2.19.4"
- "3.0.0"
- "3.1.0"
- "3.2.0"
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
*.bcfks binary
*.crt binary
*.p12 binary
*.ttf binary
*.txt text=auto
CHANGELOG.md merge=union
2 changes: 1 addition & 1 deletion .github/workflows/assemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
java: [ 21, 24 ]
os: [ubuntu-latest, windows-latest, macos-13, ubuntu-24.04-arm]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: ncipollo/release-action@v1
with:
github_token: ${{ steps.github_app_token.outputs.token }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/benchmark-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set up required env vars
run: |
echo "PR_NUMBER=${{ github.event.issue.number }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
issue-body: "Please approve or deny the benchmark run for PR #${{ env.PR_NUMBER }}"
exclude-workflow-initiator-as-approver: false
- name: Checkout PR Repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: ${{ env.prHeadRepo }}
ref: ${{ env.prHeadRefSha }}
Expand All @@ -159,7 +159,7 @@ jobs:
aws s3 cp distribution/archives/linux-tar/build/distributions/opensearch-min-$OPENSEARCH_VERSION-linux-x64.tar.gz s3://${{ secrets.ARCHIVE_ARTIFACT_BUCKET_NAME }}/PR-$PR_NUMBER/
echo "DISTRIBUTION_URL=${{ secrets.ARTIFACT_BUCKET_CLOUDFRONT_URL }}/PR-$PR_NUMBER/opensearch-min-$OPENSEARCH_VERSION-linux-x64.tar.gz" >> $GITHUB_ENV
- name: Checkout opensearch-build repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: opensearch-project/opensearch-build
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog_verifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-documentation-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
installation_id: 22958780

- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Edit the issue template
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete_backport_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
if: github.repository == 'opensearch-project/OpenSearch' && startsWith(github.event.pull_request.head.ref,'backport/')
if: github.repository == 'opensearch-project/OpenSearch' && (startsWith(github.event.pull_request.head.ref,'backport/') || startsWith(github.event.pull_request.head.ref,'release-chores/'))
steps:
- name: Delete merged branch
uses: actions/github-script@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
installation_id: 22958780

- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
token: ${{ steps.github_app_token.outputs.token }}
ref: ${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/detect-breaking-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
detect-breaking-change:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-java@v4
with:
distribution: temurin # Temurin is a distribution of adoptium
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gradle-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
outputs:
RUN_GRADLE_CHECK: ${{ steps.changed-files-specific.outputs.any_changed }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Get changed files
id: changed-files-specific
uses: tj-actions/changed-files@v46.0.5
Expand All @@ -42,7 +42,7 @@ jobs:
timeout-minutes: 130
steps:
- name: Checkout OpenSearch repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
echo "post_merge_action=true" >> $GITHUB_ENV

- name: Checkout opensearch-build repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: opensearch-project/opensearch-build
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: lychee Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2.4.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lucene-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout Lucene ref:${{ github.event.inputs.ref }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: 'apache/lucene'
ref: ${{ github.event.inputs.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os: 'windows-2025'
experimental: true
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-maven-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21

- name: Load secret
uses: 1password/load-secrets-action@v2
uses: 1password/load-secrets-action@v3
with:
# Export loaded secrets as environment variables
export-env: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
echo "NEXT_VERSION_UNDERSCORE=$NEXT_VERSION_UNDERSCORE" >> $GITHUB_ENV
echo "NEXT_VERSION_ID=$NEXT_VERSION_ID" >> $GITHUB_ENV
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ env.BASE }}

Expand All @@ -75,7 +75,7 @@ jobs:
body: |
I've noticed that a new tag ${{ env.TAG }} was pushed, and incremented the version from ${{ env.CURRENT_VERSION }} to ${{ env.NEXT_VERSION }}.
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ env.MAIN_BRANCH }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ jobs:
if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: gradle/actions/wrapper-validation@v4
20 changes: 10 additions & 10 deletions .idea/runConfigurations/Debug_OpenSearch.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 40 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,57 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased 3.x]
### Added
- Expand fetch phase profiling to support inner hits and top hits aggregation phases ([##18936](https://github.com/opensearch-project/OpenSearch/pull/18936))
- Add temporal routing processors for time-based document routing ([#18920](https://github.com/opensearch-project/OpenSearch/issues/18920))
- Implement Query Rewriting Infrastructure ([#19060](https://github.com/opensearch-project/OpenSearch/pull/19060))
- Implement Streaming Search with Ranking Support For Node to Node(https://github.com/opensearch-project/OpenSearch/pull/19160)
- The dynamic mapping parameter supports false_allow_templates ([#19065](https://github.com/opensearch-project/OpenSearch/pull/19065))
- Add a toBuilder method in EngineConfig to support easy modification of configs([#19054](https://github.com/opensearch-project/OpenSearch/pull/19054))
- Add StoreFactory plugin interface for custom Store implementations([#19091](https://github.com/opensearch-project/OpenSearch/pull/19091))
- Use S3CrtClient for higher throughput while uploading files to S3 ([#18800](https://github.com/opensearch-project/OpenSearch/pull/18800))
- Add a dynamic setting to change skip_cache_factor and min_frequency for querycache ([#18351](https://github.com/opensearch-project/OpenSearch/issues/18351))
- Add overload constructor for Translog to accept Channel Factory as a parameter ([#18918](https://github.com/opensearch-project/OpenSearch/pull/18918))

### Changed
- Add CompletionStage variants to methods in the Client Interface and default to ActionListener impl ([#18998](https://github.com/opensearch-project/OpenSearch/pull/18998))
- IllegalArgumentException when scroll ID references a node not found in Cluster ([#19031](https://github.com/opensearch-project/OpenSearch/pull/19031))
- Adding ScriptedAvg class to painless spi to allowlist usage from plugins ([#19006](https://github.com/opensearch-project/OpenSearch/pull/19006))
- Replace centos:8 with almalinux:8 since centos docker images are deprecated ([#19154](https://github.com/opensearch-project/OpenSearch/pull/19154))
- Add CompletionStage variants to IndicesAdminClient as an alternative to ActionListener ([#19161](https://github.com/opensearch-project/OpenSearch/pull/19161))

### Fixed
- Fix unnecessary refreshes on update preparation failures ([#15261](https://github.com/opensearch-project/OpenSearch/issues/15261))
- Fix NullPointerException in segment replicator ([#18997](https://github.com/opensearch-project/OpenSearch/pull/18997))
- Ensure that plugins that utilize dumpCoverage can write to jacoco.dir when tests.security.manager is enabled ([#18983](https://github.com/opensearch-project/OpenSearch/pull/18983))
- Fix OOM due to large number of shard result buffering ([#19066](https://github.com/opensearch-project/OpenSearch/pull/19066))
- Fix flaky tests in CloseIndexIT by addressing cluster state synchronization issues ([#18878](https://github.com/opensearch-project/OpenSearch/issues/18878))
- [Tiered Caching] Handle query execution exception ([#19000](https://github.com/opensearch-project/OpenSearch/issues/19000))
- Grant access to testclusters dir for tests ([#19085](https://github.com/opensearch-project/OpenSearch/issues/19085))
- Fix skip_unavailable setting changing to default during node drop issue ([#18766](https://github.com/opensearch-project/OpenSearch/pull/18766))

### Dependencies
- Bump `com.netflix.nebula.ospackage-base` from 12.0.0 to 12.1.0 ([#19019](https://github.com/opensearch-project/OpenSearch/pull/19019))
- Bump `actions/checkout` from 4 to 5 ([#19023](https://github.com/opensearch-project/OpenSearch/pull/19023))
- Bump `commons-cli:commons-cli` from 1.9.0 to 1.10.0 ([#19021](https://github.com/opensearch-project/OpenSearch/pull/19021))
- Bump `org.jline:jline` from 3.30.4 to 3.30.5 ([#19013](https://github.com/opensearch-project/OpenSearch/pull/19013))
- Bump `com.github.spotbugs:spotbugs-annotations` from 4.9.3 to 4.9.4 ([#19015](https://github.com/opensearch-project/OpenSearch/pull/19015))
- Bump `com.azure:azure-storage-common` from 12.29.1 to 12.30.2 ([#19016](https://github.com/opensearch-project/OpenSearch/pull/19016), [#19145](https://github.com/opensearch-project/OpenSearch/pull/19145))
- Update OpenTelemetry to 1.53.0 and OpenTelemetry SemConv to 1.34.0 ([#19068](https://github.com/opensearch-project/OpenSearch/pull/19068))
- Bump `1password/load-secrets-action` from 2 to 3 ([#19100](https://github.com/opensearch-project/OpenSearch/pull/19100))
- Bump `com.nimbusds:nimbus-jose-jwt` from 10.3 to 10.4.2 ([#19099](https://github.com/opensearch-project/OpenSearch/pull/19099), [#19101](https://github.com/opensearch-project/OpenSearch/pull/19101))
- Bump netty from 4.1.121.Final to 4.1.124.Final ([#19103](https://github.com/opensearch-project/OpenSearch/pull/19103))
- Bump Google Cloud Storage SDK from 1.113.1 to 2.55.0 ([#18922](https://github.com/opensearch-project/OpenSearch/pull/18922))
- Bump `com.google.auth:google-auth-library-oauth2-http` from 1.37.1 to 1.38.0 ([#19144](https://github.com/opensearch-project/OpenSearch/pull/19144))
- Bump `com.squareup.okio:okio` from 3.15.0 to 3.16.0 ([#19146](https://github.com/opensearch-project/OpenSearch/pull/19146))
- Bump Slf4j from 1.7.36 to 2.0.17 ([#19136](https://github.com/opensearch-project/OpenSearch/pull/19136))
- Bump `org.apache.tika` from 2.9.2 to 3.2.2 ([#19125](https://github.com/opensearch-project/OpenSearch/pull/19125))
- Bump `org.apache.commons:commons-compress` from 1.26.1 to 1.28.0 ([#19125](https://github.com/opensearch-project/OpenSearch/pull/19125))

### Deprecated

### Removed

### Fixed
- Fix flaky tests in CloseIndexIT by addressing cluster state synchronization issues ([#18878](https://github.com/opensearch-project/OpenSearch/issues/18878))
- [Tiered Caching] Handle query execution exception ([#19000](https://github.com/opensearch-project/OpenSearch/issues/19000))
- Enable backward compatibility tests on Mac ([#18983](https://github.com/opensearch-project/OpenSearch/pull/18983))

### Security

[Unreleased 3.x]: https://github.com/opensearch-project/OpenSearch/compare/3.1...main
[Unreleased 3.x]: https://github.com/opensearch-project/OpenSearch/compare/3.2...main
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<img src="https://opensearch.org/assets/img/opensearch-logo-themed.svg" height="64px">
<a href="https://opensearch.org/">
<img src="https://opensearch.org/assets/img/opensearch-logo-themed.svg" height="64px">
</a>

[![LFX Health Score](https://insights.production.lfx.dev/api/badge/health-score?project=opensearch-foundation)](https://insights.linuxfoundation.org/project/opensearch-foundation)
[![LFX Active Contributors](https://insights.production.lfx.dev/api/badge/active-contributors?project=opensearch-foundation&repos=https://github.com/opensearch-project/OpenSearch)](https://insights.linuxfoundation.org/project/opensearch-foundation/repository/opensearch-project-opensearch)
Expand Down
24 changes: 3 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ subprojects {
name = 'Snapshots'
url = 'https://central.sonatype.com/repository/maven-snapshots/'
credentials {
username = "$System.env.SONATYPE_USERNAME"
password = "$System.env.SONATYPE_PASSWORD"
username = System.getenv("SONATYPE_USERNAME")
password = System.getenv("SONATYPE_PASSWORD")
}
}
}
Expand Down Expand Up @@ -232,26 +232,8 @@ tasks.register("verifyVersions") {

boolean bwc_tests_enabled = true

/* place an issue link here when committing bwc changes */
String bwc_tests_disabled_issue = ""

/* there's no existing MacOS release, therefore disable bcw tests */
if (Os.isFamily(Os.FAMILY_MAC)) {
bwc_tests_enabled = false
bwc_tests_disabled_issue = "https://github.com/opensearch-project/OpenSearch/issues/4173"
}

if (bwc_tests_enabled == false) {
if (bwc_tests_disabled_issue.isEmpty()) {
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")
}
println "========================= WARNING ========================="
println " Backwards compatibility tests are disabled!"
println "See ${bwc_tests_disabled_issue}"
println "==========================================================="
}
if (project.gradle.startParameter.taskNames.find { it.startsWith("checkPart") } != null) {
// Disable BWC tests for checkPart* tasks as it's expected that this will run un it's own check
// Disable BWC tests for checkPart* tasks as it's expected that this will run in it's own check
bwc_tests_enabled = false
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public void apply(Project project) {
File keystoreDir = new File(project.getBuildDir(), "keystore/test/ssl");
File nodeKeystore = new File(keystoreDir, "test-node.jks");
File clientKeyStore = new File(keystoreDir, "test-client.jks");
@SuppressWarnings("unchecked")
NamedDomainObjectContainer<OpenSearchCluster> clusters = (NamedDomainObjectContainer<OpenSearchCluster>) project.getExtensions()
.getByName(TestClustersPlugin.EXTENSION_NAME);
clusters.all(c -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* This class models the different Docker base images that are used to build Docker distributions of OpenSearch.
*/
public enum DockerBase {
CENTOS("centos:8");
ALMALINUX("almalinux:8");

private final String image;

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Please use ../gradle/libs.versions.toml for dependency management
opensearch = 3.2.0
opensearch = 3.3.0
3 changes: 0 additions & 3 deletions client/rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ testingConventions {
thirdPartyAudit {
ignoreMissingClasses(
'org.conscrypt.Conscrypt',
'org.slf4j.impl.StaticLoggerBinder',
'org.slf4j.impl.StaticMDCBinder',
'org.slf4j.impl.StaticMarkerBinder',
//commons-logging optional dependencies
'org.apache.avalon.framework.logger.Logger',
'org.apache.log.Hierarchy',
Expand Down
1 change: 0 additions & 1 deletion client/rest/licenses/commons-codec-1.16.1.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions client/rest/licenses/commons-codec-1.18.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ee45d1cf6ec2cc2b809ff04b4dc7aec858e0df8f
1 change: 0 additions & 1 deletion client/rest/licenses/slf4j-api-1.7.36.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions client/rest/licenses/slf4j-api-2.0.17.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d9e58ac9c7779ba3bf8142aff6c830617a7fe60f
1 change: 0 additions & 1 deletion client/sniffer/licenses/commons-codec-1.16.1.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions client/sniffer/licenses/commons-codec-1.18.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ee45d1cf6ec2cc2b809ff04b4dc7aec858e0df8f
Loading
Loading