submarine icon indicating copy to clipboard operation
submarine copied to clipboard

Combine k8s and database transactions

Open cdmikechen opened this issue 3 years ago • 1 comments

The current k8s and database transactions are separate, which will result in situations where a commit/processing failure of k8s will not trigger a rollback of a database transaction. We need to design a unified transaction management or processing logic to ensure submarine-server to be able to handle exceptions and transaction rollbacks correctly.

For example, by using the @Transactional, or by putting the relevant operations codes/methods into one of our transaction services.

cdmikechen avatar Jul 23 '22 13:07 cdmikechen

Add a JIRA issue in https://issues.apache.org/jira/browse/SUBMARINE-1309

cdmikechen avatar Aug 13 '22 09:08 cdmikechen