Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watch sync pieces timout #3311

Open
DaiYifan opened this issue Jun 7, 2024 · 2 comments
Open

watch sync pieces timout #3311

DaiYifan opened this issue Jun 7, 2024 · 2 comments
Labels

Comments

@DaiYifan
Copy link

DaiYifan commented Jun 7, 2024

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:
@DaiYifan DaiYifan added the bug label Jun 7, 2024
@gaius-qi
Copy link
Member

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

@jim3ma
Copy link
Member

jim3ma commented Jun 17, 2024

麻烦上传一下具体的日志(core.log)
当前默认超时时间设置的是 30s,issue 里说的卡很久指的是多久?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants