Debugging space usage discrepancies

Looks to be a bug, garbage_collection_pieces_count and garbage_collection_pieces_skipped are swapped when lazy file walker is used (default).

This should fix the problem:

https://review.dev.storj.io/c/storj/storj/+/12076

Until that, you can check the value of ..._skipped

Not: it’s still not very useful metrics, as the value is updated after any execution. If two satellites have totally different values, the first one may not be visible, only by max/min fields.

I am considering to add the satellite as tags to all of these metrics…

3 Likes