chore(日志): 服务端高频轮询日志降噪
-history timing 降debug;status无变化降debug;/history /list免INFO;stale-check合并单行;心跳常规响应降debug
This commit is contained in:
+3
-3
@@ -106,7 +106,7 @@ public class TaskHeartbeatService {
|
||||
if (brandResult != null) {
|
||||
return brandResult;
|
||||
}
|
||||
log.warn("[task-heartbeat] task not found taskId={} fileFound=false brandFound=false", taskId);
|
||||
log.debug("[task-heartbeat] task not found (normal polling) taskId={} fileFound=false brandFound=false", taskId);
|
||||
return TaskHeartbeatVo.notAlive(null, null, "task not found");
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ public class TaskHeartbeatService {
|
||||
log.info("[task-interrupted] brand task not in running/pending, skipped taskId={} status={}", taskId, status);
|
||||
return TaskHeartbeatVo.notAlive(MODULE_BRAND, status, "task is not running");
|
||||
}
|
||||
log.warn("[task-interrupted] task not found taskId={}", taskId);
|
||||
log.debug("[task-interrupted] task not found (normal polling) taskId={}", taskId);
|
||||
return TaskHeartbeatVo.notAlive(null, null, "task not found");
|
||||
}
|
||||
|
||||
@@ -187,7 +187,7 @@ public class TaskHeartbeatService {
|
||||
}
|
||||
String status = task.getStatus();
|
||||
if (!STATUS_RUNNING.equals(status)) {
|
||||
log.warn("[task-heartbeat] file task is not running taskId={} actualUserId={} moduleType={} status={}",
|
||||
log.debug("[task-heartbeat] file task is not running (normal polling) taskId={ actualUserId={} moduleType={} status={}",
|
||||
task.getId(), task.getUserId(), moduleType, status);
|
||||
return TaskHeartbeatVo.notAlive(moduleType, status, "task is not running");
|
||||
}
|
||||
|
||||
+2
-1
@@ -171,7 +171,8 @@ public class TransientPayloadStorageService {
|
||||
// 同一个 pointer 可能被多个 biz_task_chunk / biz_task_scope_state 行共享。
|
||||
// 删之前先反查一次,确认没有别的行还在引用,再真正落地物理删除。
|
||||
if (isStillReferenced(pointer, value)) {
|
||||
log.info("[transient-payload] skip delete, still referenced pointer={}", pointer);
|
||||
// 常规高频路径:引用未清零属正常状态,降为 debug 避免刷屏
|
||||
log.debug("[transient-payload] skip delete, still referenced pointer={}", pointer);
|
||||
return;
|
||||
}
|
||||
if (pointer.startsWith(LOCAL_POINTER_PREFIX)) {
|
||||
|
||||
Reference in New Issue
Block a user