freemandealer opened a new pull request, #64798:
URL: https://github.com/apache/doris/pull/64798

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: https://github.com/selectdb/selectdb-core/pull/9858
   
   Problem Summary: The file cache LRU recorder can replay more records into 
the shadow queue than the configured dump-tail limit, allowing the shadow queue 
to keep growing after long-running replay. This change trims replayed shadow 
queues to `file_cache_background_lru_dump_tail_record_num`, exposes shadow 
queue element counts in file cache stats, and adds BE UT coverage for tail 
retention, remove-event trimming, metric refresh, and replay queue cap behavior.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Build and unit test
       - Build: `DORIS_TOOLCHAIN=clang DISABLE_BE_JAVA_EXTENSIONS=ON 
ENABLE_INJECTION_POINT=ON ENABLE_CACHE_LOCK_DEBUG=0 ENABLE_PCH=0 ./build.sh 
--be`
       - Unit Test: `DORIS_TOOLCHAIN=clang DISABLE_BE_JAVA_EXTENSIONS=ON 
ENABLE_INJECTION_POINT=ON ENABLE_CACHE_LOCK_DEBUG=0 ENABLE_PCH=0 sh 
run-be-ut.sh --run --filter=CacheLRUDumperTest.*`
   - Behavior changed: Yes. The LRU recorder shadow queue is capped by 
`file_cache_background_lru_dump_tail_record_num` during replay.
   - Does this need documentation: No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to