OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

[Draft]: Graceful decommission support

Open pranikum opened this issue 3 years ago • 2 comments

Description

Changes for Graceful Node decommission. This PR is on top of Node decommission PR. And has changes for handling graceful decommission. When request for node decommission is received we will check the HTTP stats for the nodes being decommissioned. If the decommissioned nodes have active http request open we will wait for these active requests to be completed.

The real change related to graceful decommission is in. https://github.com/opensearch-project/OpenSearch/pull/4082/files#diff-849967a77ed9b839e5b6de9ef959bf8c01dbb3dcb139813dab7c093e8ac0b0c2

Rest are taken from Dependent PR

Depends On: https://github.com/opensearch-project/OpenSearch/pull/3920

Issues Resolved

3956

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

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.

pranikum avatar Aug 02 '22 06:08 pranikum

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/1243/
  • CommitID: 70da64ca546db60e8565c2145d6ccfa4cf6526ba

github-actions[bot] avatar Aug 02 '22 06:08 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/1452/
  • CommitID: 8e706279da3aa70f412cd98b8b0499a782880849

github-actions[bot] avatar Aug 04 '22 18:08 github-actions[bot]

@pranikum @Bukhtawar this PR has been there as draft for 300+ days? any plans to productionalize it?

anasalkouz avatar Jun 06 '23 19:06 anasalkouz

Closing the PR since we have take care as part of another PR: https://github.com/opensearch-project/OpenSearch/pull/4586

pranikum avatar Jun 07 '23 04:06 pranikum