dragonflyoss / Dragonfly2

Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project.
https://d7y.io
Apache License 2.0
2.29k stars 292 forks source link

the download request will hang #3323

Open chenshibin-vip opened 5 months ago

chenshibin-vip commented 5 months ago

Bug report:

When attempting to download non-existent data for an extended period, the download request will hang.

Expected behavior:

When attempting to download non-existent data for an extended period, return a 'data not found' response instead of hanging.

How to reproduce it:

A total of 20 instances each request to download non-existent S3 data every 3-5 seconds.

Environment:

The daemonset and scheduler logs are in the attachment. daemon.log scheduler.log

gaius-qi commented 5 months ago

Set watchdogTimeout to open watchdog feature in client.