perf(similar-asin): 缺图逐格告警降为 DEBUG,避免单任务万条 WARN 阻塞日志队列

This commit is contained in:
2026-10-28 12:09:09 +08:00
parent 9df044621f
commit 46774fffed
2 changed files with 87 additions and 1 deletions
@@ -656,7 +656,10 @@ public class SimilarAsinImageEmbedder {
: null;
if (recovered == null) {
imageSpool.countedBlankCell();
log.warn("[similar-asin][image] cell-image-miss url={} colIdx={} ({}), leave blank",
// 逐格 WARN 曾把单任务刷出 10,545 条(峰值 6,426 行/秒,超过 AsyncAppender
// 8192 队列并阻塞业务线程);缺口汇总由 assembler 的
// "result delivery incomplete" 与 "image spool closed" 统一输出,这里只留调试明细。
log.debug("[similar-asin][image] cell-image-miss url={} colIdx={} ({}), leave blank",
trimmedUrl, colIdx, alreadyFailed ? "prefetch failed" : "prefetch did not spool");
return null;
}