storj/cmd/metabase-orphaned-segments
Michał Niewrzał f73fcee892 cmd: add tool for orphaned segments
This tool has two commands to execute. One is to 'report'
orphaned segments. Second to 'delete' orphaned
segments.

To find such segments tool is first finding all unique
segment stream ids. As a next step its removing from this
list stream ids of existing objects. What is left is a list of
orphaned segments.

Change-Id: I4a0ae3ad0b10a8d16572bfd22ac92cfa15ca19b3
2021-07-21 10:10:58 +00:00
..
main_test.go cmd: add tool for orphaned segments 2021-07-21 10:10:58 +00:00
main.go cmd: add tool for orphaned segments 2021-07-21 10:10:58 +00:00