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

fix stale remote cluster uuid state not purged from remote #10016

Merged

Conversation

linuxpi
Copy link
Collaborator

@linuxpi linuxpi commented Sep 13, 2023

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 13, 2023

Compatibility status:

Checks if related components are compatible with change 4a64bb9

Incompatible components

Incompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git]

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@linuxpi linuxpi force-pushed the delete-stale-remote-cluster-uuids branch from 378dcec to eb7600f Compare September 13, 2023 12:29
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@linuxpi linuxpi force-pushed the delete-stale-remote-cluster-uuids branch from eb7600f to a0f4a86 Compare September 13, 2023 17:18
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.remotestore.RemoteStoreStatsIT.testStatsResponseFromLocalNode

@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Merging #10016 (4a64bb9) into main (2965e69) will increase coverage by 0.12%.
Report is 7 commits behind head on main.
The diff coverage is 79.49%.

@@             Coverage Diff              @@
##               main   #10016      +/-   ##
============================================
+ Coverage     71.16%   71.28%   +0.12%     
- Complexity    58297    58439     +142     
============================================
  Files          4830     4843      +13     
  Lines        274903   275205     +302     
  Branches      40059    40068       +9     
============================================
+ Hits         195637   196192     +555     
+ Misses        62882    62607     -275     
- Partials      16384    16406      +22     
Files Coverage Δ
...arch/telemetry/metrics/DefaultMetricsRegistry.java 100.00% <100.00%> (ø)
...ch/telemetry/metrics/noop/NoopMetricsRegistry.java 100.00% <100.00%> (ø)
...va/org/opensearch/telemetry/metrics/tags/Tags.java 100.00% <100.00%> (ø)
...org/opensearch/repositories/url/URLRepository.java 72.00% <100.00%> (ø)
...g/opensearch/transport/netty4/Netty4Transport.java 73.65% <100.00%> (ø)
...opensearch/repositories/azure/AzureRepository.java 68.88% <100.00%> (-1.33%) ⬇️
...g/opensearch/repositories/hdfs/HdfsRepository.java 61.90% <100.00%> (ø)
...java/org/opensearch/repositories/s3/S3Service.java 74.47% <100.00%> (-0.53%) ⬇️
.../org/opensearch/telemetry/OTelTelemetryPlugin.java 100.00% <100.00%> (ø)
...rg/opensearch/telemetry/OTelTelemetrySettings.java 100.00% <100.00%> (ø)
... and 39 more

... and 445 files with indirect coverage changes

@linuxpi linuxpi force-pushed the delete-stale-remote-cluster-uuids branch from a0f4a86 to 210ae69 Compare September 14, 2023 05:38
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

Gradle Check (Jenkins) Run Completed with:

@linuxpi linuxpi force-pushed the delete-stale-remote-cluster-uuids branch from b23f8c3 to 4a64bb9 Compare October 5, 2023 10:57
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.remotestore.RemoteStoreStatsIT.testDownloadStatsCorrectnessSinglePrimarySingleReplica

@sachinpkale sachinpkale merged commit 1eec0f1 into opensearch-project:main Oct 5, 2023
12 of 13 checks passed
@sachinpkale sachinpkale added the backport 2.x Backport to 2.x branch label Oct 5, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 5, 2023
* fix stale remote cluster uuid state not purged from remote

Signed-off-by: bansvaru <[email protected]>

* fix tests

Signed-off-by: bansvaru <[email protected]>

* use new limit parameter

Signed-off-by: bansvaru <[email protected]>

* minor refactoring

Signed-off-by: bansvaru <[email protected]>

* delete index metadata files before manifest file

Signed-off-by: bansvaru <[email protected]>

* add basic UT

Signed-off-by: bansvaru <[email protected]>

* delete all data related to a cluster uuid in a single call

Signed-off-by: bansvaru <[email protected]>

* fix git diff

Signed-off-by: bansvaru <[email protected]>

* remove unreferenced code

Signed-off-by: bansvaru <[email protected]>

* fix spa

Signed-off-by: bansvaru <[email protected]>

---------

Signed-off-by: bansvaru <[email protected]>
(cherry picked from commit 1eec0f1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@linuxpi linuxpi deleted the delete-stale-remote-cluster-uuids branch October 5, 2023 16:48
sachinpkale pushed a commit that referenced this pull request Oct 5, 2023
…10403)

---------
(cherry picked from commit 1eec0f1)

