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 database dumps work with the partitioned version_downloads table. #1

Open
wants to merge 2 commits into
base: sg-partition-version-downloads
Choose a base branch
from

Conversation

smarnach
Copy link

@smarnach smarnach commented Feb 24, 2020

This change fixes the database dumps for the partitioned version_downloads table introduced in rust-lang#2203.

I introduced a private_tables setting in the database dump configuration that accepts glob patterns. The list includes the pattern version_downloads_*, so all programmatically created partitions should be automatically treated as private, and only the main table version_downloads itself is included in the dump.

The current implementation of the database dumps does not work for the partioned
version_downloads table. This change excludes the version_downloads table and all its
partitions from the dumps.
@smarnach smarnach changed the title Exclude version_downloads from the database dumps. Make database dumps work with the partitioned version_downloads table. Feb 27, 2020
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.

1 participant