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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: N/A
   
   Problem Summary:
   This PR refactors the external metadata cache to use MetaCacheEntry-based 
publication and invalidation, and follows up with fixes from review and 
validation. It aligns the negative lookup semantics across init and replay 
paths, keeps replay lookup non-blocking, preserves the expected lower-case mode 
0/1/2 behavior, and adds regression and manual validation coverage for refresh 
non-blocking and mutable name miss refresh scenarios.
   
   ### Release note
   
   Improve consistency and validation coverage for external metadata cache 
refresh and name lookup behavior.
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [x] Unit Test
       - [x] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor or code format and no logic has been 
changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason
   
   Manual test details:
   - Validate mutable name miss refresh semantics on a real Doris instance with 
`tools/manual_external_meta_cache_regression/verify_name_miss_refresh_mutable.sh`
   - Validate tableNames refresh non-blocking on a real Doris instance with 
`tools/manual_external_meta_cache_regression/verify_table_names_refresh_non_blocking.sh`
   - Validate schema refresh non-blocking on a real Doris instance with 
`tools/manual_external_meta_cache_regression/verify_schema_refresh_non_blocking.sh`
   - Validate lower-case mode 0, 1 and 2 SQL paths on a real Doris instance
   
   Unit test details:
   - `./run-fe-ut.sh --run 
org.apache.doris.datasource.metacache.MetaCacheEntryTest`
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. External metadata cache name lookup, invalidation 
coordination, and refresh behavior are aligned with the refactor design and 
follow-up fixes.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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