Skip to content

branch-4.1: [opt](file-cache) support config hot reload of file cache microbench in running state#62595

Open
gavinchou wants to merge 1 commit intoapache:branch-4.1from
gavinchou:gavin-pick-58922-branch-4.1
Open

branch-4.1: [opt](file-cache) support config hot reload of file cache microbench in running state#62595
gavinchou wants to merge 1 commit intoapache:branch-4.1from
gavinchou:gavin-pick-58922-branch-4.1

Conversation

@gavinchou
Copy link
Copy Markdown
Contributor

Summary

Pick #58922 to branch-4.1

Changes

  • Add reload_file_cache method to FileCacheFactory for hot reloading file cache configuration
  • Add RELOAD operation to FileCacheAction HTTP endpoint
  • Refactor file_cache_microbench to support config hot reload in running state
    • Introduce BenchEnvManager class to manage config loading and reload worker
    • Add reload_config and show_reload_status RPC endpoints
    • Improve read buffer management in JobManager

Related Issue

close #58922

@gavinchou gavinchou requested a review from yiguolei as a code owner April 17, 2026 10:17
@Thearas
Copy link
Copy Markdown
Contributor

Thearas commented Apr 17, 2026

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@gavinchou
Copy link
Copy Markdown
Contributor Author

run buildall

@gavinchou gavinchou changed the title [opt](file-cache) support config hot reload of file cache microbench in running state branch-4.1: [opt](file-cache) support config hot reload of file cache microbench in running state Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants