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

   Problem Summary:
   External table row count is cached independently from external metadata 
caches. Some metadata update paths, including table refresh, partition 
add/drop, Hive insert commit, and Iceberg snapshot actions, only invalidated 
metadata caches. As a result, external table row count could remain stale until 
cache expiration and affect statistics estimation.
   
   Solution:
   Add catalog, database, and table-level invalidation support to 
ExternalRowCountCache, and wire it into ExternalMetaCacheMgr metadata 
invalidation paths. Use table-level row count invalidation for partition-level 
HMS changes, and route existing Hive/Iceberg table metadata refresh call sites 
through the unified invalidateTable path. Add tests to verify row count cache 
invalidation and reload behavior.
   
   


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