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

specify _all as target in ClearCacheModal #1020

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

r1walz
Copy link
Contributor

@r1walz r1walz commented Mar 27, 2024

Description

When none of the indices are selected, ClearCacheModal makes call to //_cache/clear path. Here, the intention is to clear the cache for all indices, let's make it explicit by passing _all as target.

New call: /_all/_cache/clear

Issues Resolved

N/A

Check List

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

When none of the indices are selected, ClearCacheModal makes call to
`//_cache/clear` path. Here, the intention is to clear the cache for
all indices, let's make it explicit by passing `_all` as target.

New call: `/_all/_cache/clear`

Signed-off-by: Rohit Ashiwal <[email protected]>
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.44%. Comparing base (b151b85) to head (62e3ded).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1020   +/-   ##
=======================================
  Coverage   63.43%   63.44%           
=======================================
  Files         344      344           
  Lines       11668    11669    +1     
  Branches     2260     2261    +1     
=======================================
+ Hits         7402     7403    +1     
  Misses       3689     3689           
  Partials      577      577           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vikasvb90 vikasvb90 merged commit 134f23f into opensearch-project:main Apr 9, 2024
11 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 9, 2024
When none of the indices are selected, ClearCacheModal makes call to
`//_cache/clear` path. Here, the intention is to clear the cache for
all indices, let's make it explicit by passing `_all` as target.

New call: `/_all/_cache/clear`

Signed-off-by: Rohit Ashiwal <[email protected]>
(cherry picked from commit 134f23f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@r1walz r1walz deleted the clear-cache-fix branch April 9, 2024 02:54
CaptainDredge pushed a commit to CaptainDredge/index-management-dashboards-plugin that referenced this pull request Apr 11, 2024
When none of the indices are selected, ClearCacheModal makes call to
`//_cache/clear` path. Here, the intention is to clear the cache for
all indices, let's make it explicit by passing `_all` as target.

New call: `/_all/_cache/clear`

Signed-off-by: Rohit Ashiwal <[email protected]>
r1walz pushed a commit that referenced this pull request May 21, 2024
When none of the indices are selected, ClearCacheModal makes call to
`//_cache/clear` path. Here, the intention is to clear the cache for
all indices, let's make it explicit by passing `_all` as target.

New call: `/_all/_cache/clear`

Signed-off-by: Rohit Ashiwal <[email protected]>
(cherry picked from commit 134f23f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
r1walz pushed a commit that referenced this pull request May 21, 2024
When none of the indices are selected, ClearCacheModal makes call to
`//_cache/clear` path. Here, the intention is to clear the cache for
all indices, let's make it explicit by passing `_all` as target.

New call: `/_all/_cache/clear`


(cherry picked from commit 134f23f)

Signed-off-by: Rohit Ashiwal <[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>
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.

4 participants