Skip to content

pitr: fix deadlock in ff code#6774

Merged
deepthi merged 1 commit intovitessio:masterfrom
planetscale:ss-pt1-fix
Sep 23, 2020
Merged

pitr: fix deadlock in ff code#6774
deepthi merged 1 commit intovitessio:masterfrom
planetscale:ss-pt1-fix

Conversation

@sougou
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

@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
Copy Markdown
Collaborator

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