Skip to content

Conversation

@wangbo
Copy link
Contributor

@wangbo wangbo commented Aug 12, 2019

No description provided.

return;
}

if (insertStmt.getQueryStmt() != null && (coord.getCommitInfos() == null || coord.getCommitInfos().isEmpty())) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we have already begin a transaction for this insert statement, if you return here now, it will become a pending transaction.
I think that you should abort this transaction before return to user

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌,I will check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we have already begin a transaction for this insert statement, if you return here now, it will become a pending transaction.
I think that you should abort this transaction before return to user

add abort operation;
sry ,I habitually performed a git rebase operation

Copy link
Contributor

@imay imay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imay imay merged commit c8352a9 into apache:master Aug 13, 2019
@imay imay mentioned this pull request Sep 26, 2019
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants