This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
new ea64eeb5e3 [fix](clone) fix cannot further repair clone replica which
miss version data (#23733)
ea64eeb5e3 is described below
commit ea64eeb5e300aefd78b028ade45d70a611fde6bb
Author: yujun <[email protected]>
AuthorDate: Fri Sep 1 15:04:29 2023 +0800
[fix](clone) fix cannot further repair clone replica which miss version
data (#23733)
---
fe/fe-core/src/main/java/org/apache/doris/catalog/Tablet.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Tablet.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Tablet.java
index 23852cf398..177d7ab2a0 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Tablet.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Tablet.java
@@ -437,6 +437,10 @@ public class Tablet extends MetaObject implements Writable
{
if (replica.getLastFailedVersion() > 0 || replica.getVersion() <
visibleVersion) {
// this replica is alive but version incomplete
+ if (replica.needFurtherRepair() && needFurtherRepairReplica ==
null
+ && backend.isScheduleAvailable()) {
+ needFurtherRepairReplica = replica;
+ }
continue;
}
aliveAndVersionComplete++;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]