Aiven-Open / pghoard

PostgreSQL® backup and restore service
http://aiven-open.github.io/pghoard/
Apache License 2.0
1.31k stars 96 forks source link

Ensure progress metric is updated frequently during basebackup [BF-956] #550

Closed alexole closed 2 years ago

alexole commented 2 years ago

Adapt the fix from #549

codecov[bot] commented 2 years ago

Codecov Report

Merging #550 (a437667) into main (370b1f3) will decrease coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #550      +/-   ##
==========================================
- Coverage   90.76%   90.72%   -0.05%     
==========================================
  Files          30       30              
  Lines        4593     4594       +1     
==========================================
- Hits         4169     4168       -1     
- Misses        424      426       +2     
Impacted Files Coverage Δ
pghoard/basebackup/chunks.py 96.79% <100.00%> (+0.02%) :arrow_up:
pghoard/webserver.py 89.12% <0.00%> (-0.95%) :arrow_down:
pghoard/basebackup/base.py 85.35% <0.00%> (-0.23%) :arrow_down:
pghoard/pghoard.py 83.05% <0.00%> (+0.33%) :arrow_up:
pghoard/walreceiver.py 97.85% <0.00%> (+0.71%) :arrow_up:
alexole commented 2 years ago

test_pause_on_disk_full seems to be absolutely broken now.

alexole commented 2 years ago

I think you can merge it, there is still one flaky test_pause_on_disk_full