Skip to content

Commit a5cf2ed

Browse files
authoredNov 3, 2022
Weighted routing/backport2.4 (#5057)
* Weighted round-robin scheduling policy for shard coordination traffic… (#4241) * Add PUT api to update shard routing weights (#4272) * Add GET api to get shard routing weights (#4275) * Fix weighted routing metadata deserialization error during node restart (#4691) * Delete API for weighted round robin search routing (#4917 * Mark apis experimental Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
1 parent def9db1 commit a5cf2ed

File tree

51 files changed

+4054
-9
lines changed

Some content is hidden

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

51 files changed

+4054
-9
lines changed
 

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5050
### Changed
5151
- Dependency updates (httpcore, mockito, slf4j, httpasyncclient, commons-codec) ([#4308](https://github.com/opensearch-project/OpenSearch/pull/4308))
5252
- Use RemoteSegmentStoreDirectory instead of RemoteDirectory ([#4240](https://github.com/opensearch-project/OpenSearch/pull/4240))
53+
- Weighted round-robin scheduling policy for shard coordination traffic ([#4241](https://github.com/opensearch-project/OpenSearch/pull/4241))
5354
- Add index specific setting for remote repository ([#4253](https://github.com/opensearch-project/OpenSearch/pull/4253))
5455
- [Segment Replication] Update replicas to commit SegmentInfos instead of relying on SIS files from primary shards. ([#4402](https://github.com/opensearch-project/OpenSearch/pull/4402))
5556
- Change the version to remove deprecated code of adding node name into log pattern of log4j property file ([#4569](https://github.com/opensearch-project/OpenSearch/pull/4569))
@@ -58,6 +59,10 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5859
- Plugin ZIP publication groupId value is configurable ([#4156](https://github.com/opensearch-project/OpenSearch/pull/4156))
5960
- Further simplification of the ZIP publication implementation ([#4360](https://github.com/opensearch-project/OpenSearch/pull/4360))
6061
- [Remote Store] Change behaviour in replica recovery for remote translog enabled indices ([#4318](https://github.com/opensearch-project/OpenSearch/pull/4318))
62+
- PUT api for weighted shard routing ([#4272](https://github.com/opensearch-project/OpenSearch/pull/4272))
63+
- GET api for weighted shard routing([#4275](https://github.com/opensearch-project/OpenSearch/pull/4275/))
64+
- Delete api for weighted shard routing([#4400](https://github.com/opensearch-project/OpenSearch/pull/4400/))
65+
- Fix weighted routing metadata deserialization error on process restart ([#4691](https://github.com/opensearch-project/OpenSearch/pull/4691))
6166

6267
### Deprecated
6368
### Removed

‎client/rest-high-level/src/test/java/org/opensearch/client/RestHighLevelClientTests.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,10 @@ public void testApiNamingConventions() throws Exception {
888888
"nodes.usage",
889889
"nodes.reload_secure_settings",
890890
"search_shards",
891-
"remote_store.restore", };
891+
"remote_store.restore",
892+
"cluster.put_weighted_routing",
893+
"cluster.get_weighted_routing",
894+
"cluster.delete_weighted_routing", };
892895
List<String> booleanReturnMethods = Arrays.asList("security.enable_user", "security.disable_user", "security.change_password");
893896
Set<String> deprecatedMethods = new HashSet<>();
894897
deprecatedMethods.add("indices.force_merge");

0 commit comments

Comments
 (0)