caiconghui opened a new pull request #3775:
URL: https://github.com/apache/incubator-doris/pull/3775
This PR is to reduce lock competition by supporting read and write lock in
table level. When we modify or read table's meta, we don't need to get db lock,
just get table write or read lock. And when we get db lock, that means meta
directly in db cannot be modified by other thread. Db lock only protect meta in
Database class, while table lock protect meta in Table class.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]