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

Make VACUUM tests more resilient #3085

Merged
merged 2 commits into from Apr 5, 2021
Merged

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Apr 3, 2021

PG13 changes index vacuum behaviour in versions after 13.2 so
index vacuum is no longer triggered when inserting only.
This lead to test failures in the ABI test which was running
PG13 snapshot but will also lead to test differences between
13.2 and 13.3 when that is released.
This patch removes the indexes from the vacuum and vacuum multi
tests and makes them smaller for vacuum_parallel test to make
the size stable.

postgres/postgres@9663d12

Fixes #3073

Disable-check: commit-count

@svenklemm svenklemm requested a review from a team as a code owner April 3, 2021 16:57
@svenklemm svenklemm requested review from pmwkaa, nikkhils and k-rus and removed request for a team April 3, 2021 16:57
@svenklemm svenklemm self-assigned this Apr 3, 2021
@codecov
Copy link

codecov bot commented Apr 3, 2021

Codecov Report

Merging #3085 (cebe497) into master (eace5ea) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3085      +/-   ##
==========================================
- Coverage   90.28%   90.25%   -0.03%     
==========================================
  Files         213      213              
  Lines       34885    34885              
==========================================
- Hits        31495    31486       -9     
- Misses       3390     3399       +9     
Impacted Files Coverage Δ
src/loader/bgw_launcher.c 89.50% <0.00%> (-2.47%) ⬇️
tsl/src/reorder.c 81.84% <0.00%> (-0.27%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eace5ea...cebe497. Read the comment docs.

PG13 changes index vacuum behaviour in versions after 13.2 so
index vacuum is no longer triggered when inserting only.
This lead to test failures in the ABI test which was running
PG13 snapshot but will also lead to test differences between
13.2 and 13.3 when that is released.
This patch removes the indexes from the vacuum and vacuum multi
tests and makes them smaller for vacuum_parallel test to make
the size stable.

postgres/postgres@9663d12
@svenklemm svenklemm requested a review from gayyappan April 5, 2021 07:48
The reason vacuum and vacuum_multi was separate is because vacuuming
multiple relations is only supported in PG11+. Since we no longer
support versions < PG11 we can combine those 2 tests.
@svenklemm svenklemm merged commit d38b8ee into timescale:master Apr 5, 2021
@svenklemm svenklemm deleted the vacuum_flaky branch April 18, 2021 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ABI breakage test fails on PG13
4 participants