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

[Tiered Caching] Clear up disk cache data during node shutdown #12714

Closed
sgup432 opened this issue Mar 18, 2024 · 1 comment
Closed

[Tiered Caching] Clear up disk cache data during node shutdown #12714

sgup432 opened this issue Mar 18, 2024 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request Search:Performance untriaged

Comments

@sgup432
Copy link
Contributor

sgup432 commented Mar 18, 2024

Is your feature request related to a problem? Please describe

As part of tiered caching, we introduced a disk tier(using ehcache underneath) which stores cache data under a specified path. During a node shutdown, we want to clear up the disk cache data as we are not looking to preserve it between restarts.

Describe the solution you'd like

Delete all the files and subdirectories under the specified path using IOUtils.rm(path).

Related component

Search:Performance

Describe alternatives you've considered

No response

Additional context

No response

@sgup432 sgup432 added enhancement Enhancement or improvement to existing feature or request untriaged labels Mar 18, 2024
@sgup432
Copy link
Contributor Author

sgup432 commented Mar 19, 2024

Issue fixed.

@sgup432 sgup432 closed this as completed Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Search:Performance untriaged
Projects
Status: Done
Development

No branches or pull requests

1 participant