Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fe/src/main/java/org/apache/doris/catalog/Replica.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ public Replica() {
// for rollup
// the new replica's version is -1 and last failed version is -1
public Replica(long replicaId, long backendId, int schemaHash, ReplicaState state) {
this(replicaId, backendId, -1, 0, schemaHash, -1, -1, state, -1, 0, -1, 0);
this(replicaId, backendId, -1, 0, schemaHash, 0L, 0L, state, -1, 0, -1, 0);
}

// for create tablet and restore
public Replica(long replicaId, long backendId, ReplicaState state, long version, long versionHash, int schemaHash) {
this(replicaId, backendId, version, versionHash, schemaHash, -1, -1, state, -1L, 0L, version, versionHash);
this(replicaId, backendId, version, versionHash, schemaHash, 0L, 0L, state, -1L, 0L, version, versionHash);
}

public Replica(long replicaId, long backendId, long version, long versionHash, int schemaHash,
Expand Down