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

   # Proposed changes
   
   ## Problem summary
   
   When salve FE nodes replay OP_REFRESH_EXTERNAL_TABLE log, it will invoke 
`org.apache.doris.datasource.hive.HiveMetaStoreCache#invalidateTableCache`, but 
if the table is a non-partitioned table, it will invoke  
`catalog.getClient().getTable`. If some network problem occurs or this table is 
not existed, an exception will be thrown and FE will exit right away. The 
solution is that we can use a dummy key as the location of a file cache key 
which only contains db name and table name. And when safe FE nodes replay 
OP_REFRESH_EXTERNAL_TABLE log, it will not rely on the hms client and there 
will not any exception occurs.
   
   ## Checklist(Required)
   
   * [ ] Does it affect the original behavior
   * [ ] Has unit tests been added
   * [ ] Has document been added or modified
   * [ ] Does it need to update dependencies
   * [ ] Is this PR support rollback (If NO, please explain WHY)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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