yangzhg commented on a change in pull request #4089:
URL: https://github.com/apache/incubator-doris/pull/4089#discussion_r454755688
##########
File path: fe/src/main/java/org/apache/doris/catalog/Replica.java
##########
@@ -318,12 +318,17 @@ private void updateReplicaInfo(long newVersion, long
newVersionHash,
long lastFailedVersion, long lastFailedVersionHash,
long lastSuccessVersion, long lastSuccessVersionHash,
long newDataSize, long newRowCount) {
- LOG.debug("before update: {}", this.toString());
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("before update: {}", this.toString());
+ }
if (newVersion < this.version) {
- // yiguolei: could not find any reason why new version less than
this.version should run???
- LOG.warn("replica {} on backend {}'s new version {} is lower than
meta version {}",
- id, backendId, newVersion, this.version);
+ // This case means that replica meta version has been updated by
ReportHandler before
Review comment:
why the replica meta version been updated by ReportHandler before?
this is abnormal, I think using warning is better
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]