You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/11/10 06:48:54 UTC
[GitHub] [incubator-doris] caiconghui commented on a change in pull request #4872: [Bug] Make 'LastStartTime' in backends list as the actual BE start time
caiconghui commented on a change in pull request #4872:
URL: https://github.com/apache/incubator-doris/pull/4872#discussion_r520328582
##########
File path: fe/fe-core/src/main/java/org/apache/doris/system/HeartbeatMgr.java
##########
@@ -242,9 +242,12 @@ public HeartbeatResponse call() {
if (tBackendInfo.isSetVersion()) {
version = tBackendInfo.getVersion();
}
-
+ long beStartTime = System.currentTimeMillis();
Review comment:
```suggestion
long beStartTime = tBackendInfo.isSetBeStartTime() ? tBackendInfo.getBeStartTime() : System.currentTimeMillis();
```
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org