levy5307 commented on a change in pull request #8146:
URL: https://github.com/apache/incubator-doris/pull/8146#discussion_r818264836
##########
File path: fe/fe-core/src/main/java/org/apache/doris/catalog/Replica.java
##########
@@ -239,12 +239,19 @@ public void setNeedFurtherRepair(boolean
needFurtherRepair) {
this.furtherRepairSetTime = System.currentTimeMillis();
}
- // only update data size and row num
+ // for compatibility
public synchronized void updateStat(long dataSize, long rowNum) {
this.dataSize = dataSize;
this.rowCount = rowNum;
}
+ // only update data_size, row_num, version_count
Review comment:
I think this comment is useless. Because we can get these information
from function parameters
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]