Skip to content

Draft: Integrate transaction to housekeeping manager

We added the implementations for housekeeping tasks in the transaction maanger. They are implemented independently to the current housekeeping manager and were not wired to anywhere else. A housekeeping task is triggered via OptimizeRepository() RPC from Rails. When a Transaction is enabled, Gitaly's housekeeping manager needs to perform the task inside a new transaction. It also needs to resolve conflict and push back a task if it conflicts with any concurrent transactions. This MR aims not to change how scheduling works ( #5709).

Merge request reports