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

vstreamer: send immediate GTID on "current" #5891

Merged
merged 2 commits into from
Mar 10, 2020

Conversation

sougou
Copy link
Contributor

@sougou sougou commented Mar 5, 2020

If the current position is requested as start for vstream, it will
be good to send the actual starting GTID as a separate event before
streaming the rest.

This is particularly useful for messager because it needs to know
its current position from the beginning in order to determine which
events to skip w.r.t to poller position.

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

@sougou sougou requested a review from deepthi March 5, 2020 05:39
If the current position is requested as start for vstream, it will
be good to send the actual starting GTID as a separate event before
streaming the rest.

This is particularly useful for messager because it needs to know
its current position from the beginning in order to determine which
events to skip w.r.t to poller position.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
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. Thanks for the clarification.

@deepthi deepthi merged commit de48475 into vitessio:master Mar 10, 2020
@deepthi deepthi deleted the ss-vstreamer branch March 10, 2020 21:10
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.

2 participants