Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async write routing table flow #8

Merged
merged 178 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
fb5d036
Cache the shard routings with no weight for faster access (#12989)
backslasht Apr 3, 2024
f2e8398
Fix bulk API ignores ingest pipeline for upsert (#12883)
gaobinlong Apr 3, 2024
d1239c3
Update links to documentation in rest-api-spec (#13043)
cwperks Apr 3, 2024
1869680
Fix bulk API ignores ingest pipeline for upsert (update version) (#13…
reta Apr 3, 2024
c00e863
Bump up commons-compress to 1.26.1 to fix CVE (#12627)
sandeshkr419 Apr 3, 2024
434dc61
[AUTO] [main] Add bwc version 2.13.1. (#13039)
opensearch-trigger-bot[bot] Apr 3, 2024
e8c5daf
[Derived Fields] Add support for emitting multiple values in DerivedF…
qreshi Apr 3, 2024
17641f6
Remove duplicate methods from RemoteStoreBaseIntegTestCase (#13044)
sachinpkale Apr 4, 2024
9ab31f5
Reject Resize index requests during remote store migration (#12686)
astute-decipher Apr 4, 2024
19d6c5c
Finish contributing updates; thanks @acarbonetto (#12981)
stephen-crawford Apr 5, 2024
e713175
Update Shallow Snapshot flows to support remote path type & hash algo…
ashking94 Apr 5, 2024
55f6b5d
Remove handling of `index.mapper.dynamic` in AutoCreateIndex (#13067)
cwperks Apr 5, 2024
221e981
Client with Java 8 runtime and Apache HttpClient 5 Transport fails wi…
reta Apr 5, 2024
8d9e12d
Pre computing hash code for WeightedRouting to avoid recomputing it (…
backslasht Apr 6, 2024
9b0f578
Introduce interface changes to support read/write blob with object me…
skumawat2025 Apr 8, 2024
8244c6d
Merge branch 'main' into cluster_state_split
shiv0408 Apr 8, 2024
d202d90
Adding support for handling multiple transport protocols (#12967)
VachaShah Apr 8, 2024
bad49ef
Add implementation for remote store path types (#13103)
ashking94 Apr 9, 2024
6532caa
Skip Filter Allocation Decider during mixed mode for existing indices…
gbbafna Apr 9, 2024
c0b1899
[Remote Store] Add support for randomizing Remote Store enabled testi…
Rishikesh1159 Apr 9, 2024
e3dc6ae
Bump com.gradle.enterprise from 3.16.2 to 3.17 (#13116)
dependabot[bot] Apr 9, 2024
032b81b
Skip Pull Request Checks / Verify Description Checklist for dependabo…
cwperks Apr 9, 2024
3aaada6
Create separate file for unreleased 3.0 changes (#13040)
andrross Apr 9, 2024
8779e52
implement mark() in class FilterStreamInput (#13098)
kkewwei Apr 9, 2024
ba20bda
chore: remove repetitive words (#13090)
frameflare Apr 9, 2024
74232c7
Bump net.minidev:json-smart from 2.5.0 to 2.5.1 in /plugins/repositor…
dependabot[bot] Apr 10, 2024
4fc3a02
[Snapshot Interop] Add changes for overriding remote store and replic…
harishbhakuni Apr 11, 2024
645b1f1
[Derived Fields] PR4: Capability to define derived fields in search r…
rishabhmaurya Apr 11, 2024
7103e56
Add ShardBatchCache to support caching for TransportNodesListGatewayS…
amkhar Apr 11, 2024
5d939b9
[BUG] Fix org.opensearch.common.xcontent.XContentParserTests.testStri…
reta Apr 11, 2024
52ce070
[Tiered Caching] Make took time policy dynamic and add additional int…
sgup432 Apr 11, 2024
02e3c56
Replace the right version to fix backward compatibility introduced wi…
rishabhmaurya Apr 11, 2024
7345371
Implement interface changes for s3 plugin to read/write blob with obj…
skumawat2025 Apr 12, 2024
c168e1c
Update index settings during remote store migration (#12748)
ltaragi Apr 12, 2024
f2e2a85
Refactoring globMatch using simpleMatchWithNormalizedStrings from Reg…
niyatiagg Apr 12, 2024
cc22310
[Tiered Caching] Stats rework (1/3): Interfaces and implementations f…
peteralfonsi Apr 12, 2024
e828c18
Fix flakiness with SegmentReplicationSuiteIT (#11977)
mch2 Apr 14, 2024
6bc04b4
[segment replication] decouple the rateLimiter of segrep and recovery…
Ferrari248 Apr 14, 2024
416083c
Bump gradle/wrapper-validation-action from 2 to 3 (#13192)
dependabot[bot] Apr 15, 2024
39ac2df
Update to Apache Lucene 9.11.0-snapshot-fb97840 (#13195)
reta Apr 15, 2024
00df37e
[Tiered Caching] Ehcache Disk cache IT (#12904)
sgup432 Apr 15, 2024
6447dd1
[BUG] Fix missing javadocs error for nested generated types (#13199)
reta Apr 15, 2024
a944967
Bump com.gradle.enterprise from 3.17 to 3.17.1 (#13191)
dependabot[bot] Apr 15, 2024
6afbcd4
[Streaming Indexing] Ensure support of the new transport by security …
reta Apr 15, 2024
f37ad8a
Enhance changelog workflow to check for missing labels (#13167)
kotwanikunal Apr 15, 2024
8f0178d
Update maintainers based on activity since Jan 2024 (#13204)
peternied Apr 15, 2024
b59c572
Triage meetings have moved to Zoom (#13208)
peternied Apr 16, 2024
035d8b8
Add cluster setting to dynamically configure filter rewrite optimizat…
bowenlan-amzn Apr 16, 2024
3c8eafd
[Remote Store - Dual Replication] Create missing Retention Leases for…
shourya035 Apr 16, 2024
3d1d5e7
Add faster scaling composite hash value encoding for remote path (#13…
ashking94 Apr 16, 2024
5e72e1d
Bump joda from 2.12.2 to 2.12.7 (#13193)
cwperks Apr 16, 2024
695fbde
Add validation while updating CompatibilityMode setting (#13080)
ltaragi Apr 16, 2024
3e8e116
Suppress sys out checks as trace logs enabled during tests can cause …
mgodwan Apr 16, 2024
a2f07ed
Remove compatibility checker (#12971)
peternied Apr 16, 2024
8bd0ad9
Add warn logs for remote backpressure rejection (#13218)
gbbafna Apr 16, 2024
07d447b
Bump netty from 4.1.108.Final to 4.1.109.Final (#13233)
reta Apr 16, 2024
5375970
Bump bouncycastle from 1.77 to 1.78 (#13243)
reta Apr 16, 2024
6e0ed65
Revert "Add faster scaling composite hash value encoding for remote p…
peternied Apr 16, 2024
8d9c389
Cleanup CHANGELOG-3.0 (#13216)
cwperks Apr 16, 2024
1fcb79d
Fix flaky test SegmentReplicationTargetServiceTests#testShardAlreadyR…
mch2 Apr 17, 2024
b899a27
Snapshot _status API to return correct status for partial snapshots (…
aggarwalShivani Apr 17, 2024
02f9d74
Add faster scaling composite hash value encoding for remote path (#13…
ashking94 Apr 17, 2024
1c208d5
[Remote Store] Cleanup local-only translog files if no metadata in re…
sachinpkale Apr 17, 2024
9c35a84
Add remote path settings to RemoteStoreSettings (#13225)
ashking94 Apr 17, 2024
51009b7
enabled mockTelemetryPlugin for IT and fixed OOM (#13054)
atharvasharma61 Apr 17, 2024
c1d5d76
Update google dependencies in repository-gcs and discovery-gce (#13213)
cwperks Apr 17, 2024
84679de
Snapshot _status API to return correct status for partial snapshots (…
reta Apr 17, 2024
61ff5f8
Fix flakiness in testDontAllowSwitchingCompatibilityModeForClusterWit…
ltaragi Apr 18, 2024
cdb57fa
Update supported version in yaml test file for the primary_only param…
gaobinlong Apr 18, 2024
c4843c9
Add release notes for 1.3.16 (#13280)
mgodwan Apr 18, 2024
ba25c23
Disabling breaking changes check on main (#13283)
peternied Apr 18, 2024
f5c3ef9
Replacing InboundMessage with NativeInboundMessage for deprecation (#…
VachaShah Apr 18, 2024
0282e64
Ignore BaseRestHandler unconsumed content check as it's always consum…
dbwiddis Apr 19, 2024
d5a17ed
Initial commit for RemoteRoutingTableService setup
himshikha Apr 19, 2024
b4692c8
Reconsider the breaking changes check policy to detect breaking chang…
reta Apr 19, 2024
bfbdc9f
Fix the flaky test for derived fields highlighter test (#13313)
rishabhmaurya Apr 21, 2024
98009ed
Improve error messages for `_stats` with closed indices (#13012)
srikanthpadakanti Apr 22, 2024
9176015
Adds unit test for remote routing setup
Apr 22, 2024
fd201eb
[Remote Store] Throw IOException when remote is not in sync (#13282)
gbbafna Apr 22, 2024
4e58cef
Ignoring unavailable shards during search request execution with igno…
jainankitk Apr 22, 2024
5bc065b
Bump com.gradle.enterprise from 3.17.1 to 3.17.2 (#13327)
dependabot[bot] Apr 22, 2024
cf58fab
Bump com.google.apis:google-api-services-compute from v1-rev235-1.25.…
dependabot[bot] Apr 22, 2024
c9f1565
Bump commons-cli:commons-cli from 1.6.0 to 1.7.0 in /plugins/reposito…
dependabot[bot] Apr 22, 2024
a17cf06
Initial commit for index routing table manifest
Bukhtawar Apr 17, 2024
3dd93b4
Changes for IndexRoutingTableHeader
Bukhtawar Apr 19, 2024
933cdc2
Revert unintentional changes for IndexRoutingTableHeader
Bukhtawar Apr 19, 2024
f35f0dc
Changes for IndexRoutingTableInputStream
Bukhtawar Apr 20, 2024
efa06fe
Prefer remote replicas for primary promotion during migration (#13136)
ltaragi Apr 23, 2024
2aad499
Prevent version upgrade during remote migration (#13185)
ltaragi Apr 23, 2024
41a3055
Rename ingest processor supports overriding target field if exists (#…
gaobinlong Apr 23, 2024
ae49fd2
Handle OpenSearchRejectedExecutionException while retrying refresh (#…
sachinpkale Apr 23, 2024
f41db2c
Fixed skip version for Search Pipeline integration tests (#13344)
saimedhi Apr 23, 2024
ab7e914
Fix from and size parameter can be negative when searching (#13047)
gaobinlong Apr 23, 2024
97e3191
Bump com.github.spullara.mustache.java:compiler from 0.9.10 to 0.9.11…
cwperks Apr 23, 2024
3ea0a31
Upload remote paths during index creation or full cluster upload (#13…
ashking94 Apr 23, 2024
7c6127a
Bump jakarta.enterprise:jakarta.enterprise.cdi-api from 4.0.1 to 4.1.…
dependabot[bot] Apr 23, 2024
9e62ccf
Fix flat_object parsing error when an object field name is too long (…
naomichi-y Apr 23, 2024
76e4c86
Bump com.google.api.grpc:proto-google-iam-v1 from 0.12.0 to 1.33.0 in…
dependabot[bot] Apr 24, 2024
db361ec
[Tiered Caching] Bug fix for IndicesRequestCache StaleKey management …
kiranprakash154 Apr 24, 2024
c055a3d
Fix Flaky Test PersistentTasksExecutorFullRestartIT.testFullClusterRe…
Pranshu-S Apr 25, 2024
9e9ab6b
[Remote Store] Add capability of doing flush as determined by the tra…
astute-decipher Apr 25, 2024
a8008e2
Integrate local recovery with remote store seeding during migration (…
Apr 25, 2024
42d46a9
Allow index & cluster default refresh interval setting value to be -1…
ashking94 Apr 25, 2024
5bf522c
Take shallow copy snapshot when remote store migration is in progress…
ltaragi Apr 25, 2024
18aa5ad
OpenJDK Update (April 2024 Patch releases) (#13389)
reta Apr 25, 2024
28a8fc5
flaky test fix - assert cluster stats on isolated node as stats is l…
rajiv-kv Apr 25, 2024
db694a9
Bump com.squareup.okio:okio from 3.8.0 to 3.9.0 in /test/fixtures/hdf…
dependabot[bot] Apr 25, 2024
a69cd08
Async Batch shards changes for GatewayAllocator (#8746)
Gaurav614 Apr 26, 2024
81707dc
[Tiered Caching] Expose a dynamic setting to disable/enable disk cach…
sgup432 Apr 26, 2024
f798497
[Tiered Caching] Make Indices Request Cache Stale Key Mgmt Threshold …
kiranprakash154 Apr 26, 2024
207bbad
Switch to macos-13 runner for precommit and assemble github actions d…
peterzhuamazon Apr 27, 2024
f84d28d
[Tiered Caching] Gate CacheStatsHolder logic behind FeatureFlags.PLUG…
peteralfonsi Apr 28, 2024
fc81a90
Restore deleted section (#13415)
stephen-crawford Apr 28, 2024
78087ac
Add more remote store migration integration tests (#13115)
gbbafna Apr 29, 2024
425cf20
Merge branch 'main' into cluster_state_split
shiv0408 Apr 29, 2024
8efc1ed
fix build after merge
shiv0408 Apr 29, 2024
a47e123
[Remote Store] Update version to 2.14 in path type check (#13436)
ashking94 Apr 29, 2024
2dc3f74
Add version details in remote index path file with code enhancements …
ashking94 Apr 29, 2024
87ff8f6
Bump com.netflix.nebula.ospackage-base from 11.8.1 to 11.9.0 in /dist…
dependabot[bot] Apr 29, 2024
ff53411
Bump org.bouncycastle:bc-fips from 1.0.2.4 to 1.0.2.5 in /distributio…
dependabot[bot] Apr 29, 2024
6ac5b4e
Bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 (#13447)
dependabot[bot] Apr 29, 2024
4ee984f
Add unit test of multipler orders for multiple terms aggregation. (#1…
Zhikai-VM Apr 29, 2024
defbd60
Handle default search pipeline for multiple indices (#13276)
owaiskazi19 Apr 29, 2024
2a37bdd
[Tiered Caching] Expose new cache stats API (#13237)
peteralfonsi Apr 29, 2024
51f8872
Fix Flaky test IndicesRequestCacheIT.testStaleKeysCleanupWithMultiple…
kiranprakash154 Apr 30, 2024
d7e6b9c
Bump org.gradle.test-retry from 1.5.8 to 1.5.9 (#13442)
dependabot[bot] Apr 30, 2024
1219c56
Support batch ingestion in bulk API (#12457) (#13306)
chishui Apr 30, 2024
8ac92d4
[Tiered Caching] Bump versions for serialization in new cache stats A…
peteralfonsi Apr 30, 2024
f1228e9
setting the response before latch countdown so that thread waiting do…
rajiv-kv Apr 30, 2024
1f406db
[Remote Store] Update index settings on shard movement during remote …
shourya035 Apr 30, 2024
6c637c0
Merge branch 'main' into cluster_state_split
shiv0408 Apr 30, 2024
494aacc
Address PR comments
shiv0408 Apr 30, 2024
5d61ac2
Fix flaky test CacheStatsAPIIndicesRequestCacheIT.testNullLevels() (#…
peteralfonsi Apr 30, 2024
1765e20
Skip running gradle checks on release notes (#13477)
gaiksaya May 1, 2024
5133e5f
Revert "Removing unused fetch sub phase processor initialization duri…
reta May 1, 2024
00947fc
Revert "Skip running gradle checks on release notes (#13477)" (#13499)
peternied May 2, 2024
ef841dd
[Remote Migration] Handle shard allocation for none migration directi…
ltaragi May 2, 2024
928b650
Address further PR comment
shiv0408 May 2, 2024
2ebfc6d
apply spotless
shiv0408 May 2, 2024
6053310
Bump 2.x to 2.15.0 (#13495) (#13506)
reta May 2, 2024
b09d9ef
Fix org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {…
reta May 2, 2024
5ff50a7
Refactor implementations of query phase searcher, add empty QueryColl…
martin-gaievski May 2, 2024
3b0cd0a
Increase cluster publish timeout in flaky test testStaleClusterManage…
rahulkarajgikar May 2, 2024
dc77c46
Allow doc value search on unindexed boolean and date fields (#11650)
harshavamsi May 2, 2024
79957eb
Add support for deep copying SearchRequest (#12295)
ansjcy May 2, 2024
37df569
Update TermsQueryBuilderTests to include TermQuery (#13517)
harshavamsi May 2, 2024
a8017d8
[Tiered Caching] Adds stats implementation for TieredSpilloverCache (…
peteralfonsi May 3, 2024
ed33488
Support multi ranges traversal when doing date histogram rewrite opti…
bowenlan-amzn May 3, 2024
29ebd80
Support wildcard/regex for indices param in _remotestore/_restore (#8…
linuxpi May 3, 2024
89c6c27
Clear transient cluster setting at the end of the test (#13508)
gbbafna May 3, 2024
fb0b6aa
removed unnecessary method
shiv0408 May 3, 2024
14cd0e3
FEATURE-13448: add use compound file setting (#13478)
samuel-oci May 3, 2024
0c1cd75
Update Cluster Manager Node Timeout to 3s for flaky test testHealthOn…
rahulkarajgikar May 3, 2024
9106713
DATETIME_FORMATTER_CACHING_SETTING experimental feature should not de…
reta May 4, 2024
cae6632
Input stream fixes
May 6, 2024
40fec5f
Checksum calculation at end of file
May 6, 2024
7c98954
Bump com.github.spullara.mustache.java:compiler from 0.9.11 to 0.9.13…
dependabot[bot] May 6, 2024
7c5739b
Update version for batch shard allocation to 2.14 (#13469)
shiv0408 May 6, 2024
bd00518
Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0 in /test/f…
dependabot[bot] May 6, 2024
a752608
Fix negative requestStats memory_size issue (#13553)
sgup432 May 7, 2024
95dcce8
Bump org.hdrhistogram:HdrHistogram from 2.1.12 to 2.2.1 in /server (#…
dependabot[bot] May 7, 2024
a228dfc
Update supported version for the bug fix of from and size parameter c…
gaobinlong May 7, 2024
b9887b4
fixing checksum
May 7, 2024
6b6a0a2
add TestIssueLogging on flaky test - org.opensearch.remotestore.Remot…
linuxpi May 7, 2024
4eb33b0
Forward port 2.14 release notes to main (#13589)
andrross May 7, 2024
48da1b8
Fix IndicesRequestCache clean up logic (#13597)
sgup432 May 8, 2024
032ced2
Address further PR comments
shiv0408 May 10, 2024
dd76f39
Merge branch 'main' into cluster_state_split
shiv0408 May 10, 2024
f28e673
Fix get field mapping API returns 404 error in mixed cluster with mul…
gaobinlong May 10, 2024
cd55bca
Add TODO for Updating API Spec (#13621)
kkhatua May 10, 2024
e81db21
Fix test failures
shiv0408 May 13, 2024
b20537a
Merge branch 'main' into cluster_state_split
shiv0408 May 13, 2024
c20c6ac
Add read flow for IndexRoutingTable
Arpit-Bandejiya May 8, 2024
381630b
Moving routing table version from IndexRouting stream to manifest
May 13, 2024
eb1b7ec
Merge remote-tracking branch 'shiv0408/OpenSearch/cluster_state_split…
May 14, 2024
289feb4
Merge remote-tracking branch 'shiv0408/OpenSearch/remote_state_collab…
May 15, 2024
b09bce7
Merging from remote cluster state
May 15, 2024
df8ddad
Download cluster state from remote
soosinha May 14, 2024
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 @@ -30,4 +30,6 @@ BWC_VERSION:
- "2.12.0"
- "2.12.1"
- "2.13.0"
- "2.13.1"
- "2.14.0"
- "2.15.0"
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# 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.

# Default ownership for all repo files
* @abbashus @adnapibar @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @reta @Rishikesh1159 @ryanbogan @sachinpkale @saratvemulapalli @setiah @shwetathareja @sohami @tlfeng @VachaShah
* @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @reta @Rishikesh1159 @sachinpkale @saratvemulapalli @shwetathareja @sohami @tlfeng @VachaShah

/modules/transport-netty4/ @peternied

Expand All @@ -24,4 +24,4 @@

/.github/ @peternied

/MAINTAINERS.md @abbashus @adnapibar @anasalkouz @andrross @Bukhtawar @CEHENKLE @dblock @dbwiddis @dreamer-89 @gbbafna @kotwanikunal @mch2 @msfroh @nknize @owaiskazi19 @peternied @reta @Rishikesh1159 @ryanbogan @sachinpkale @saratvemulapalli @setiah @shwetathareja @sohami @tlfeng @VachaShah
/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
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Resolves #[Issue number to be closed when this PR is merged]
- [ ] All tests pass
- [ ] New functionality has been documented.
- [ ] New functionality has javadoc added
- [ ] API changes companion pull request [created](https://github.com/opensearch-project/opensearch-api-specification/blob/main/DEVELOPER_GUIDE.md).
- [ ] Failing checks are inspected and point to the corresponding known issue(s) (See: [Troubleshooting Failing Builds](../blob/main/CONTRIBUTING.md#troubleshooting-failing-builds))
- [ ] Commits are signed per the DCO using --signoff
- [ ] Commit changes are listed out in CHANGELOG.md file (See: [Changelog](../blob/main/CONTRIBUTING.md#changelog))
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/assemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
java: [ 11, 17, 21 ]
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
Expand All @@ -18,10 +18,7 @@ jobs:
distribution: temurin
- name: Setup docker (missing on MacOS)
if: runner.os == 'macos'
run: |
brew install docker
colima start
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
uses: douglascamata/setup-docker-macos-action@main
- name: Run Gradle (assemble)
run: |
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE
29 changes: 27 additions & 2 deletions .github/workflows/changelog_verifier.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Changelog Verifier"
on:
pull_request:
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled]
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

jobs:
# Enforces the update of a changelog file on every pull request
Expand All @@ -13,7 +13,32 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}

- uses: dangoslen/changelog-enforcer@v3
id: verify-changelog-3x
with:
skipLabels: "autocut, skip-changelog"
changeLogPath: 'CHANGELOG-3.0.md'
continue-on-error: true
- uses: dangoslen/changelog-enforcer@v3
id: verify-changelog
with:
skipLabels: "autocut, skip-changelog"
changeLogPath: 'CHANGELOG.md'
continue-on-error: true
- run: |
# The check was possibly skipped leading to success for both the jobs
if [[ ${{ steps.verify-changelog-3x.outcome }} == 'success' && ${{ steps.verify-changelog.outcome }} == 'success' ]]; then
exit 0
fi

if [[ ${{ steps.verify-changelog-3x.outcome }} == 'failure' && ${{ steps.verify-changelog.outcome }} == 'failure' ]]; then
echo "error: Please ensure a changelog entry exists in CHANGELOG.md or CHANGELOG-3.0.md"
exit 1
fi

# Concatenates the labels and checks if the string contains "backport"
has_backport_label=${{ contains(join(github.event.pull_request.labels.*.name, ', '), 'backport')}}
if [[ ${{ steps.verify-changelog.outcome }} == 'success' && $has_backport_label == false ]]; then
echo "error: Please make sure that the PR has a backport label associated with it when making an entry to the CHANGELOG.md file"
exit 1
fi
69 changes: 0 additions & 69 deletions .github/workflows/check-compatibility.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/detect-breaking-change.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: "Detect Breaking Changes"
on:
pull_request
pull_request:
branches-ignore:
- main # This branch represents a to-be-released version of OpenSearch where breaking changes are allowed

jobs:
detect-breaking-change:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- name: lychee Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.9.3
uses: lycheeverse/lychee-action@v1.10.0
with:
args: --accept=200,403,429 --exclude-mail **/*.html **/*.md **/*.txt **/*.json --exclude-file .lychee.excludes
fail: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
java: [ 11, 17, 21 ]
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: peternied/check-pull-request-description-checklist@v1.1
if: github.actor != 'dependabot[bot]'
with:
checklist-items: |
New functionality includes testing.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- uses: gradle/wrapper-validation-action@v3
53 changes: 53 additions & 0 deletions CHANGELOG-3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# CHANGELOG
All notable changes to this project are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). See the [CONTRIBUTING guide](./CONTRIBUTING.md#Changelog) for instructions on how to add changelog entries.

## [Unreleased 3.0]
### Added
- Support for HTTP/2 (server-side) ([#3847](https://github.com/opensearch-project/OpenSearch/pull/3847))
- Allow mmap to use new JDK-19 preview APIs in Apache Lucene 9.4+ ([#5151](https://github.com/opensearch-project/OpenSearch/pull/5151))
- Add events correlation engine plugin ([#6854](https://github.com/opensearch-project/OpenSearch/issues/6854))
- Implement on behalf of token passing for extensions ([#8679](https://github.com/opensearch-project/OpenSearch/pull/8679), [#10664](https://github.com/opensearch-project/OpenSearch/pull/10664))
- Provide service accounts tokens to extensions ([#9618](https://github.com/opensearch-project/OpenSearch/pull/9618))
- GHA to verify checklist items completion in PR descriptions ([#10800](https://github.com/opensearch-project/OpenSearch/pull/10800))
- Allow to pass the list settings through environment variables (like [], ["a", "b", "c"], ...) ([#10625](https://github.com/opensearch-project/OpenSearch/pull/10625))
- Views, simplify data access and manipulation by providing a virtual layer over one or more indices ([#11957](https://github.com/opensearch-project/OpenSearch/pull/11957))

### Dependencies

### Changed
- Migrate client transports to Apache HttpClient / Core 5.x ([#4459](https://github.com/opensearch-project/OpenSearch/pull/4459))
- Change http code on create index API with bad input raising NotXContentException from 500 to 400 ([#4773](https://github.com/opensearch-project/OpenSearch/pull/4773))
- Improve summary error message for invalid setting updates ([#4792](https://github.com/opensearch-project/OpenSearch/pull/4792))
- Return 409 Conflict HTTP status instead of 503 on failure to concurrently execute snapshots ([#8986](https://github.com/opensearch-project/OpenSearch/pull/5855))
- Add task completion count in search backpressure stats API ([#10028](https://github.com/opensearch-project/OpenSearch/pull/10028/))
- Deprecate CamelCase `PathHierarchy` tokenizer name in favor to lowercase `path_hierarchy` ([#10894](https://github.com/opensearch-project/OpenSearch/pull/10894))
- Breaking change: Do not request "search_pipelines" metrics by default in NodesInfoRequest ([#12497](https://github.com/opensearch-project/OpenSearch/pull/12497))

### Deprecated

### Removed
- Remove deprecated code to add node name into log pattern of log4j property file ([#4568](https://github.com/opensearch-project/OpenSearch/pull/4568))
- Unused object and import within TransportClusterAllocationExplainAction ([#4639](https://github.com/opensearch-project/OpenSearch/pull/4639))
- Remove LegacyESVersion.V_7_0_* and V_7_1_* Constants ([#2768](https://https://github.com/opensearch-project/OpenSearch/pull/2768))
- Remove LegacyESVersion.V_7_2_ and V_7_3_ Constants ([#4702](https://github.com/opensearch-project/OpenSearch/pull/4702))
- Always auto release the flood stage block ([#4703](https://github.com/opensearch-project/OpenSearch/pull/4703))
- Remove LegacyESVersion.V_7_4_ and V_7_5_ Constants ([#4704](https://github.com/opensearch-project/OpenSearch/pull/4704))
- Remove Legacy Version support from Snapshot/Restore Service ([#4728](https://github.com/opensearch-project/OpenSearch/pull/4728))
- Remove deprecated serialization logic from pipeline aggs ([#4847](https://github.com/opensearch-project/OpenSearch/pull/4847))
- Remove unused private methods ([#4926](https://github.com/opensearch-project/OpenSearch/pull/4926))
- Remove LegacyESVersion.V_7_8_ and V_7_9_ Constants ([#4855](https://github.com/opensearch-project/OpenSearch/pull/4855))
- Remove LegacyESVersion.V_7_6_ and V_7_7_ Constants ([#4837](https://github.com/opensearch-project/OpenSearch/pull/4837))
- Remove LegacyESVersion.V_7_10_ Constants ([#5018](https://github.com/opensearch-project/OpenSearch/pull/5018))
- Remove Version.V_1_ Constants ([#5021](https://github.com/opensearch-project/OpenSearch/pull/5021))
- Remove custom Map, List and Set collection classes ([#6871](https://github.com/opensearch-project/OpenSearch/pull/6871))

### Fixed
- Fix 'org.apache.hc.core5.http.ParseException: Invalid protocol version' under JDK 16+ ([#4827](https://github.com/opensearch-project/OpenSearch/pull/4827))
- Fix compression support for h2c protocol ([#4944](https://github.com/opensearch-project/OpenSearch/pull/4944))
- Don't over-allocate in HeapBufferedAsyncEntityConsumer in order to consume the response ([#9993](https://github.com/opensearch-project/OpenSearch/pull/9993))

### Security

[Unreleased 3.0]: https://github.com/opensearch-project/OpenSearch/compare/2.x...HEAD
Loading
Loading