Inter-Synthese propagation between servers is very slow
First culprit : no transaction is made when a data is saved into a slave from a transaction.
The call tree looks like this :
- A transaction is executed through
DB::execTransaction
- Which calls
DB::_finishTransaction
- Which calls
DB::_dispatchDBModifEvent
- WHich calls
_enqueueReplaceContent
...
The plan is to add a transaction in _finishTransaction
before the loop, then to use it in dispatchDBModifEvent
to then execute it.
Linked to tl/synthese#78