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 55e0619d821 branch-4.1: [opt](memory) Remove unused indexId field from
CloudReplica #62080 (#62097)
55e0619d821 is described below
commit 55e0619d8215bc0efacfea50b7719cbc1aec0e4c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jun 1 17:22:40 2026 +0800
branch-4.1: [opt](memory) Remove unused indexId field from CloudReplica
#62080 (#62097)
Cherry-picked from #62080
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 1129419dce0..22f2464e48d 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
@@ -63,8 +63,6 @@ public class CloudReplica extends Replica implements
GsonPostProcessable {
private long tableId = -1;
@SerializedName(value = "partitionId")
private long partitionId = -1;
- @SerializedName(value = "indexId")
- private long indexId = -1;
@SerializedName(value = "idx")
private long idx = -1;
// last time to get tablet stats
@@ -105,7 +103,6 @@ public class CloudReplica extends Replica implements
GsonPostProcessable {
super(replicaId, -1, state, version, schemaHash);
this.tableId = tableId;
this.partitionId = partitionId;
- this.indexId = indexId;
this.idx = idx;
}
@@ -534,10 +531,6 @@ public class CloudReplica extends Replica implements
GsonPostProcessable {
return partitionId;
}
- public long getIndexId() {
- return indexId;
- }
-
public long getIdx() {
return idx;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]