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

any marker or method can indicated the binlog sync has stared? #902

Open
lonely-root-number2 opened this issue Aug 4, 2024 · 0 comments

Comments

@lonely-root-number2
Copy link

story:
I want to cache some data from the database in the application. I need to wait until binlog synchronization has started before starting pulling data from the database so that updates are not lost. (If synchronization has not started when pulling data, some updates will be lost).
I noticed that there was a variable called running in syncer, but it was not exposed to the public. Judging by synedPosition doesn't seem very accurate.

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

No branches or pull requests

1 participant