Skip to content

Fail query if source handles cannot be acquired#14117

Merged
losipiuk merged 2 commits intotrinodb:masterfrom
losipiuk:lo/fail-source-handles-get
Sep 14, 2022
Merged

Fail query if source handles cannot be acquired#14117
losipiuk merged 2 commits intotrinodb:masterfrom
losipiuk:lo/fail-source-handles-get

Conversation

@losipiuk
Copy link
Copy Markdown
Member

Description

If the exchange plugin reported an error in future for returning ExchangeSourceHandles
this error was ignored by the engine and the query would hang indefinitely.

Technically it is a bug but not observable with exchange implementations distributed with Trino right now (hence no RN)

Non-technical explanation

Release notes

(x) This is not user-visible and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Sep 13, 2022
@losipiuk losipiuk requested a review from arhimondr September 13, 2022 13:22
@losipiuk
Copy link
Copy Markdown
Member Author

@arhimondr it works but maybe it should be done differently. I am open for suggestions :)

@losipiuk
Copy link
Copy Markdown
Member Author

CI: #14035

@losipiuk losipiuk merged commit e5086ec into trinodb:master Sep 14, 2022
@github-actions github-actions bot added this to the 396 milestone Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants