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

[Backport 2.x] Add support for API versioning and fail open in weighted shard routing #5779

Closed
wants to merge 514 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
514 commits
Select commit Hold shift + click to select a range
a16be07
Deprecate and Rename abstract methods from 'Master' terminology to 'C…
opensearch-trigger-bot[bot] Jul 30, 2022
5a7a1c2
Parallelize stale blobs deletion during snapshot delete (#3796) (#3990)
opensearch-trigger-bot[bot] Jul 30, 2022
e423ec4
Bump commons-configuration2 from 2.7 to 2.8.0 in /plugins/repository-…
opensearch-trigger-bot[bot] Jul 30, 2022
3f47160
Deprecate class 'MasterService' and create alternative class 'Cluster…
opensearch-trigger-bot[bot] Jul 30, 2022
bb353b6
Rename classes with name 'MasterService' to 'ClusterManagerService' i…
opensearch-trigger-bot[bot] Aug 1, 2022
5091f2a
Add doc_count field mapper (#3985) (#4037)
opensearch-trigger-bot[bot] Aug 1, 2022
3bf01e9
[Backport 2.x] [Segment Rreplication] Adding CheckpointRefreshListene…
Rishikesh1159 Aug 1, 2022
517b815
Deprecate class FakeThreadPoolMasterService, BlockMasterServiceOnMast…
opensearch-trigger-bot[bot] Aug 1, 2022
ed0af68
Making shard copy count a multiple of attribute count (#3462) (#4086)
gbbafna Aug 2, 2022
e23a87b
Support task resource tracking in OpenSearch (#3982) (#4087)
ketanv3 Aug 2, 2022
57ce4a9
[Backport 2.x] Integrate Engine with decoupled Translog interfaces (#…
satyajitg28 Aug 2, 2022
4f3e148
Update to Lucene 9.3.0 (#4043) (#4088)
reta Aug 2, 2022
b1cd80f
OpenJDK Update (July 2022 Patch releases) (#4023) (#4092)
opensearch-trigger-bot[bot] Aug 2, 2022
343045f
[Backport 2.x] [Segment Replication] Add SegmentReplicationTargetServ…
Rishikesh1159 Aug 2, 2022
b1f3d85
Bumping 2.x to 2.3.0 (#4098)
kartg Aug 2, 2022
01123f8
Publish transport-netty4 module to central repository (#4054) (#4078)
opensearch-trigger-bot[bot] Aug 2, 2022
98dfdf5
[Backport 2.x] Changes to encapsulate Translog into TranslogManager (…
satyajitg28 Aug 3, 2022
1a15a79
Fix the bug that masterOperation(with task param) is bypassed (#4103)…
opensearch-trigger-bot[bot] Aug 3, 2022
cfda17d
Deprecate and rename abstract methods in interfaces that contain 'mas…
opensearch-trigger-bot[bot] Aug 4, 2022
4fa9f92
Correctly ignore depandabot branches during push (#4077) (#4108)
opensearch-trigger-bot[bot] Aug 5, 2022
3dbf88a
Task consumer Integration (#2293) (#4140)
opensearch-trigger-bot[bot] Aug 5, 2022
ce9b988
OpenSearch crashes on closed client connection before search reply wh…
opensearch-trigger-bot[bot] Aug 5, 2022
95a1938
Backporting multiple 2.* release notes from main to the 2.x branch (#…
kartg Aug 8, 2022
b202245
[Backport] Upgrade dependencies (#4165)
kartg Aug 8, 2022
313b919
[Backport 2.x] [Segment Replication] Added source-side classes for or…
Rishikesh1159 Aug 9, 2022
7062283
[Bug]: gradle check failing with java heap OutOfMemoryError (#4150) (…
opensearch-trigger-bot[bot] Aug 9, 2022
97113b9
[Backport 2.x] [Segment Replication] Backport PR's : #3525 #3533 #…
Rishikesh1159 Aug 11, 2022
6ffb998
Update Gradle to 7.5.1 (#4211) (#4213)
opensearch-trigger-bot[bot] Aug 15, 2022
c7a4d1d
Refactors the GeoBoundsAggregation for geo_point types from the core …
navneet1v Aug 15, 2022
9b99c16
Added bwc version 2.2.1 (#4193)
opensearch-trigger-bot[bot] Aug 16, 2022
8c2f50f
[Backport 2.x] [Segment Replication] Backport all PR's containing rem…
Rishikesh1159 Aug 17, 2022
9df9ab3
[Segment Replication] Update PrimaryShardAllocator to prefer replicas…
dreamer-89 Aug 18, 2022
cd855ad
[BUG] Running "opensearch-service.bat start" and "opensearch-service.…
burck1 Aug 24, 2022
a78d345
Add workflow for changelog verification (#4085) (#4284)
opensearch-trigger-bot[bot] Aug 24, 2022
55c8829
Update the head ref to changelog verifier (#4296) (#4298)
kotwanikunal Aug 25, 2022
318ec03
Add 2.x version to CHANGELOG (#4297) (#4303)
opensearch-trigger-bot[bot] Aug 26, 2022
396d29e
Some dependency updates (#4308) (#4311)
opensearch-trigger-bot[bot] Aug 26, 2022
38372e1
[Backport 2.x] Do not fail replica shard due to primary closure (#4309)
opensearch-trigger-bot[bot] Aug 27, 2022
da76f2a
Refactored the src and test of GeoHashGrid and GeoTileGrid Aggregatio…
navneet1v Aug 30, 2022
7a0ee08
[2.x] Restore using the class ClusterInfoRequest and ClusterInfoReque…
Aug 30, 2022
d4dd71c
[Backport 2.x] Support shard promotion with Segment Replication. (#41…
mch2 Aug 30, 2022
c44d8e4
[CVE] Update snakeyaml dependency (#4341) (#4347)
opensearch-trigger-bot[bot] Aug 30, 2022
5a58a90
Adding @dreamer-89 to Opensearch maintainers. (#4342) (#4345)
opensearch-trigger-bot[bot] Aug 31, 2022
f98340e
[BUG] Create logs directory before running OpenSearch on Windows (#43…
burck1 Aug 31, 2022
b202fd1
[Backport 2.x] Added timing data and more granular stages to SegmentR…
opensearch-trigger-bot[bot] Sep 1, 2022
7187bd0
Update to Netty 4.1.80.Final (#4359) (#4374)
reta Sep 1, 2022
ea5b946
[AUTO] [2.x] Added bwc version 2.2.2. (#4385)
opensearch-trigger-bot[bot] Sep 2, 2022
03273b5
[Backport 2.x] [Remote Store] Backport remote segment store changes (…
sachinpkale Sep 2, 2022
1edb733
Segment Replication - Implement segment replication event cancellatio…
mch2 Sep 2, 2022
dfd0328
Bug fixes for dependabot changelog verifier (#4364) (#4395)
kotwanikunal Sep 2, 2022
5985955
[Segment Replication] Bump segment infos counter before commit during…
dreamer-89 Sep 3, 2022
fc97324
[Segment Replication] Add check to cancel ongoing replication with ol…
dreamer-89 Sep 5, 2022
3d90d35
[Remote Store] Add index specific setting for remote repository (#425…
sachinpkale Sep 6, 2022
35ddbd8
Segment Replication - Fix NoSuchFileException errors caused when comp…
dreamer-89 Sep 6, 2022
1f339e5
[Segment Replication] Extend FileChunkWriter to allow cancel on trans…
dreamer-89 Sep 6, 2022
1eae8f4
[Semgnet Replication] Update flaky testOnNewCheckpointFromNewPrimaryC…
dreamer-89 Sep 7, 2022
32258cf
[Backport 2.x] Revert to Netty 4.1.79.Final (#4432)
cwperks Sep 7, 2022
4de6932
[Segment Replication] [Backport] Fix timeout issue by calculating tim…
Rishikesh1159 Sep 7, 2022
ff8fe36
[Bug]: gradle check failing with java heap OutOfMemoryError (#4328) …
reta Sep 7, 2022
ceb0e17
Add bwcVersion 1.3.6 to 2.x (#4452)
dreamer-89 Sep 7, 2022
4170d37
[Backport to 2.x] [Segment Replication] - Update replicas to commit S…
dreamer-89 Sep 7, 2022
d81df48
Bumping 2.x to 2.4.0 (#4454)
dreamer-89 Sep 8, 2022
5479690
2.3.0 release notes (#4457) (#4463)
dreamer-89 Sep 9, 2022
3080dfd
Bugfix: Allow opensearch.bat file and opensearch-env.bat files to run…
peterzhuamazon Sep 9, 2022
3612b24
Fixed flaky test: ResourceAwareTasksTests.testTaskIdPersistsInThreadC…
opensearch-trigger-bot[bot] Sep 14, 2022
b3a2e91
Getting security exception due to access denied 'java.lang.RuntimePer…
reta Sep 15, 2022
2a02d7d
[AUTO] [2.x] Added bwc version 2.3.1. (#4512)
opensearch-trigger-bot[bot] Sep 15, 2022
42f3c18
Adding support for labels on version bump PRs, skip label support for…
kotwanikunal Sep 16, 2022
3909012
[Backport 2.x] Updates jackson and snakeyml dependencies (#4563)
owaiskazi19 Sep 20, 2022
83b0ba1
[2.x] Change the version to remove deprecated code of adding node nam…
Sep 22, 2022
4b7b5d5
Ignore all malformed objects when ignore_malformed is true (#4494) (#…
hauck-jvsh Sep 23, 2022
c43c56c
add support for s390x architecture (#4001) (#4462)
opensearch-trigger-bot[bot] Sep 27, 2022
bd532e1
Fix invalid search location of JDK for arm64 (#4613) (#4642)
heemin32 Sep 30, 2022
a90fd73
[Backport] [2.x] Fixed the SnapshotsInProgress error during index del…
xuezhou25 Oct 4, 2022
59176ec
Update to Apache Lucene 9.4.0 (#4661) (#4667)
reta Oct 4, 2022
00f7734
[Backport 2.x] Bumping hadoop-hdfs version to 3.3.4 (#4647)
saratvemulapalli Oct 4, 2022
a12feea
Fixed day of year defaulting for round up parser (#4627) (#4678)
Vishalks Oct 5, 2022
2c0b4e7
[Backport 2.x] [Point in time] Backport point in time changes (#4616)
bharath-techie Oct 6, 2022
36925c5
Bugfix/496 rollover alias with filters (#4499) (#4651)
opensearch-trigger-bot[bot] Oct 6, 2022
2a7e46b
Add BWC version 1.3.7 (#4709)
Oct 7, 2022
a4b990d
Add shard routing primary check when processing a checkpoint. (#4716)
Rishikesh1159 Oct 10, 2022
1637590
Load the deprecated master role in a dedocated method instead of in s…
Oct 10, 2022
b55719c
[2.x] Bump jettison version from 1.4.1 to 1.5.1 (#4717)
Rishikesh1159 Oct 10, 2022
9feddc1
[Deprecate] RepositoryData.MIN_VERSION for removal in next major rele…
nknize Oct 11, 2022
747aa97
Add a new node role 'search' which is dedicated to provide search cap…
Oct 11, 2022
f4a3369
[Backport 2.x] ZIP publication groupId value is configurable (#4156) …
lukas-vlcek Oct 11, 2022
51678a8
Fixing Gradle warnings associated with publishPluginZipPublicationToX…
reta Oct 11, 2022
9968840
[Backport 2.x] Set analyzer to regex query string search (#4219)
opensearch-trigger-bot[bot] Oct 13, 2022
50225cb
[Backport 2.x] Introduce experimental searchable snapshot API (#4780)
andrross Oct 13, 2022
97bbc92
Update Jackson Databind to 2.13.4.2 (addressing CVE-2022-42003) (#477…
kotwanikunal Oct 17, 2022
e53e6ad
Install and configure Log4j JUL adapter for Lucene 9.4 (#4754) (#4758)
nknize Oct 18, 2022
45fb2e0
Disable merge on refresh in DiskThresholdDeciderIT (#4828) (#4833)
nknize Oct 19, 2022
a44370d
Better plural stemmer than minimal_english (#4738) (#4834)
nknize Oct 19, 2022
785e4a6
Refactor BalancedAllocator.Balancer to LocalShardsBalancer (#4761) (#…
kotwanikunal Oct 19, 2022
4e0d0be
[Backport 2.x] Bump protobuf-java to 3.21.7 in repository-gcs and rep…
ryanbogan Oct 20, 2022
38287d8
[Backport 2.x] Fix AbstractStringFieldDataTestCase tests to account f…
opensearch-trigger-bot[bot] Oct 21, 2022
1511aa8
Skip uppercase regex tests before 2.4.0 (#4869)
andrross Oct 21, 2022
057b096
[Backport 2.x] Introduce Remote translog feature flag (#4158) (#4857)
andrross Oct 21, 2022
a273f27
Add groupId value propagation tests for ZIP publication task (#4848)
lukas-vlcek Oct 21, 2022
0503897
[Backport 2.x]Support of GeoJson Point for GeoPoint field (#4597) (#4…
heemin32 Oct 21, 2022
82ce8cb
Compatibility issue with /_mget: RHLC 2.x connected to OpenSearch Clu…
reta Oct 24, 2022
5bf2ec4
Add missing no jdk distributions (#4722) (#4884)
rursprung Oct 24, 2022
3df7015
[Backport 2.x] [Remote Store] Change behaviour in replica recovery fo…
ashking94 Oct 24, 2022
52ff342
[Backport 2.x] Exclude jettison version brought in with hadoop-minicl…
ryanbogan Oct 24, 2022
4bd0116
Fix recovery path for searchable snapshots (#4813) (#4895)
andrross Oct 24, 2022
5482d9d
Add a link to the flakey test dev guide. (#4894)
dblock Oct 25, 2022
e741161
Upgrade netty to 4.1.84.Final (#4908)
cwperks Oct 25, 2022
c3ae61c
copy `build.sh` over from opensearch-build (#4887) (#4891)
opensearch-trigger-bot[bot] Oct 25, 2022
09a1df2
Bump reactor-netty-http to 1.0.24 in repository-azure (#4898)
ryanbogan Oct 25, 2022
7416b5e
Fix a bug on handling an invalid array value for point type field (#4…
heemin32 Oct 25, 2022
b5c22b1
Geo module: Update access modifier to support extensibility (#4921)
VijayanB Oct 26, 2022
f5a3871
Dependency updates: asm 9.3 -> 9.4, bytebuddy 1.12.12 -> 1.12.18 (#48…
reta Oct 26, 2022
b838b32
Bump Tika from 2.4.0 to 2.5.0 addressing CVE-2022-33879. (#4791) (#4794)
mch2 Oct 26, 2022
2a5c264
[Backport 2.x] Backport #4912: renamed flaky tests. (#4935)
dblock Oct 26, 2022
b78860e
Update Apache Lucene to 9.4.1 (#4922) (#4934)
reta Oct 26, 2022
5f3dc34
[Backport 2.x] Upgrade woodstox-core (#4951)
VachaShah Oct 27, 2022
c358b77
Make searchable snapshot indexes read-only but allow deletion (#4764)…
Vishalks Oct 27, 2022
bdd3917
Fix for failing checkExtraction, checkLicense and checkNotice tasks f…
Poojita-Raj Oct 28, 2022
213b966
Backport [2.x] [Segment Replication] Fix bug of replica shard's trans…
Rishikesh1159 Oct 28, 2022
fb63589
Adding feature to exclude indexes starting with dot from shard valida…
opensearch-trigger-bot[bot] Oct 29, 2022
122889f
build no-jdk distributions as part of release build (#4902) (#4993)
rursprung Oct 31, 2022
26abe78
[Backport 2.x] Fix dependencies (#4963) (#4982)
VachaShah Oct 31, 2022
859b06e
Bumping 2.x to 2.5.0 (#5002)
VachaShah Oct 31, 2022
12d9175
[Backport 2.x] Bump protobuf-java to 3.21.8 (#5005)
VachaShah Nov 1, 2022
8ae710a
OpenJDK Update (October 2022 Patch releases) (#4997) (#5009)
opensearch-trigger-bot[bot] Nov 1, 2022
03c8b6e
Use getParameterCount instead of getParameterTypes (#4821) (#5010)
opensearch-trigger-bot[bot] Nov 1, 2022
ff9c0e4
[Backport 2.x] Add remote shards allocator for searchable snapshots (…
opensearch-trigger-bot[bot] Nov 1, 2022
b9f817f
Awareness attribute decommission backports (#4970)
imRishN Nov 2, 2022
a0f79c0
Skip SymbolicLinkPreservingTarIT when running on Windows. (#5023) (#5…
opensearch-trigger-bot[bot] Nov 2, 2022
ea675c3
Implement Searchable Snapshot using OnDemandBlockIndexInput (#4892) (…
opensearch-trigger-bot[bot] Nov 2, 2022
e926f3c
Fix bug in SlicedInputStream with zero length (#4863) (#5045)
opensearch-trigger-bot[bot] Nov 2, 2022
50f56e3
[Backport 2.x] Upgrading zookeeper in hdfs-fixture (#5007) (#5047)
VachaShah Nov 2, 2022
0993802
Fix PIT flaky tests (#4632) (#5051)
opensearch-trigger-bot[bot] Nov 2, 2022
7c521b9
[Backport 2.x] In-flight cancellation of SearchShardTask based on res…
ketanv3 Nov 3, 2022
a7e1f6e
[Backport] Weighted routing 2.x (#5008)
anshu1106 Nov 3, 2022
3dc4fef
[Backport 2.x] Add AutoExpandReplica in the validation of replica cou…
Arpit-Bandejiya Nov 3, 2022
3798395
Backport Graceful Decommission and Integ Tests (#5060)
imRishN Nov 3, 2022
802e693
[Backport] [2.x] Fixed misunderstanding message 'No OpenSearchExcepti…
xuezhou25 Nov 4, 2022
d10bc9f
[Backport 2.x] Cluster Manager task throttling (#5041)
dhwanilpatel Nov 4, 2022
771d7f1
Fix flaky test ResourceAwareTasksTests on windows. (#5077) (#5079)
Poojita-Raj Nov 4, 2022
8ba891b
Fix length calculation for block based fetching (#5055) (#5080)
opensearch-trigger-bot[bot] Nov 4, 2022
4fc052b
Add allocation tests for remote shards (#5048) (#5086)
opensearch-trigger-bot[bot] Nov 4, 2022
749bb5b
Update changelog for 2.4 release (#5082)
andrross Nov 7, 2022
8ae0cd8
Add support for skipping changelog (#5088) (#5117)
opensearch-trigger-bot[bot] Nov 8, 2022
82b5b62
Update Jackson to 2.14.0 (#5105) (#5107)
opensearch-trigger-bot[bot] Nov 8, 2022
93a7640
Upgrade com.netflix.nebula:nebula-publishing-plugin to 4.6.0. (#5138)
dblock Nov 8, 2022
8363e46
[Backport 2.x] Fix error handling while reading analyzer mapping rule…
dblock Nov 8, 2022
8b8b5db
Fix backport issues for CHANGELOG.md file (#4977) (#4978)
opensearch-trigger-bot[bot] Nov 8, 2022
f206378
Backport CHANGELOG instructions from #5092 (#5154)
andrross Nov 8, 2022
93ee17e
Change the output error message back to use OpenSearchException in th…
opensearch-trigger-bot[bot] Nov 8, 2022
1cc50af
[Backport 2.x] Fix: org.opensearch.clustermanager.ClusterManagerTaskT…
opensearch-trigger-bot[bot] Nov 8, 2022
73af856
[Segment Replication] Fix for AlreadyClosedException for engine (#474…
opensearch-trigger-bot[bot] Nov 9, 2022
aff2b1f
Fix boundary condition in indexing pressure test (#5168) (#5179)
opensearch-trigger-bot[bot] Nov 9, 2022
591c674
Cleanup: remove unused semicolon (#5169) (#5178)
opensearch-trigger-bot[bot] Nov 10, 2022
37519fc
[Backport 2.x] Bump bcpg-fips from 1.0.5.1 to 1.0.7.1 in /distributio…
opensearch-trigger-bot[bot] Nov 10, 2022
083890f
[BUG] Gradle Check Failed on Windows due to JDK19 pulling by gradle (…
opensearch-trigger-bot[bot] Nov 10, 2022
a3616e7
[Backport 2.x] Bump commons-compress from 1.21 to 1.22 in /plugins/in…
opensearch-trigger-bot[bot] Nov 10, 2022
506d6e3
Bump geoip2 from 3.0.1 to 3.0.2 in /modules/ingest-geoip (#5103) (#5201)
opensearch-trigger-bot[bot] Nov 10, 2022
737536e
Fix flaky DecommissionControllerTests.testTimesOut (#4683) (#4688) (#…
andrross Nov 10, 2022
6fbe4bc
Ignore lock file when testing cleanupAndPreserveLatestCommitPoint (#4…
mch2 Nov 10, 2022
695f524
Do not skip CHANGELOG.md in backport (#5202) (#5204)
opensearch-trigger-bot[bot] Nov 11, 2022
07b9293
Fix test to use a file from another temp directory (#5158) (#5165)
opensearch-trigger-bot[bot] Nov 11, 2022
87778c0
Revert changes in AbstractPointGeometryFieldMapper (#5246) (#5260)
opensearch-trigger-bot[bot] Nov 15, 2022
eb7d2e4
Fix AwarenessAttributeDecommissionIT flaky tests (#5252) (#5261)
opensearch-trigger-bot[bot] Nov 15, 2022
4a5ca00
[Backport 2.x] Display test failures in the gradle check status repor…
opensearch-trigger-bot[bot] Nov 15, 2022
c8a7a84
Remove spotless exclusion for HyperLogLogPlusPlus (#5225) (#5241)
opensearch-trigger-bot[bot] Nov 15, 2022
d9af834
Apply reproducible builds to plugins (#4746) (#5281)
inglor Nov 16, 2022
a85e470
Fix test failing due to too long http line exception (#5278) (#5286)
adnapibar Nov 16, 2022
b4c692c
Fix flaky test AggregationsTests.testFromXContent (#5285) (#5292)
opensearch-trigger-bot[bot] Nov 17, 2022
d72776e
Added bwc version 2.4.1 (#5269)
opensearch-trigger-bot[bot] Nov 17, 2022
b856029
Fix typo in comment in OpenSearchException (#5265) (#5298)
opensearch-trigger-bot[bot] Nov 17, 2022
45bbe7e
Add feature flag for extensions (#5274)
ryanbogan Nov 17, 2022
21abc4d
Backport #5297: prettify gradle checks. (#5300)
dblock Nov 18, 2022
9121415
Make viaNode more deterministic for AwarenessAttributeDecommissionIT …
opensearch-trigger-bot[bot] Nov 18, 2022
7f7ebd6
[BUG] OperationRoutingTests.testWeightedOperationRoutingWeightUndefin…
opensearch-trigger-bot[bot] Nov 19, 2022
3d75aea
[Backport 2.x] Bump gson from 2.9.0 to 2.10 in /plugins/repository-hd…
opensearch-trigger-bot[bot] Nov 22, 2022
1aea2cb
Bump joni from 2.1.43 to 2.1.44 in /libs/grok (#5320) (#5326)
opensearch-trigger-bot[bot] Nov 22, 2022
7e04797
Bump protobuf-java from 3.21.8 to 3.21.9 in /test/fixtures/hdfs-fixtu…
opensearch-trigger-bot[bot] Nov 22, 2022
36102bb
[Backport to 2.x] Manual backport of several dependabot PRs (#5330)
kartg Nov 22, 2022
d74d992
[BUG] org.opensearch.repositories.s3.RepositoryS3ClientYamlTestSuiteI…
opensearch-trigger-bot[bot] Nov 22, 2022
4233454
Fix URLDecodeProcessor random test failure (#5328) (#5340)
opensearch-trigger-bot[bot] Nov 22, 2022
81e7cc7
Adding integration tests for search backpressure (#5308) (#5343)
opensearch-trigger-bot[bot] Nov 22, 2022
6bdad79
Update Apache Lucene to 9.4.2 (#5354)
reta Nov 23, 2022
05979b4
Prevent deletion of snapshot backing index (#5365)
Vishalks Nov 23, 2022
4b991dd
Use BuildParams.isCi() instead of checking env var (#5368) (#5372)
reta Nov 25, 2022
9cd396a
[2.x] Bump test-retry from 1.3.2 to 1.4.1 (#5383)
andrross Nov 25, 2022
9c68587
Update Gradle to 7.6 (#5382)
reta Nov 25, 2022
452ed77
Reject bulk requests with invalid actions (#5302) (#5384)
adnapibar Nov 26, 2022
07f6b13
Update Jackson to 2.14.1 (#5346) (#5355)
opensearch-trigger-bot[bot] Nov 28, 2022
44e9343
Update Apache Lucene to 9.4.2 for OpenSearch 2.4.1 (#5393)
reta Nov 28, 2022
ab69b8f
Fix flaky test testReplicaReceivesGenIncrease. (#5321) (#5402)
opensearch-trigger-bot[bot] Nov 30, 2022
3cb281e
Skip Test OnDemandBlockSnapshotIndexInputTests.testVariousBlockSize o…
opensearch-trigger-bot[bot] Nov 30, 2022
17b9077
Fix 1.x compatibility bug with stored Tasks (#5412) (#5415)
andrross Nov 30, 2022
fac0613
Update Rest status for DecommissioningFailedException (#5283) (#5420)
imRishN Dec 1, 2022
f7e2d8e
Fix IndexShardTests.testRestoreShardFromRemoteStore on Windows. (#539…
opensearch-trigger-bot[bot] Dec 1, 2022
1be8521
Fix flaky ShardIndexingPressureConcurrentExecutionTests (#5439) (#5450)
opensearch-trigger-bot[bot] Dec 5, 2022
95441bc
Fix bwc for cluster manager throttling settings (#5456)
dhwanilpatel Dec 6, 2022
8adf725
Update ingest-attachment plugin dependencies: Apache Tika 3.6.0, Apac…
opensearch-trigger-bot[bot] Dec 7, 2022
fd59008
[BUG] org.opensearch.repositories.s3.RepositoryS3ClientYamlTestSuiteI…
opensearch-trigger-bot[bot] Dec 7, 2022
2a1e734
[Bug] fix case sensitivity for wildcard queries (#5462) (#5493)
opensearch-trigger-bot[bot] Dec 8, 2022
8fc8926
Revert "build no-jdk distributions as part of release build (#4902)" …
rursprung Dec 9, 2022
7e489ce
Add max_shard_size parameter for Shrink API (#5229) (#5498)
gaobinlong Dec 9, 2022
f400c33
Support OpenSSL Provider with default Netty allocator (#5460) (#5499)
reta Dec 9, 2022
31f895e
Sync CODEOWNERS with MAINTAINERS. (#5501) (#5507)
opensearch-trigger-bot[bot] Dec 9, 2022
ed39e74
Properly skip OnDemandBlockSnapshotIndexInputTests.testVariousBlockSi…
opensearch-trigger-bot[bot] Dec 12, 2022
69e9701
Fix flaky test BulkIntegrationIT.testDeleteIndexWhileIndexing (#5491)…
opensearch-trigger-bot[bot] Dec 12, 2022
e8f21bf
Added jackson dependency to server (#5517)
ryanbogan Dec 12, 2022
ae7b665
Backport #5332 (#5533)
Rishikesh1159 Dec 13, 2022
eedddab
Add release notes for 2.4.1 (#5488) (#5510)
opensearch-trigger-bot[bot] Dec 13, 2022
ccc687c
[Backport-2.x]Atomically update cluster state with decommission statu…
imRishN Dec 13, 2022
f2b725a
Pre conditions check before updating weighted routing metadata (#4955…
imRishN Dec 13, 2022
816e12c
Added experimental extensions (#5530)
ryanbogan Dec 13, 2022
0ea42f2
Adding support to register settings dynamically (#5495) (#5544)
opensearch-trigger-bot[bot] Dec 13, 2022
5dfb83d
Bump commons-compress from 1.21 to 1.22 (#5520) (#5523)
opensearch-trigger-bot[bot] Dec 13, 2022
4effd78
Update release date in 2.4.1 release notes (#5549) (#5551)
opensearch-trigger-bot[bot] Dec 13, 2022
b016c7b
Update 2.4.1 release notes (#5552) (#5555)
opensearch-trigger-bot[bot] Dec 13, 2022
540ca19
Update Netty to 4.1.86.Final (#5545)
reta Dec 13, 2022
4f26823
[2.x] Added bwc version 2.4.2 (#5564)
dreamer-89 Dec 14, 2022
4ab6082
Refactor fuzziness interface on query builders (#5433) (#5584)
noCharger Dec 15, 2022
016acd2
Backporting Auto release workflow to 2.x (#5582)
saratvemulapalli Dec 16, 2022
c0eea5c
Added extension Points, initial REST implementation and registering T…
ryanbogan Dec 16, 2022
994802a
Backporting Minor bug fix related to cluster manager throttling setti…
dhwanilpatel Dec 19, 2022
6ac361f
[Backport 2.x] Add CI bundle pattern to distribution download (#5573)
opensearch-trigger-bot[bot] Dec 19, 2022
e9b2347
Change version check for cluster manager throttling setting to 2.5 (#…
opensearch-trigger-bot[bot] Dec 22, 2022
2ebfb08
Added getSettings() support, ActionListener onFailure(), and initial …
ryanbogan Dec 23, 2022
5ff33de
Added TransportActions support and removed LocalNodeResponse for exte…
ryanbogan Dec 24, 2022
24c76ae
Improve tests.config property thread safety (#5645) (#5654)
opensearch-trigger-bot[bot] Dec 29, 2022
f8da145
Ensure force merge to single segment is flushed (#5652) (#5653)
opensearch-trigger-bot[bot] Dec 29, 2022
b9222d1
Fix flaky SearchCancellationIT tests to avoid race condition (#5656) …
opensearch-trigger-bot[bot] Dec 29, 2022
934600f
Add version check during task submission for bwc for static threshold…
opensearch-trigger-bot[bot] Jan 3, 2023
adfcf7d
Fix index exclusion behavior in snapshot restore and clone APIs (#5683)
opensearch-trigger-bot[bot] Jan 3, 2023
72a1e58
Bump apache-rat from 0.13 to 0.15 (#5686)
Rishikesh1159 Jan 4, 2023
750cb13
Bump reactor-netty from 1.0.18 to 1.1.1 (#5685)
Rishikesh1159 Jan 4, 2023
8dc5ddf
[Backport 2.x] Bump gradle-info-plugin from 7.1.3 to 12.0.0 (#5684)
Rishikesh1159 Jan 4, 2023
a5afdd4
[Backport 2.x] Adding @gbbafna to OpenSearch maintainers (#5668) (#5690)
gbbafna Jan 4, 2023
53a4cae
[Backport 2.x] Validate attributes of routing nodes for Routing Weigh…
imRishN Jan 4, 2023
85b85b1
Enhance searchable snapshots to enable a read-only view of older snap…
kartg Jan 5, 2023
ee33c9e
Add support of default replica count change (#5610) (#5732)
Arpit-Bandejiya Jan 6, 2023
06c1712
Bumping 2.x to 2.6 (#5744)
saratvemulapalli Jan 7, 2023
49fffcb
Add support for refresh level durability (#5749)
sachinpkale Jan 9, 2023
f6a86db
[Remote Translog] Introduce remote translog transfer support (#4480) …
gbbafna Jan 9, 2023
8fd0d59
Adding @gbbafna to code owners (#5695) (#5725)
gbbafna Jan 9, 2023
6eca25f
[Backport 2.x] Support no-op replication for remote-backed indexes (#…
ashking94 Jan 9, 2023
be51d7b
Adding core changes for API to check per awareness attribute health (…
opensearch-trigger-bot[bot] Jan 9, 2023
d694685
[Backport 2.x] Adding Remote translog upload, download and failover c…
gbbafna Jan 9, 2023
4f9a5c0
Fix Graph Filter Error in Search (#5665) (#5758)
opensearch-trigger-bot[bot] Jan 9, 2023
5d1680e
Update nebula-publishing-plugin to 19.2.0 (#5704) (#5733)
reta Jan 10, 2023
bfab120
[Weighted Routing] Add support for discovered master and remove local…
anshu1106 Jan 7, 2023
b1ca51e
[Weighted Shard Routing] API versioning (#5255)
anshu1106 Jan 9, 2023
9807620
[Weighted Shard Routing] Fail open requests on search shard failures …
anshu1106 Jan 10, 2023
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 21 additions & 1 deletion .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,24 @@ BWC_VERSION:
- "1.2.5"
- "1.3.0"
- "1.3.1"
- "1.4.0"
- "1.3.2"
- "1.3.3"
- "1.3.4"
- "1.3.5"
- "1.3.6"
- "1.3.7"
- "1.3.8"
- "2.0.0"
- "2.0.1"
- "2.0.2"
- "2.1.0"
- "2.1.1"
- "2.2.0"
- "2.2.1"
- "2.2.2"
- "2.3.0"
- "2.3.1"
- "2.4.0"
- "2.4.1"
- "2.4.2"
- "2.5.0"
2 changes: 1 addition & 1 deletion .ci/dockerOnLinuxExclusions
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ ol-7.7
sles-12.3 # older version used in Vagrant image
sles-12.5
sles-15.1
sles-15.2
sles-15.2
11 changes: 11 additions & 0 deletions .ci/documentation/issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**Is your feature request related to a problem?**
A new feature has been added.

**What solution would you like?**
Document the usage of the new feature.

**What alternatives have you considered?**
N/A

**Do you have any additional context?**
See please
4 changes: 1 addition & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# This should match the owning team set up in https://github.com/orgs/opensearch-project/teams
* @opensearch-project/opensearch-core

* @reta @anasalkouz @andrross @reta @Bukhtawar @CEHENKLE @dblock @gbbafna @setiah @kartg @kotwanikunal @mch2 @nknize @owaiskazi19 @adnapibar @Rishikesh1159 @ryanbogan @saratvemulapalli @shwetathareja @dreamer-89 @tlfeng @VachaShah @xuezhou25
7 changes: 4 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
### Description
[Describe what this change achieves]

### Issues Resolved
[List any issues this PR will resolve]

### Check List
- [ ] New functionality includes testing.
- [ ] All tests pass
- [ ] New functionality has been documented.
- [ ] New functionality has javadoc added
- [ ] Commits are signed per the DCO using --signoff
- [ ] Commits are signed per the DCO using --signoff
- [ ] Commit changes are listed out in CHANGELOG.md file (See: [Changelog](../blob/main/CONTRIBUTING.md#changelog))

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).
29 changes: 29 additions & 0 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Releases

on:
push:
tags:
- '*'

jobs:

build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
github_token: ${{ steps.github_app_token.outputs.token }}
bodyFile: release-notes/opensearch.release-notes-${{steps.tag.outputs.tag}}.md
4 changes: 2 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
installation_id: 22958780

- name: Backport
uses: VachaShah/backport@v1.1.4
uses: VachaShah/backport@v2.1.0
with:
github_token: ${{ steps.github_app_token.outputs.token }}
branch_name: backport/backport-${{ github.event.number }}
head_template: backport/backport-<%= number %>-to-<%= base %>
18 changes: 18 additions & 0 deletions .github/workflows/changelog_verifier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Changelog Verifier"
on:
pull_request:
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled]

jobs:
# Enforces the update of a changelog file on every pull request
verify-changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}

- uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: "autocut, skip-changelog"
14 changes: 14 additions & 0 deletions .github/workflows/code-hygiene.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Code Hygiene

on: [pull_request]

jobs:
linelint:
runs-on: ubuntu-latest
name: Check if all files end in newline
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Linelint
uses: fernandrone/[email protected]
41 changes: 41 additions & 0 deletions .github/workflows/create-documentation-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Create Documentation Issue
on:
pull_request:
types:
- labeled
env:
PR_NUMBER: ${{ github.event.number }}

jobs:
create-issue:
if: ${{ github.event.label.name == 'needs-documentation' }}
runs-on: ubuntu-latest
name: Create Documentation Issue
steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780

- name: Checkout code
uses: actions/checkout@v2

- name: Edit the issue template
run: |
echo "https://github.com/opensearch-project/OpenSearch/pull/${{ env.PR_NUMBER }}." >> ./ci/documentation/issue.md

- name: Create Issue From File
id: create-issue
uses: peter-evans/create-issue-from-file@v4
with:
title: Add documentation related to new feature
content-filepath: ./ci/documentation/issue.md
labels: documentation
repository: opensearch-project/documentation-website
token: ${{ steps.github_app_token.outputs.token }}

- name: Print Issue
run: echo Created related documentation issue ${{ steps.create-issue.outputs.issue-number }}
2 changes: 1 addition & 1 deletion .github/workflows/delete_backport_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- name: Delete merged branch
uses: SvanBoxel/delete-merged-branch@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 14 additions & 0 deletions .github/workflows/dependabot_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,17 @@ jobs:
commit_user_name: dependabot[bot]
commit_user_email: [email protected]
commit_options: '--signoff'

- name: Update the changelog
uses: dangoslen/dependabot-changelog-helper@v1
with:
version: 'Unreleased'

- name: Commit the changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update changelog"
branch: ${{ github.head_ref }}
commit_user_name: dependabot[bot]
commit_user_email: [email protected]
commit_options: '--signoff'
118 changes: 118 additions & 0 deletions .github/workflows/gradle-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
name: Gradle Check (Jenkins)
on:
push:
branches-ignore:
- 'backport/**'
- 'create-pull-request/**'
- 'dependabot/**'
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
gradle-check:
runs-on: ubuntu-latest
timeout-minutes: 130
steps:
- name: Checkout OpenSearch repo
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup environment variables (PR)
if: github.event_name == 'pull_request_target'
run: |
echo "pr_from_sha=$(jq --raw-output .pull_request.head.sha $GITHUB_EVENT_PATH)" >> $GITHUB_ENV
echo "pr_from_clone_url=$(jq --raw-output .pull_request.head.repo.clone_url $GITHUB_EVENT_PATH)" >> $GITHUB_ENV
echo "pr_to_clone_url=$(jq --raw-output .pull_request.base.repo.clone_url $GITHUB_EVENT_PATH)" >> $GITHUB_ENV
echo "pr_title=$(jq --raw-output .pull_request.title $GITHUB_EVENT_PATH)" >> $GITHUB_ENV
echo "pr_number=$(jq --raw-output .pull_request.number $GITHUB_EVENT_PATH)" >> $GITHUB_ENV

- name: Setup environment variables (Push)
if: github.event_name == 'push'
run: |
repo_url="https://github.com/opensearch-project/OpenSearch"
ref_id=$(git rev-parse HEAD)
branch_name=$(git rev-parse --abbrev-ref HEAD)
echo "pr_from_sha=$ref_id" >> $GITHUB_ENV
echo "pr_from_clone_url=$repo_url" >> $GITHUB_ENV
echo "pr_to_clone_url=$repo_url" >> $GITHUB_ENV
echo "pr_title=Push trigger $branch_name $ref_id $repo_url" >> $GITHUB_ENV
echo "pr_number=Null" >> $GITHUB_ENV

- name: Checkout opensearch-build repo
uses: actions/checkout@v2
with:
repository: opensearch-project/opensearch-build
ref: main
path: opensearch-build

- name: Trigger jenkins workflow to run gradle check
run: |
set -e
set -o pipefail
bash opensearch-build/scripts/gradle/gradle-check.sh ${{ secrets.JENKINS_GRADLE_CHECK_GENERIC_WEBHOOK_TOKEN }} | tee -a gradle-check.log

- name: Setup Result Status
if: always()
run: |
WORKFLOW_URL=`cat gradle-check.log | grep 'WORKFLOW_URL' | awk '{print $2}'`
RESULT=`cat gradle-check.log | grep 'Result:' | awk '{print $2}'`
echo "workflow_url=$WORKFLOW_URL" >> $GITHUB_ENV
echo "result=$RESULT" >> $GITHUB_ENV

- name: Upload Coverage Report
if: success()
uses: codecov/codecov-action@v2
with:
files: ./codeCoverage.xml

- name: Create Comment Success
if: ${{ github.event_name == 'pull_request_target' && success() && env.result == 'SUCCESS' }}
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ env.pr_number }}
body: |
### Gradle Check (Jenkins) Run Completed with:
* **RESULT:** ${{ env.result }} :white_check_mark:
* **URL:** ${{ env.workflow_url }}
* **CommitID:** ${{ env.pr_from_sha }}

- name: Extract Test Failure
if: ${{ github.event_name == 'pull_request_target' && env.result != 'SUCCESS' }}
run: |
TEST_FAILURES=`curl -s "${{ env.workflow_url }}/testReport/api/json?tree=suites\[cases\[status,className,name\]\]" | jq -r '.. | objects | select(.status=="FAILED",.status=="REGRESSION") | (.className + "." + .name)' | uniq -c | sort -n -r | head -n 10`
if [[ "$TEST_FAILURES" != "" ]]
then
echo "test_failures<<EOF" >> $GITHUB_ENV
echo "" >> $GITHUB_ENV
echo "* **TEST FAILURES:**" >> $GITHUB_ENV
echo '```' >> $GITHUB_ENV
echo "$TEST_FAILURES" >> $GITHUB_ENV
echo '```' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
fi

- name: Create Comment Flaky
if: ${{ github.event_name == 'pull_request_target' && success() && env.result != 'SUCCESS' }}
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ env.pr_number }}
body: |
### Gradle Check (Jenkins) Run Completed with:
* **RESULT:** ${{ env.result }} :grey_exclamation: ${{ env.test_failures }}
* **URL:** ${{ env.workflow_url }}
* **CommitID:** ${{ env.pr_from_sha }}
Please review all [flaky tests](https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#flaky-tests) that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

- name: Create Comment Failure
if: ${{ github.event_name == 'pull_request_target' && failure() }}
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ env.pr_number }}
body: |
### Gradle Check (Jenkins) Run Completed with:
* **RESULT:** ${{ env.result }} :x: ${{ env.test_failures }}
* **URL:** ${{ env.workflow_url }}
* **CommitID:** ${{ env.pr_from_sha }}
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure [a flaky test](https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#flaky-tests) unrelated to your change?
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
args: --accept=200,403,429 --exclude-mail **/*.html **/*.md **/*.txt **/*.json --exclude-file .lychee.excludes
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
59 changes: 59 additions & 0 deletions .github/workflows/lucene-snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This workflow will check out, build, and publish snapshots of lucene.

name: OpenSearch Lucene snapshots

on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
ref:
description:
required: false
default: 'main'

jobs:
publish-snapshots:
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'

- name: Checkout Lucene
uses: actions/checkout@v2
with:
repository: 'apache/lucene'
path: lucene
ref: ${{ github.event.inputs.ref }}

- name: Set hash
working-directory: ./lucene
run: |
echo "::set-output name=REVISION::$(git rev-parse --short HEAD)"
id: version

- name: Initialize gradle settings
working-directory: ./lucene
run: ./gradlew localSettings

- name: Publish Lucene to local maven repo.
working-directory: ./lucene
run: ./gradlew publishJarsPublicationToMavenLocal -Pversion.suffix=snapshot-${{ steps.version.outputs.REVISION }}

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.LUCENE_SNAPSHOTS_ROLE }}
aws-region: us-west-2

- name: Copy files to S3 with the aws CLI.
run: |
aws s3 cp ~/.m2/repository/org/apache/lucene/ s3://${{ secrets.LUCENE_SNAPSHOTS_BUCKET }}/snapshots/lucene/org/apache/lucene/ --recursive --no-progress
Loading