dataroaring commented on code in PR #21948:
URL: https://github.com/apache/doris/pull/21948#discussion_r1267499267
##########
be/src/olap/tablet.h:
##########
@@ -772,6 +772,7 @@ inline int Tablet::version_count() const {
}
inline Version Tablet::max_version() const {
+ std::shared_lock rdlock(_meta_lock);
Review Comment:
it calls meta->max_version, so it works right now.
--
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]