-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Insert from empty source will begin an infinite transaction #38956
Labels
Comments
TangSiyang2001
added
area/nereids
doris-future
difficulty/easy
and removed
doris-future
difficulty/easy
labels
Aug 6, 2024
Maybe just do not begin a transaction for empty insert is better. |
TangSiyang2001
added a commit
to TangSiyang2001/doris
that referenced
this issue
Aug 8, 2024
…void infinite transaction (apache#38991) ## Proposed changes Issue Number: close apache#38956 As title.
wyxxxcat
pushed a commit
to wyxxxcat/doris
that referenced
this issue
Aug 14, 2024
…void infinite transaction (apache#38991) ## Proposed changes Issue Number: close apache#38956 As title.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Version
master
What's Wrong?
As title.
InsertIntoTableCommand#runInternal
Here insert command will not be actually started when empty relation, so callback of txn commit and publish will never be called, resulting in an infinite transaction which will only finish when timeout reached.
InsertIntoTableCommand#initPlan (transaction begins here)
What You Expected?
Empty source optimization should commit and publish transaction.
How to Reproduce?
Just create an empty table, insert data from itself.
Anything Else?
introduced by #34418
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: