AMashenkov commented on code in PR #2611:
URL: https://github.com/apache/ignite-3/pull/2611#discussion_r1347029529
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/SqlQueryProcessor.java:
##########
@@ -415,7 +415,7 @@ private CompletableFuture<AsyncSqlCursor<List<Object>>>
querySingle0(
return prepareSvc.prepareAsync(result,
ctx).thenApply(plan -> executePlan(session, txWrapper, ctx, plan));
}).whenComplete((res, ex) -> {
if (ex != null) {
- txWrapper.rollbackImplicit();
+ txWrapper.rollback();
Review Comment:
Here, transaction will be rolled back if preparation step failed.
Is it expected?
--
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]