This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new c1ab29298b [fix](clone) fix cannot further repair clone replica which
miss version data (#23732)
c1ab29298b is described below
commit c1ab29298b23c79c2b0308c1c6a6011ed7c2399e
Author: yujun <[email protected]>
AuthorDate: Fri Sep 1 15:05:40 2023 +0800
[fix](clone) fix cannot further repair clone replica which miss version
data (#23732)
---
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 003097baa2..1ba726cffc 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
@@ -451,6 +451,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]