elguardian commented on code in PR #1906:
URL:
https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1386266499
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java:
##########
@@ -83,10 +87,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
this is going to cause problems as in-flight transactions will be suspended
by tx manager. given that this is not nested tx this can go well and the parent
fail at some point leaving inconsistencies in the data.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]