924060929 commented on PR #14733: URL: https://github.com/apache/doris/pull/14733#issuecomment-1340918506
I think table read lock should span the statement lifecycle, and use the `Stack<ReentrantReadWriteLock>` save the lock order and then we can release by the reverse order. And you should try require read lock with timeout for prevent dead lock. -- 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