For some reason I completely forgot about this. This diff adds logic for removing logs after the corresponding backup is deleted.
Details
Details
- Reviewers
bartek kamil - Commits
- rCOMM6e6d6b926051: [backup] Log cleanup
Run the updated integration test. All 30 logs were removed.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
services/backup/src/database/mod.rs | ||
---|---|---|
294–320 | This could be done more efficiently but it would required changes to batch_write. It would need to start accepting a request stream instead of a complete vector. This way we could run both fetch and deletion in parallel. If the performance turns out to be a problem we could implement that but I don't think this should be prioritized right now. |