denis-chudov commented on code in PR #3511:
URL: https://github.com/apache/ignite-3/pull/3511#discussion_r1631106581
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/tx/ScriptTransactionWrapperImpl.java:
##########
@@ -184,6 +191,10 @@ private void completeTx() {
default:
throw new IllegalStateException("Unknown transaction target
state: " + txState);
}
+
+ if (managedTx.isReadOnly() && completedTx.compareAndSet(false, true)) {
Review Comment:
It's not, we have an assertion that there are any inflights to remove. Also
check the comment above
--
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]