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

Refactor StartBackup to Support Custom Backup Handlers #849

Merged
merged 7 commits into from
Feb 4, 2024
Merged

Refactor StartBackup to Support Custom Backup Handlers #849

merged 7 commits into from
Feb 4, 2024

Conversation

doraemonkeys
Copy link
Contributor

This pull request introduces a significant refactor to the StartBackup method within the BinlogSyncer type. The primary goal of this change is to enhance flexibility and extensibility by allowing custom handlers for the backup process, rather than directly interacting with the file system within the method.

replication/backup.go Outdated Show resolved Hide resolved
replication/backup.go Outdated Show resolved Hide resolved
replication/backup.go Outdated Show resolved Hide resolved
@doraemonkeys
Copy link
Contributor Author

@lance6716 Your opinions are good and I have changed the code

replication/backup.go Outdated Show resolved Hide resolved
…that the StartBackup method retains its original behavior
@lance6716 lance6716 merged commit 39976f7 into go-mysql-org:master Feb 4, 2024
13 checks passed
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