gavinchou commented on code in PR #42367:
URL: https://github.com/apache/doris/pull/42367#discussion_r1822931157


##########
be/src/exec/schema_scanner/schema_rowsets_scanner.cpp:
##########
@@ -78,7 +82,19 @@ Status SchemaRowsetsScanner::start(RuntimeState* state) {
 
 Status SchemaRowsetsScanner::_get_all_rowsets() {
     if (config::is_cloud_mode()) {
-        return Status::NotSupported("SchemaRowsetsScanner::_get_all_rowsets is 
not implemented");
+        // cloud tablets
+        std::vector<std::weak_ptr<CloudTablet>> tablets =
+                
ExecEnv::GetInstance()->storage_engine().to_cloud().tablet_mgr().get_weak_tablets();

Review Comment:
   NOTICE that, tablets are in LRU cache for cloud mode, which means not all 
tablets can be seen when we try to `select * from information_schema.rowsets`. 
   It should be mentioned here.



-- 
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