You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @gaius-qi , I would like to work on this issue! But I'm not sure what 'leave task' means?
Also, I'll appreciate it if you could give me some instructions on how to implement it. Thanks.
If the dfget daemon service is shutdown, it will actively call GRPC LeaveTask to notify the scheduler to release all the tasks that have been downloaded by the daemon, because this dfget daemon no longer provides services for other peers to download these tasks.
However, when only dfget is used, a daemon will be pulled up to survive for a period of time according to the AliveTime parameter. When the AliveTime is reached, daemon will be shutdown, but the GRPC LeaveTask is not called to notify the Scheduler to release the completed Task.
If the dfget daemon service is shutdown, it will actively call GRPC LeaveTask to notify the scheduler to release all the tasks that have been downloaded by the daemon, because this dfget daemon no longer provides services for other peers to download these tasks.
However, when only dfget is used, a daemon will be pulled up to survive for a period of time according to the AliveTime parameter. When the AliveTime is reached, daemon will be shutdown, but the GRPC LeaveTask is not called to notify the Scheduler to release the completed Task.
Thanks for your instructions! I think I understand now, can you assign this issue to me? I'll try to fix it.
Feature request:
https://github.com/dragonflyoss/Dragonfly2/blob/main/client/config/peerhost.go#L51
Use case:
UI Example:
The text was updated successfully, but these errors were encountered: