Project with 80k issue & 80k MRs fails to export during Direct Transfer
Project https://gitlab.com/85k-80k/85k-mrs-80k-issues is failing to export its relations, even in batches, due to db statement timeouts
I can see that no RelationBatchExportWorker
is enqueued which makes me to believe that we can't even enqueue batch export workers and the timeout is happening somewhere in this method.
Possible solutions:
- Reduce batch size
- Optimize the query to make it faster
- Add db index
Edited by George Koltsov