This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 015426b2b4 [fix](tablet report) fix fe can not update replica's status
with be's report #21600
015426b2b4 is described below
commit 015426b2b44fed8e4915e895fd473d30e7173725
Author: yujun <[email protected]>
AuthorDate: Sun Jul 9 16:23:18 2023 +0800
[fix](tablet report) fix fe can not update replica's status with be's
report #21600
---
fe/fe-core/src/main/java/org/apache/doris/master/ReportHandler.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/master/ReportHandler.java
b/fe/fe-core/src/main/java/org/apache/doris/master/ReportHandler.java
index 0dd73b3c72..17be05444e 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/master/ReportHandler.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/master/ReportHandler.java
@@ -673,6 +673,12 @@ public class ReportHandler extends Daemon {
replica.updateVersionInfo(backendVersion,
dataSize, remoteDataSize, rowCount);
if (replica.getLastFailedVersion() < 0) {
+ if (replica.setBad(false)) {
+ LOG.info("sync replica {} of tablet {} in
backend {} in db {}. "
+ + "replica change from bad to
good.",
+ replica, tabletId, backendId,
dbId);
+ }
+
// last failed version < 0 means this replica
becomes health after sync,
// so we write an edit log to sync this
operation
ReplicaPersistInfo info =
ReplicaPersistInfo.createForClone(dbId, tableId,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]