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


##########
be/src/cloud/cloud_meta_mgr.cpp:
##########
@@ -1908,6 +1909,9 @@ Status 
CloudMetaMgr::get_storage_vault_info(StorageVaultInfos* vault_infos, bool
     }
 
     *is_vault_mode = resp.enable_storage_vault();
+    if (default_vault_id != nullptr) {
+        *default_vault_id = resp.default_storage_vault_id();

Review Comment:
   default_storage_vault_id may be empty. 
   suggest: use latest or the largest vault id for simplicity
   then make the spill_vault_id configurable via be.conf or set it in vualt 
info.
   



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