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 592c63cf5e3 branch-4.1: [opt](memory) Remove unused dbId field from
CloudReplica #62079 (#62105)
592c63cf5e3 is described below
commit 592c63cf5e30f2e702cfdafdc17d04fded27d4f7
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jun 1 17:21:44 2026 +0800
branch-4.1: [opt](memory) Remove unused dbId field from CloudReplica #62079
(#62105)
Cherry-picked from #62079
Co-authored-by: Yongqiang YANG <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
---
.../src/main/java/org/apache/doris/cloud/catalog/CloudReplica.java | 7 -------
1 file changed, 7 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudReplica.java
b/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudReplica.java
index 40cf978b4c2..1129419dce0 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudReplica.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudReplica.java
@@ -59,8 +59,6 @@ public class CloudReplica extends Replica implements
GsonPostProcessable {
private ConcurrentHashMap<String, List<Long>> primaryClusterToBackends =
null;
@SerializedName(value = "be")
private ConcurrentHashMap<String, Long> primaryClusterToBackend = new
ConcurrentHashMap<>();
- @SerializedName(value = "dbId")
- private long dbId = -1;
@SerializedName(value = "tableId")
private long tableId = -1;
@SerializedName(value = "partitionId")
@@ -105,7 +103,6 @@ public class CloudReplica extends Replica implements
GsonPostProcessable {
public CloudReplica(long replicaId, Long backendId, ReplicaState state,
long version, int schemaHash,
long dbId, long tableId, long partitionId, long indexId, long idx)
{
super(replicaId, -1, state, version, schemaHash);
- this.dbId = dbId;
this.tableId = tableId;
this.partitionId = partitionId;
this.indexId = indexId;
@@ -529,10 +526,6 @@ public class CloudReplica extends Replica implements
GsonPostProcessable {
return true;
}
- public long getDbId() {
- return dbId;
- }
-
public long getTableId() {
return tableId;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]