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

Support cleaning up extra backup sites #623

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ettanany
Copy link
Contributor

@ettanany ettanany commented Jun 11, 2024

This adds a new setting called extra_backup_sites_prefixes, which when set, makes cleaning process look into those extra sites as well, and this is particularly useful when we have old backups from a previous backup site after a PG major version upgrade.

@ettanany ettanany force-pushed the ettanany-support-cleaning-of-extra-backup-sites branch 3 times, most recently from b6eb90d to b9980a9 Compare June 12, 2024 18:35
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.76%. Comparing base (5505b86) to head (b9980a9).
Report is 13 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #623      +/-   ##
==========================================
- Coverage   91.01%   90.76%   -0.25%     
==========================================
  Files          31       31              
  Lines        4917     4980      +63     
==========================================
+ Hits         4475     4520      +45     
- Misses        442      460      +18     
Files Coverage Δ
pghoard/pghoard.py 86.62% <100.00%> (+1.04%) ⬆️

... and 9 files with indirect coverage changes

@ettanany ettanany force-pushed the ettanany-support-cleaning-of-extra-backup-sites branch from b9980a9 to 190f819 Compare June 17, 2024 09:08
@ettanany ettanany marked this pull request as draft June 17, 2024 11:57
@ettanany ettanany requested a review from a team June 18, 2024 15:07
@ettanany ettanany marked this pull request as ready for review June 18, 2024 15:07
@ettanany ettanany force-pushed the ettanany-support-cleaning-of-extra-backup-sites branch from 190f819 to 82f226b Compare June 18, 2024 17:11
This adds a new setting called `extra_backup_sites_prefixes`, which when
set, makes cleaning process look into those extra sites as well, and
this is particularly useful when we have old backups from a previous
backup site after a PG major version upgrade.
@ettanany ettanany force-pushed the ettanany-support-cleaning-of-extra-backup-sites branch from 82f226b to 6b5e597 Compare July 1, 2024 11:57
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