Closed CalvinRodo closed 3 years ago
The private method persistence.saveEvent should not run in a transaction since it's usually run from within a transaction because transactions cannot be nested in MySQL, so either we are commiting too early or golang is just ignore the nest.
The public method persistence.SaveEvent should have the transaction instead.
Was done
Description
The private method persistence.saveEvent should not run in a transaction since it's usually run from within a transaction because transactions cannot be nested in MySQL, so either we are commiting too early or golang is just ignore the nest.
The public method persistence.SaveEvent should have the transaction instead.
AC