Signed-off-by: bansvaru <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 6, 2023
* fix stale remote cluster uuid state not purged from remote

Signed-off-by: bansvaru <[email protected]>

* fix tests

Signed-off-by: bansvaru <[email protected]>

* use new limit parameter

Signed-off-by: bansvaru <[email protected]>

* minor refactoring

Signed-off-by: bansvaru <[email protected]>

* delete index metadata files before manifest file

Signed-off-by: bansvaru <[email protected]>

* add basic UT

Signed-off-by: bansvaru <[email protected]>

* delete all data related to a cluster uuid in a single call

Signed-off-by: bansvaru <[email protected]>

* fix git diff

Signed-off-by: bansvaru <[email protected]>

* remove unreferenced code

Signed-off-by: bansvaru <[email protected]>

* fix spa

Signed-off-by: bansvaru <[email protected]>

---------

Signed-off-by: bansvaru <[email protected]>
(cherry picked from commit 1eec0f1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dblock pushed a commit that referenced this pull request Oct 6, 2023
…10446)

* fix stale remote cluster uuid state not purged from remote



* fix tests



* use new limit parameter



* minor refactoring



* delete index metadata files before manifest file



* add basic UT



* delete all data related to a cluster uuid in a single call



* fix git diff



* remove unreferenced code



* fix spa



---------


(cherry picked from commit 1eec0f1)

Signed-off-by: bansvaru <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
deshsidd pushed a commit to deshsidd/OpenSearch that referenced this pull request Oct 9, 2023
…h-project#10016)

* fix stale remote cluster uuid state not purged from remote

Signed-off-by: bansvaru <[email protected]>

* fix tests

Signed-off-by: bansvaru <[email protected]>

* use new limit parameter

Signed-off-by: bansvaru <[email protected]>

* minor refactoring

Signed-off-by: bansvaru <[email protected]>

* delete index metadata files before manifest file

Signed-off-by: bansvaru <[email protected]>

* add basic UT

Signed-off-by: bansvaru <[email protected]>

* delete all data related to a cluster uuid in a single call

Signed-off-by: bansvaru <[email protected]>

* fix git diff

Signed-off-by: bansvaru <[email protected]>

* remove unreferenced code

Signed-off-by: bansvaru <[email protected]>

* fix spa

Signed-off-by: bansvaru <[email protected]>

---------

Signed-off-by: bansvaru <[email protected]>
vikasvb90 pushed a commit to vikasvb90/OpenSearch that referenced this pull request Oct 10, 2023
…h-project#10016)

* fix stale remote cluster uuid state not purged from remote

Signed-off-by: bansvaru <[email protected]>

* fix tests

Signed-off-by: bansvaru <[email protected]>

* use new limit parameter

Signed-off-by: bansvaru <[email protected]>

* minor refactoring

Signed-off-by: bansvaru <[email protected]>

* delete index metadata files before manifest file

Signed-off-by: bansvaru <[email protected]>

* add basic UT

Signed-off-by: bansvaru <[email protected]>

* delete all data related to a cluster uuid in a single call

Signed-off-by: bansvaru <[email protected]>

* fix git diff

Signed-off-by: bansvaru <[email protected]>

* remove unreferenced code

Signed-off-by: bansvaru <[email protected]>

* fix spa

Signed-off-by: bansvaru <[email protected]>

---------

Signed-off-by: bansvaru <[email protected]>
shiv0408 pushed a commit to Gaurav614/OpenSearch that referenced this pull request Apr 25, 2024
…h-project#10016)

* fix stale remote cluster uuid state not purged from remote

Signed-off-by: bansvaru <[email protected]>

* fix tests

Signed-off-by: bansvaru <[email protected]>

* use new limit parameter

Signed-off-by: bansvaru <[email protected]>

* minor refactoring

Signed-off-by: bansvaru <[email protected]>

* delete index metadata files before manifest file

Signed-off-by: bansvaru <[email protected]>

* add basic UT

Signed-off-by: bansvaru <[email protected]>

* delete all data related to a cluster uuid in a single call

Signed-off-by: bansvaru <[email protected]>

* fix git diff

Signed-off-by: bansvaru <[email protected]>

* remove unreferenced code

Signed-off-by: bansvaru <[email protected]>

* fix spa

Signed-off-by: bansvaru <[email protected]>

---------

Signed-off-by: bansvaru <[email protected]>
Signed-off-by: Shivansh Arora <[email protected]>
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