Skip to content

Implement Heartbeat #191

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

Merged
merged 2 commits into from
Feb 3, 2017

Conversation

baloo
Copy link
Collaborator

@baloo baloo commented Jan 28, 2017

I ended up debugging a slow startup with pymysqlreplication,
the stream "stucked" for a few seconds before seeing first events coming in.
For that purpose I ended up implementing HeartbeatLogEvent and
documenting observed mysql behavior.

I also implemented the heartbeat feature, which is required for the mysqld
to filter events in gtid mode.

@baloo baloo force-pushed the features/heartbeat-events branch from 8778000 to b9587d1 Compare January 28, 2017 00:15
@baloo baloo changed the title Implement HeartbeatLogEvent [WIP]Implement HeartbeatLogEvent Jan 28, 2017
@julien-duponchelle
Copy link
Owner

Nice

@baloo baloo force-pushed the features/heartbeat-events branch from b9587d1 to 82cfbec Compare January 31, 2017 19:56
@baloo baloo changed the title [WIP]Implement HeartbeatLogEvent Implement Heartbeat Jan 31, 2017
@baloo
Copy link
Collaborator Author

baloo commented Jan 31, 2017

@noplay I'm concerned about the new events in the stream. This may break the client apps. Maybe I should remove it from the default set.

Arthur Gautier added 2 commits January 31, 2017 23:37
I ended up debugging a slow startup with pymysqlreplication,
the stream "stucked" for a few seconds before seeing first events coming in.
For that purpose I ended up implementing HeartbeatLogEvent and
documenting observed mysql behavior.

I also implemented the heartbeat feature, which is required for the mysqld
to filter events in gtid mode.

Signed-off-by: Arthur Gautier <[email protected]>
Signed-off-by: Arthur Gautier <[email protected]>
@baloo baloo force-pushed the features/heartbeat-events branch from 7a3b79a to f12a190 Compare January 31, 2017 23:37
@julien-duponchelle
Copy link
Owner

julien-duponchelle commented Feb 1, 2017 via email

@baloo
Copy link
Collaborator Author

baloo commented Feb 1, 2017

New unexpected event in the stream. That's the only one I see.

@julien-duponchelle
Copy link
Owner

julien-duponchelle commented Feb 2, 2017 via email

@baloo baloo merged commit 7e5959a into julien-duponchelle:master Feb 3, 2017
@baloo
Copy link
Collaborator Author

baloo commented Feb 3, 2017

Agreed

@baloo baloo mentioned this pull request Feb 7, 2017
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