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.4] Add remote shards allocator for searchable snapshots #5028

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 9119104 from #4870.

Signed-off-by: Kunal Kotwani <[email protected]>

Part of this commit was developed from code and concepts initially implemented
in Amazon OpenSearch Service as part of the UltraWarm feature. Thank you to the
following developers and the entire UltraWarm team.

Co-authored-by: Min Zhou <[email protected]>
Co-authored-by: Ankit Malpani <[email protected]>
Co-authored-by: Rohit Nair <[email protected]>
Co-authored-by: Sorabh Hamirwasia <[email protected]>
Co-authored-by: Ankit Jain <[email protected]>
Co-authored-by: Tianru Zhou <[email protected]>
Co-authored-by: Neetika Singhal <[email protected]>
Co-authored-by: Amit Khandelwal <[email protected]>
Co-authored-by: Vigya Sharma <[email protected]>
Co-authored-by: Prateek Sharma <[email protected]>
Co-authored-by: Venkata Jyothsna Donapati <[email protected]>
Co-authored-by: Vlad Rozov <[email protected]>
Co-authored-by: Mohit Agrawal <[email protected]>
Co-authored-by: Shweta Thareja <[email protected]>
Co-authored-by: Palash Hedau <[email protected]>
Co-authored-by: Saurabh Singh <[email protected]>
Co-authored-by: Piyush Daftary <[email protected]>
Co-authored-by: Payal Maheshwari <[email protected]>
Co-authored-by: Kunal Khatua <[email protected]>
Co-authored-by: Gulshan Kumar <[email protected]>
Co-authored-by: Rushi Agrawal <[email protected]>
Co-authored-by: Ketan Verma <[email protected]>
Co-authored-by: Gaurav Chandani <[email protected]>
Co-authored-by: Dharmesh Singh <[email protected]>
Signed-off-by: Kunal Kotwani <[email protected]>

Signed-off-by: Kunal Kotwani <[email protected]>
Co-authored-by: Min Zhou <[email protected]>
Co-authored-by: Ankit Malpani <[email protected]>
Co-authored-by: Rohit Nair <[email protected]>
Co-authored-by: Sorabh Hamirwasia <[email protected]>
Co-authored-by: Ankit Jain <[email protected]>
Co-authored-by: Tianru Zhou <[email protected]>
Co-authored-by: Neetika Singhal <[email protected]>
Co-authored-by: Amit Khandelwal <[email protected]>
Co-authored-by: Vigya Sharma <[email protected]>
Co-authored-by: Prateek Sharma <[email protected]>
Co-authored-by: Venkata Jyothsna Donapati <[email protected]>
Co-authored-by: Vlad Rozov <[email protected]>
Co-authored-by: Mohit Agrawal <[email protected]>
Co-authored-by: Shweta Thareja <[email protected]>
Co-authored-by: Palash Hedau <[email protected]>
Co-authored-by: Saurabh Singh <[email protected]>
Co-authored-by: Piyush Daftary <[email protected]>
Co-authored-by: Payal Maheshwari <[email protected]>
Co-authored-by: Kunal Khatua <[email protected]>
Co-authored-by: Gulshan Kumar <[email protected]>
Co-authored-by: Rushi Agrawal <[email protected]>
Co-authored-by: Ketan Verma <[email protected]>
Co-authored-by: Gaurav Chandani <[email protected]>
Co-authored-by: Dharmesh Singh <[email protected]>
(cherry picked from commit 9119104)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@opensearch-trigger-bot opensearch-trigger-bot bot requested review from a team and reta as code owners November 1, 2022 20:55
Signed-off-by: Kunal Kotwani <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2022

Gradle Check (Jenkins) Run Completed with:

@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2022

Codecov Report

Merging #5028 (46f29c6) into 2.4 (26abe78) will decrease coverage by 0.52%.
The diff coverage is 59.11%.

@@             Coverage Diff              @@
##                2.4    #5028      +/-   ##
============================================
- Coverage     71.18%   70.65%   -0.53%     
+ Complexity    58054    57733     -321     
============================================
  Files          4620     4623       +3     
  Lines        276220   276645     +425     
  Branches      40422    40508      +86     
============================================
- Hits         196628   195467    -1161     
- Misses        63542    64862    +1320     
- Partials      16050    16316     +266     
Impacted Files Coverage Δ
.../java/org/opensearch/test/InternalTestCluster.java 60.68% <7.14%> (-1.79%) ⬇️
...ing/allocation/allocator/RemoteShardsBalancer.java 51.86% <51.86%> (ø)
...ting/allocation/allocator/LocalShardsBalancer.java 84.68% <83.87%> (-0.42%) ⬇️
...a/org/opensearch/cluster/routing/RoutingNodes.java 83.51% <85.71%> (-1.56%) ⬇️
...ain/java/org/opensearch/cluster/ClusterModule.java 100.00% <100.00%> (ø)
...va/org/opensearch/cluster/routing/RoutingPool.java 100.00% <100.00%> (ø)
...a/org/opensearch/cluster/routing/ShardRouting.java 74.23% <100.00%> (-1.32%) ⬇️
.../allocation/allocator/BalancedShardsAllocator.java 91.17% <100.00%> (-0.95%) ⬇️
...llocation/decider/TargetPoolAllocationDecider.java 100.00% <100.00%> (ø)
...ensearch/cluster/OpenSearchAllocationTestCase.java 91.66% <100.00%> (+0.11%) ⬆️
... and 472 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2022

Gradle Check (Jenkins) Run Completed with:

@kotwanikunal kotwanikunal merged commit 90fc25b into 2.4 Nov 2, 2022
@github-actions github-actions bot deleted the backport/backport-4870-to-2.4 branch November 2, 2022 00:47
tlfeng pushed a commit to tlfeng/OpenSearch that referenced this pull request Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants