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

   If query execute in one table that is restoring data, query may failed with 
Exception occasionally.
   Exception info :" Table state is not NORMAL: 'RESTORING'".
   
   But mostly restoreJob only effects some partitions in this table, not all of 
them, so that the other partitions need support query successfully.
   
   The reason why this problem happen occasionally is that 
`Analyzer.resolveTableRef` check olapTable.state and partition.state without 
readLock, so fix it by check partition.state only.
   
   ps: set restore status for partitions in this 
pr:https://github.com/apache/doris/pull/8245
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to