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


##########
be/src/olap/rowset/rowset_meta.cpp:
##########
@@ -112,16 +113,20 @@ Result<const StorageResource*> 
RowsetMeta::remote_storage_resource() {
     }
 
     if (!_storage_resource.fs) {
-        // not initialized yet
-        auto storage_resource = get_storage_resource(resource_id());
-        if (storage_resource) {
+        if (auto storage_resource = get_storage_resource(resource_id())) {
             _storage_resource = std::move(storage_resource->first);
         } else {
+            if (config::is_cloud_mode()) {
+                
ExecEnv::GetInstance()->storage_engine().to_cloud().sync_storage_vault();

Review Comment:
   启动去sync 是不是 第一次 sync 关键还是不关见?
   这里有个PR修了 cluster 文件的问题 https://github.com/apache/doris/pull/53147



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

Reply via email to