Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Combine k8s and database transactions #983

Open
cdmikechen opened this issue Jul 23, 2022 · 1 comment
Open

Combine k8s and database transactions #983

cdmikechen opened this issue Jul 23, 2022 · 1 comment
Labels
enhancement New feature or request java Pull requests that update Java code

Comments

@cdmikechen
Copy link
Contributor

cdmikechen commented Jul 23, 2022

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
Copy link
Contributor Author

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

@cdmikechen cdmikechen added enhancement New feature or request java Pull requests that update Java code labels Oct 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

1 participant