eldenmoon commented on code in PR #31650:
URL: https://github.com/apache/doris/pull/31650#discussion_r1512697173
##########
be/src/service/point_query_executor.cpp:
##########
@@ -267,6 +266,10 @@ Status PointQueryExecutor::_lookup_row_key() {
SCOPED_TIMER(&_profile_metrics.lookup_key_ns);
// 2. lookup row location
Status st;
+ if (_version >= 0) {
+ CHECK(config::is_cloud_mode()) << "Only cloud mode support snapshot
read at present";
+
RETURN_IF_ERROR(std::dynamic_pointer_cast<CloudTablet>(_tablet)->sync_rowsets(_version));
Review Comment:
no side effect
--
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]