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

Cherry-pick updates for MongoDB archiver #1600

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ArnobKumarSaha
Copy link

No description provided.

tamalsaha and others added 2 commits November 20, 2023 01:14
Signed-off-by: Tamal Saha <tamal@appscode.com>
Signed-off-by: Mohammad Fahim Abrar <fahimabrar@appscode.com>
err := parser.ParseFile(filename, 0, func(event *replication.BinlogEvent) error {
ts = event.Header.Timestamp
if ts == 0 {
return nil // keep reading until first event with timestamp is found
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a real case when binlog event timestamp is 0?
If so, let's move to separate PR.

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.

None yet

3 participants