Compact runs compaction against the provided directories. Must only be called concurrently with results of Plan(). Can optionally pass a list of already open blocks, to avoid having to reopen them. Prometheus always return one or no block. The interface allows returning more than one block for downs
(dest string, dirs []string, open []*Block)
| 74 | // * The source dirs are marked Deletable. |
| 75 | // * Block is not included in the result. |
| 76 | Compact(dest string, dirs []string, open []*Block) ([]ulid.ULID, error) |
| 77 | } |
| 78 | |
| 79 | // LeveledCompactor implements the Compactor interface. |
no outgoing calls