Open DaiYifan opened 3 months ago
Bug report:
高并发下载镜像场景,偶现某个task会卡住很久才下载成功
Expected behavior:
报错日志如下
{"level":"warn","ts":"2024-06-06 14:36:28.913","caller":"peer/peertask_piecetask_synchronizer.go:469","msg":"watch sync pieces timeout, may be a bug, please file a issue in https://github.com/dragonflyoss/Dragonfly2/issues","peer":"10.160.244.12-33432-c6ae2cdd-ae75-42b0-8319-432a6f3c79e4","task":"fda343039ec8a679802f86b51b1eab6f9a238e0a1e6f8e8299b236ef980377ef","component":"PeerTask","trace":"565f92506280cb4eadca695ab47bd534","stacktrace":"d7y.io/dragonfly/v2/client/daemon/peer.(*synchronizerWatchdog).watch\n\t/home/runner/work/Dragonfly2/Dragonfly2/client/daemon/peer/peertask_piecetask_synchronizer.go:469"}
Environment:
Dragonfly version: 2.1.30
OS:
linux
Others:
@jim3ma
麻烦上传一下具体的日志(core.log) 当前默认超时时间设置的是 30s,issue 里说的卡很久指的是多久?
Bug report:
高并发下载镜像场景,偶现某个task会卡住很久才下载成功
Expected behavior:
报错日志如下 {"level":"warn","ts":"2024-06-06 14:36:28.913","caller":"peer/peertask_piecetask_synchronizer.go:469","msg":"watch sync pieces timeout, may be a bug, please file a issue in https://github.com/dragonflyoss/Dragonfly2/issues","peer":"10.160.244.12-33432-c6ae2cdd-ae75-42b0-8319-432a6f3c79e4","task":"fda343039ec8a679802f86b51b1eab6f9a238e0a1e6f8e8299b236ef980377ef","component":"PeerTask","trace":"565f92506280cb4eadca695ab47bd534","stacktrace":"d7y.io/dragonfly/v2/client/daemon/peer.(*synchronizerWatchdog).watch\n\t/home/runner/work/Dragonfly2/Dragonfly2/client/daemon/peer/peertask_piecetask_synchronizer.go:469"}
Environment: