Improve transaction handling in Base1PluginExecuter
|Reported by:||Nicklas Nordborg||Owned by:||Martin Svensson|
The Base1PluginExecuter currently opens and closes transactions in some strange places. The first transactions span the export, execution and data import. It uses a second parallel transaction for attaching files during the data import. A third transaction is then used for some clean-up tasks like removing stdin and stdout.
It is definitely not needed to keep a transaction open during the execution phase. The first transaction should be closed after the data export. A second transaction should be used for data import. If possible things should be rearranged so there is no need for a parallel transaction for the file import or for the third transaction used for clean-up.