tiagodolphine commented on code in PR #1906:
URL: 
https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1389441548


##########
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:
   the main idea was to isolate the put operation in a dedicated transaction 
since we are flushing it now, but yeah I agree it might interfere with 
transactions out of this scope, so better to avoid it, a refactor was done.



-- 
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]

Reply via email to