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

pitr: fix deadlock in ff code #6774

Merged
merged 1 commit into from
Sep 23, 2020
Merged

Conversation

sougou
Copy link
Contributor

@sougou sougou commented Sep 23, 2020

During fast-forward, the VStream code can get stuck sending
data to the channel. This will cause Close to hang waiting
for VStream to exit. I've changed the VStream call back to
end the stream as soon as the target position was reached.

Signed-off-by: Sugu Sougoumarane ssougou@gmail.com

During fast-forward, the VStream code can get stuck sending
data to the channel. This will cause Close to hang waiting
for VStream to exit. I've changed the VStream call back to
end the stream as soon as the target position was reached.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Copy link
Contributor

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

LGTM

@deepthi deepthi merged commit 19d2889 into vitessio:master Sep 23, 2020
@deepthi
Copy link
Member

deepthi commented Sep 23, 2020

cc @arindamnayak

@deepthi deepthi deleted the ss-pt1-fix branch September 23, 2020 16:28
@askdba askdba added this to the v8.0 milestone Oct 6, 2020
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.

4 participants