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] Skip performOnPrimary step when executing PublishCheckpoint. (#6366) #6397

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

mch2
Copy link
Member

@mch2 mch2 commented Feb 21, 2023

Manual backport of #6366 to 2.x.

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
  • 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.

…rch-project#6366)

* Skip performOnPrimary step when executing PublishCheckpoint.

Signed-off-by: Marc Handalian <handalm@amazon.com>

Fix spotless.

Signed-off-by: Marc Handalian <handalm@amazon.com>

* PR Feedback:
- Add random refresh policy to reloation ITs.
- add back finishing ReplicationTask.

Signed-off-by: Marc Handalian <handalm@amazon.com>

---------

Signed-off-by: Marc Handalian <handalm@amazon.com>
(cherry picked from commit 72314f7)
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov-commenter
Copy link

Codecov Report

Merging #6397 (9cf2da3) into 2.x (daec8fb) will increase coverage by 0.02%.
The diff coverage is 5.88%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##                2.x    #6397      +/-   ##
============================================
+ Coverage     70.48%   70.50%   +0.02%     
+ Complexity    59278    59273       -5     
============================================
  Files          4795     4795              
  Lines        284137   284143       +6     
  Branches      41311    41313       +2     
============================================
+ Hits         200262   200340      +78     
+ Misses        67176    67077      -99     
- Partials      16699    16726      +27     
Impacted Files Coverage Δ
...eplication/checkpoint/PublishCheckpointAction.java 23.43% <5.88%> (-4.15%) ⬇️
.../java/org/opensearch/node/NodeClosedException.java 50.00% <0.00%> (-50.00%) ⬇️
...cluster/coordination/PendingClusterStateStats.java 20.00% <0.00%> (-48.00%) ⬇️
...opensearch/persistent/PersistentTasksExecutor.java 22.22% <0.00%> (-40.75%) ⬇️
...a/org/opensearch/monitor/process/ProcessStats.java 34.92% <0.00%> (-39.69%) ⬇️
...cluster/coordination/PublishClusterStateStats.java 33.33% <0.00%> (-37.51%) ⬇️
...arch/search/aggregations/pipeline/LinearModel.java 23.07% <0.00%> (-34.62%) ⬇️
...nsearch/index/shard/IndexShardClosedException.java 66.66% <0.00%> (-33.34%) ⬇️
...earch/client/indices/GetIndexTemplatesRequest.java 53.84% <0.00%> (-30.77%) ⬇️
...pensearch/client/core/MultiTermVectorsRequest.java 41.17% <0.00%> (-29.42%) ⬇️
... and 452 more

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

@mch2 mch2 merged commit 4bb8d24 into opensearch-project:2.x Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants