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

fix: fix the bug in restore_test #515

Merged
merged 5 commits into from
Apr 14, 2020
Merged

fix: fix the bug in restore_test #515

merged 5 commits into from
Apr 14, 2020

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented Apr 13, 2020

What problem does this PR solve?

The restore_test will fail when we run function test now. This pr is used for fix this bug.

What is changed and how it works?

In our implement, backup interval must be greatger than cold_backup_checkpoint_reserve_minutes, which is 10 minutes in default.
And in restore_test, the backup interval is 1 seconds, while cold_backup_checkpoint_reserve_minutes is 10 minutes. So it will produces some error in running restore_test.

Check List

Related changes

  • Need to cherry-pick to the release branch
    yes
  • Need to update the documentation
  • Need to be included in the release note

@neverchanje neverchanje added the type/bug-fix This PR fixes a bug. label Apr 13, 2020
neverchanje
neverchanje previously approved these changes Apr 13, 2020
@hycdong
Copy link
Contributor

hycdong commented Apr 14, 2020

If cold_backup_checkpoint_reserve_minutes will only affect restore function test, I suggest update it dynamically like config cold backup interval for restore function test.

@levy5307
Copy link
Contributor Author

If cold_backup_checkpoint_reserve_minutes will only affect restore function test, I suggest update it dynamically like config cold backup interval for restore function test.

Done.

@hycdong hycdong merged commit 978497d into master Apr 14, 2020
@neverchanje neverchanje mentioned this pull request Apr 14, 2020
neverchanje pushed a commit that referenced this pull request Apr 15, 2020
@levy5307 levy5307 deleted the restore-bug branch May 29, 2020 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.12.3 type/bug-fix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants