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

Updated backup/restore status when concurrent backups & restores are not allowed #45497

Conversation

SmitaRKulkarni
Copy link
Member

Changelog category (leave one):

  • Bug-fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Updated backup/restore status when concurrent backups & restores are not allowed resolves #45486
Implementation:

  • Moved concurrent backup/restore check inside try-catch block which sets the status so that other nodes in cluster are aware of failures.
  • Renamed backup_uuid to restore_uuid in RestoreSettings.

Testing:

  • Updated test test_backup_and_restore_on_cluster/test_disallow_concurrency to check for specific backup/restore id.

…not allowed

Implementation:
* Moved concurrent backup/restore check inside try-catch block which sets the status so that other nodes in cluster are aware of failures.
* Renamed backup_uuid to restore_uuid in RestoreSettings.
Testing:
* Updated test test_backup_and_restore_on_cluster/test_disallow_concurrency to check for specific backup/restore id.
… when concurrent backups & restores are not allowed
@hanfei1991 hanfei1991 self-assigned this Jan 23, 2023
@vitlibar vitlibar self-assigned this Jan 24, 2023
…s/Restores - Updated backup/restore status when concurrent backups & restores are not allowed
@SmitaRKulkarni
Copy link
Member Author

Failures are unrelated
Stress test (ubsan) - #45372

@SmitaRKulkarni SmitaRKulkarni merged commit b0bbe75 into master Jan 25, 2023
@SmitaRKulkarni SmitaRKulkarni deleted the 45486_Fix_flaky_test_for_disallowing_concurrent_backups_restores branch January 25, 2023 07:37
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.

Flaky test_backup_restore_on_cluster/test_disallow_concurrency.py
3 participants