OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

Delete API for weighted round robin search routing

Open anshu1106 opened this issue 3 years ago • 3 comments

Description

This pull request adds DELTE api to delete weights for weighted routing policy. This in turn disable the deature.

Issues Resolved

2859 3639

Check List

  • [ ] New functionality includes testing.
    • [ ] All tests pass
  • [x] New functionality has been documented.
    • [x] New functionality has javadoc added
  • [x] Commits are signed per the DCO using --signoff
  • [ ] Commit changes are listed out in CHANGELOG.md file (See: 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.

anshu1106 avatar Sep 03 '22 16:09 anshu1106

Gradle Check (Jenkins) Run Completed with:

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

github-actions[bot] avatar Sep 03 '22 16:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/2798/
  • CommitID: c6ed81c5f5badd3e9c1beed9e7549da49d743fd6

github-actions[bot] avatar Sep 07 '22 05:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3243/
  • CommitID: 7b3e7586206752d317f72728625215a1eca394b1

github-actions[bot] avatar Sep 20 '22 13:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3312/
  • CommitID: 3ce3c2242a85b5825cb04c902ee841a8f0e94a01

github-actions[bot] avatar Sep 22 '22 08:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3464/
  • CommitID: a32ae280a21569ec253acf20261ec32f05686c48

github-actions[bot] avatar Sep 27 '22 09:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3465/
  • CommitID: 6eb285f7f2b1deeab5c6a48a744bedf93f580d55

github-actions[bot] avatar Sep 27 '22 09:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3466/
  • CommitID: f5514c42a572c3054891ab19dc9429db44e788e8

github-actions[bot] avatar Sep 27 '22 10:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3481/
  • CommitID: 7b379625bb3c80a98d72327d5ac7ae98bba23610

github-actions[bot] avatar Sep 27 '22 17:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3483/
  • CommitID: 7a8a4d2c721d419720a55240a9bed9f65a64f85b

github-actions[bot] avatar Sep 27 '22 17:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3527/
  • CommitID: b7d958033c4887e0afadeea224357af7897a124d

github-actions[bot] avatar Sep 28 '22 13:09 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3914/
  • CommitID: e5c4c5a184197c6748e9bc4f520b0542c506328e

github-actions[bot] avatar Oct 06 '22 08:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3921/
  • CommitID: 91d775953033842dbe98d52537796f3eeb72aac6

github-actions[bot] avatar Oct 06 '22 10:10 github-actions[bot]

Codecov Report

Merging #4400 (6a4c8d5) into main (d15795a) will increase coverage by 0.12%. The diff coverage is 44.81%.

@@             Coverage Diff              @@
##               main    #4400      +/-   ##
============================================
+ Coverage     70.66%   70.78%   +0.12%     
- Complexity    57578    57698     +120     
============================================
  Files          4661     4675      +14     
  Lines        276662   276918     +256     
  Branches      40325    40347      +22     
============================================
+ Hits         195501   196016     +515     
+ Misses        64926    64684     -242     
+ Partials      16235    16218      -17     
Impacted Files Coverage Δ
.../delete/DeleteDecommissionStateRequestBuilder.java 0.00% <0.00%> (ø)
...te/ClusterDeleteWeightedRoutingRequestBuilder.java 0.00% <0.00%> (ø)
...apshots/restore/RestoreSnapshotRequestBuilder.java 15.78% <0.00%> (-0.88%) :arrow_down:
.../org/opensearch/client/support/AbstractClient.java 32.30% <0.00%> (-0.63%) :arrow_down:
.../java/org/opensearch/common/util/FeatureFlags.java 50.00% <ø> (ø)
...ateway/TransportNodesListGatewayStartedShards.java 51.00% <0.00%> (-0.68%) :arrow_down:
...h/index/shard/RemoveCorruptedShardDataCommand.java 84.87% <ø> (+3.36%) :arrow_up:
...java/org/opensearch/index/shard/StoreRecovery.java 67.88% <ø> (+0.01%) :arrow_up:
...h/index/store/InMemoryRemoteSnapshotDirectory.java 0.00% <0.00%> (ø)
...in/java/org/opensearch/indices/IndicesService.java 69.65% <0.00%> (-0.25%) :arrow_down:
... and 482 more

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

codecov-commenter avatar Oct 06 '22 10:10 codecov-commenter

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3926/
  • CommitID: 6554f3a36dde2ad7d515f2cd12bdabb3bc7e711d

github-actions[bot] avatar Oct 06 '22 11:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3927/
  • CommitID: e864111086e395ba6da14663ae19338d4b9ce263

github-actions[bot] avatar Oct 06 '22 12:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3939/
  • CommitID: 56fe6af2426ee68ed3901ecc97ef7f06344ab723

github-actions[bot] avatar Oct 06 '22 12:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3952/
  • CommitID: e8cda62bd6cbc8e7d68bf375bc9ee4b0f44ff235

github-actions[bot] avatar Oct 06 '22 13:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3966/
  • CommitID: a4fe992109984798c460c492157de3f1e7824f0a

github-actions[bot] avatar Oct 06 '22 16:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3986/
  • CommitID: 5321b9566138f943e38be21afdde12eb6bfe4ab2

github-actions[bot] avatar Oct 06 '22 17:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/3993/
  • CommitID: 6a1daad646cfc260a03a0c2be809bd27b66f4c07

github-actions[bot] avatar Oct 06 '22 18:10 github-actions[bot]

Seeing unrelated test failures

anshu1106 avatar Oct 06 '22 18:10 anshu1106

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/4092/
  • CommitID: db8283c6ff59065a9cbdddf56bfac9ee0e5b3396

github-actions[bot] avatar Oct 07 '22 05:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/4095/
  • CommitID: b6ed9e54232cd22f1cc437aa3833017cbd3f05e0

github-actions[bot] avatar Oct 07 '22 05:10 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/4576/
  • CommitID: 6a4c8d58d505b1c0c8fe8148f56ef7565848a5ac

github-actions[bot] avatar Oct 13 '22 13:10 github-actions[bot]