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

Fix incorrect nydusd count metric #558

Closed sctb512 closed 10 months ago

sctb512 commented 10 months ago

Currently, there may be a negative nydusd count in some situations.

We only need to add this value when the daemon is running and decrease it when the daemon is actually shut down.