containerd / nydus-snapshotter

A containerd snapshotter with data deduplication and lazy loading in P2P fashion
https://nydus.dev/
Apache License 2.0
168 stars 96 forks source link

optimize: resume nydusd processes parallelizilly #518

Closed loheagn closed 1 year ago

loheagn commented 1 year ago

This patch allows the snapshotter resumes the recovering nydusd daemons parallelizilly in the starting stage.

fix #505

loheagn commented 1 year ago

Hi, @changweige, in my option, there is no concern about the concurrency conflicts when resuming multi nydusd daemons at the same time, so I just use errorGroup to parallelize the nydusd daemons resuming. Any comments?