Skip to content
代码片段 群组 项目
未验证 提交 a9b1c61e 编辑于 作者: An Qi Wu's avatar An Qi Wu 提交者: GitHub
浏览文件

KSTORAGE-1074: retry should log at INFO level (#2535)

上级 624082a9
No related branches found
No related tags found
无相关合并请求
......@@ -57,7 +57,7 @@ abstract class TierTask[T <: TierTask[T]](retryRateOpt: Option[Meter]) extends L
retryRateOpt.foreach(_.mark())
val now = Instant.ofEpochMilli(nowMs)
val pauseMs = Math.min(maxRetryBackoffMs, (Random.nextInt(retryCount) + 1) * 1000)
warn(s"retrying $this after ${pauseMs}ms", t)
info(s"retrying $this after ${pauseMs}ms", t)
_pausedUntil = Some(now.plusMillis(pauseMs))
}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册