Skip to content
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

Fix bug with wrong checking of execution finish in PullingAsyncPipelineExecutor #46054

Merged
merged 3 commits into from
Feb 9, 2023

Conversation

alexX512
Copy link
Contributor

@alexX512 alexX512 commented Feb 5, 2023

Changelog category:

  • Bug Fix

Changelog entry:

There is a check in format "time_check() || ptr ? ptr->finished() : data->is_finished()". Operator "||" will be executed before operator "?", but expected that there should be separated time and ptr checks. Also it's unexpected to run "ptr->finished()" in case of nullptr, but with current expression it's possible.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Feb 5, 2023
@davenger davenger added the can be tested Allows running workflows for external contributors label Feb 5, 2023
Copy link
Member

@vdimir vdimir left a comment

Choose a reason for hiding this comment

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

Great catch!

@vdimir
Copy link
Member

vdimir commented Feb 6, 2023

Some checks failed in CI, but most likely not related to the changes. Some of them will be restarted automatically, so let's wait to finish, and we'll check them.

@vdimir vdimir merged commit 0042c20 into ClickHouse:master Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be tested Allows running workflows for external contributors pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants