You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2026/05/10 10:28:07 UTC
(doris) branch branch-4.1 updated: branch-4.1: [cloud](fe) RestoreJob cannot deserialize Tablet when upgrade #62673 (#63099)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 7792740d354 branch-4.1: [cloud](fe) RestoreJob cannot deserialize Tablet when upgrade #62673 (#63099)
7792740d354 is described below
commit 7792740d35475c3272791661814401bcd1de918f
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sun May 10 18:27:59 2026 +0800
branch-4.1: [cloud](fe) RestoreJob cannot deserialize Tablet when upgrade #62673 (#63099)
Cherry-picked from #62673
Co-authored-by: meiyi <me...@selectdb.com>
---
fe/fe-core/src/main/java/org/apache/doris/persist/gson/GsonUtils.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/persist/gson/GsonUtils.java b/fe/fe-core/src/main/java/org/apache/doris/persist/gson/GsonUtils.java
index e315f967a73..dcdce47698b 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/persist/gson/GsonUtils.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/persist/gson/GsonUtils.java
@@ -550,7 +550,9 @@ public class GsonUtils {
} else {
// compatible with old cloud code.
tabletTypeAdapterFactory.registerDefaultSubtype(CloudTablet.class);
+ tabletTypeAdapterFactory.registerCompatibleSubtype(CloudTablet.class, Tablet.class.getSimpleName());
replicaTypeAdapterFactory.registerDefaultSubtype(CloudReplica.class);
+ replicaTypeAdapterFactory.registerCompatibleSubtype(CloudReplica.class, Replica.class.getSimpleName());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org