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] Use ClusterStateRequest with index pattern when searching for expired local indices #263

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

ansjcy
Copy link
Member

@ansjcy ansjcy commented Mar 12, 2025

… local indices (#262)

  • Use ClusterStateRequest with index pattern when searching for expired local indices

  • Update deleteAllTopNIndices


Description

Describe what this change achieves.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

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.

… local indices (opensearch-project#262)

* Use ClusterStateRequest with index pattern when searching for expired local indices

Signed-off-by: David Zane <davizane@amazon.com>

* Update deleteAllTopNIndices

Signed-off-by: David Zane <davizane@amazon.com>

---------

Signed-off-by: David Zane <davizane@amazon.com>
Signed-off-by: Chenyang Ji <cyji@amazon.com>
@ansjcy ansjcy merged commit 1c102c4 into opensearch-project:2.x Mar 12, 2025
23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 12, 2025
… local indices (#262) (#263)

* Use ClusterStateRequest with index pattern when searching for expired local indices

* Update deleteAllTopNIndices

---------

Signed-off-by: David Zane <davizane@amazon.com>
Signed-off-by: Chenyang Ji <cyji@amazon.com>
Co-authored-by: David Zane <38449481+dzane17@users.noreply.github.com>
(cherry picked from commit 1c102c4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ansjcy pushed a commit that referenced this pull request Mar 12, 2025
… local indices (#262) (#263) (#264)

* Use ClusterStateRequest with index pattern when searching for expired local indices

* Update deleteAllTopNIndices

---------




(cherry picked from commit 1c102c4)

Signed-off-by: David Zane <davizane@amazon.com>
Signed-off-by: Chenyang Ji <cyji@amazon.com>
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>
Co-authored-by: David Zane <38449481+dzane17@users.noreply.github.com>
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