protocol / prodeng

Issues, discussions and documentation from the production engineering team
2 stars 1 forks source link

Simulate garbage collection using block profit score #10

Closed iand closed 1 year ago

iand commented 2 years ago

Use the calculated profit (as per https://github.com/ipfs/go-ipfs/issues/8870#issuecomment-1112080636) to simulate use-based garbage collection. Extend the current logging of profit scores to also log whether the block would have been deleted or retained, plus a summary of the number of blocks deleted and the space freed up