peterxcli commented on code in PR #8096:
URL: https://github.com/apache/ozone/pull/8096#discussion_r1997648417
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/fsck/ContainerHealthTask.java:
##########
@@ -147,7 +147,7 @@ protected void runTask() throws Exception {
unhealthyContainerStateStatsMap);
long start = Time.monotonicNow();
long currentTime = System.currentTimeMillis();
- long existingCount = processExistingDBRecords(currentTime,
+ long existingCount = processExistingDBRecords(Time.monotonicNow(),
Review Comment:
After tracing down the code, I think the `currentTime` param of
`processExistingDBRecords` is not used for calculate duration, it just store it
with `UnhealthyContainersRecord` in recon db.
```suggestion
long existingCount = processExistingDBRecords(currentTime,
```
--
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]