This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 3c2de06c2d1 branch-3.0: [fix](cloud) Fix cloud decomission lead to fe
cant start #46783 (#46863)
3c2de06c2d1 is described below
commit 3c2de06c2d1787bbd165f6f99c3dde9d47cfdcd1
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 13 21:55:10 2025 +0800
branch-3.0: [fix](cloud) Fix cloud decomission lead to fe cant start #46783
(#46863)
Cherry-picked from #46783
Co-authored-by: deardeng <[email protected]>
---
.../java/org/apache/doris/cloud/system/CloudSystemInfoService.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/cloud/system/CloudSystemInfoService.java
b/fe/fe-core/src/main/java/org/apache/doris/cloud/system/CloudSystemInfoService.java
index 36ca260dc17..71260c51f23 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/cloud/system/CloudSystemInfoService.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/cloud/system/CloudSystemInfoService.java
@@ -457,6 +457,9 @@ public class CloudSystemInfoService extends
SystemInfoService {
@Override
public void replayModifyBackend(Backend backend) {
Backend memBe = getBackend(backend.getId());
+ if (memBe == null) {
+ return;
+ }
// for rename cluster
String originalClusterName = memBe.getCloudClusterName();
String originalClusterId = memBe.getCloudClusterId();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]