I was executing many queries against a MySQL database with the same transaction using Promise.all(), so all queries are executing in parallel, the if anything bad happens I rollback the transaction. But a friend said that running queries in parallel is a bad practice because if a query failed and the transaction rolled back there will be other queries still running in MySQL that using the same transaction and if they didn't find the transaction they will fir errors in MySQL itself.
He sugged executing the queries in series so if something bad happens the transaction will rollback and the next query will not execute. I tried to find some proves about this issue but I couldn't find any or I missed some if exist.
Hopefully, someone can provide me with a clear answer or reference and thank in advanced.