[fix] fix the problem of log uncorrect

This commit is contained in:
tjq 2020-07-26 23:56:31 +08:00
parent 609681cd22
commit 36be03592c

View File

@ -176,7 +176,7 @@ public abstract class TaskTracker {
// 过滤过期的请求潜在的集群时间一致性需求重试跨Worker时时间不一致可能导致问题 // 过滤过期的请求潜在的集群时间一致性需求重试跨Worker时时间不一致可能导致问题
if (lastReportTime > reportTime) { if (lastReportTime > reportTime) {
log.warn("[TaskTracker-{}] receive expired(last {} > current {}) task status report(taskId={},newStatus={}), TaskTracker will drop this report.", log.warn("[TaskTracker-{}] receive expired(last {} > current {}) task status report(taskId={},newStatus={}), TaskTracker will drop this report.",
lastReportTime, reportTime, instanceId, taskId, newStatus); instanceId, lastReportTime, reportTime, taskId, newStatus);
return; return;
} }