This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new d991ff26935 branch-4.0: [fix](catalog) Only sync storage vault when it
exists #59113 (#59365)
d991ff26935 is described below
commit d991ff26935207aa989962ae5051aab0ec706b64
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 26 18:33:08 2025 +0800
branch-4.0: [fix](catalog) Only sync storage vault when it exists #59113
(#59365)
Cherry-picked from #59113
Co-authored-by: walter <[email protected]>
---
.../org/apache/doris/cloud/catalog/CloudInstanceStatusChecker.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudInstanceStatusChecker.java
b/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudInstanceStatusChecker.java
index 794a197ba82..e1648466a27 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudInstanceStatusChecker.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudInstanceStatusChecker.java
@@ -87,6 +87,10 @@ public class CloudInstanceStatusChecker extends MasterDaemon
{
}
private void syncStorageVault(Cloud.InstanceInfoPB instance) {
+ if (instance.getStorageVaultNamesCount() == 0) {
+ return;
+ }
+
Map<String, String> vaultMap = new HashMap<>();
int cnt = instance.getResourceIdsCount();
for (int i = 0; i < cnt; i++) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]