Skip to content

colexec: close the ordered sync used by the external sorter#75771

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
yuzefovich:ordered-sync-fix
Feb 2, 2022
Merged

colexec: close the ordered sync used by the external sorter#75771
craig[bot] merged 2 commits intocockroachdb:masterfrom
yuzefovich:ordered-sync-fix

Conversation

@yuzefovich
Copy link
Copy Markdown
Member

colexec: close the ordered sync used by the external sorter

Previously, we forgot to close the ordered synchronizer that is used by
the external sorter to merge already sorted partitions. This could
result in some tracing spans never being finished and is now fixed.

Release note: None

colexec: return an error rather than logging it on Close in some cases

This error eventually will be logged anyway, but we should try to
propagate it up the stack as much as possible.

Release note: None

Previously, we forgot to close the ordered synchronizer that is used by
the external sorter to merge already sorted partitions. This could
result in some tracing spans never being finished and is now fixed.

Release note: None
This error eventually will be logged anyway, but we should try to
propagate it up the stack as much as possible.

Release note: None
@yuzefovich yuzefovich requested review from a team, cucaroach and michae2 February 1, 2022 04:52
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@michae2 michae2 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @cucaroach)

@yuzefovich
Copy link
Copy Markdown
Member Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 2, 2022

Build succeeded:

@craig craig bot merged commit 63988a4 into cockroachdb:master Feb 2, 2022
@yuzefovich yuzefovich deleted the ordered-sync-fix branch February 2, 2022 04:23
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.

3 participants