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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: `BlockFileCacheTest.version3_add_remove_restart` relied on 
sleeping for the background LRU dump thread after replaying remove records. If 
the background dump did not run before the restart phase, stale LRU tail 
records could be restored and the restarted cache could report non-empty 
queues. The test now explicitly dumps LRU queues after replaying the remove 
logs, so persisted LRU state is synchronized before the restart check without 
changing file cache runtime code.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test:
       - 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=BlockFileCacheTest.version3_add_remove_restart`
       - Style check: `git diff --check -- 
be/test/io/cache/block_file_cache_test_meta_store.cpp`
   - Behavior changed: No
   - 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