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

chore: remove uploading filtering from imagestorage queries #764

Merged

Conversation

kleesc
Copy link
Member

@kleesc kleesc commented Apr 21, 2021

The "uploading" column is an artifact from depending on writing to the
Image table (see BlobUpload table instead). As of 3.4, Quay no longer
writes to that table, and is only needed until quayio moves away from
Clair v2, after which work to remove "glue" code and fully deprecate
the Image table (amongst other tables) can start.

This is done as a separate commit from the actual migration so that it
can be cherrypicked.

@kleesc kleesc force-pushed the remove-uploading-filter-from-imagestorage-queries branch from a90c752 to 26b05f7 Compare April 21, 2021 15:12
…-1914)

The "uploading" column is an artifact from depending on writing to the
Image table (see BlobUpload table instead). As of 3.4, Quay no longer
writes to that table, and is only needed until quayio moves away from
Clair v2, after which work to remove "glue" code and fully deprecate
the Image table (amongst other tables) can start.

This is done as a separate commit from the actual migration so that it
can be cherrypicked.
@kleesc kleesc force-pushed the remove-uploading-filter-from-imagestorage-queries branch from 26b05f7 to 799b876 Compare April 21, 2021 15:14
@thomasmckay
Copy link
Contributor

@kleesc how should this be tested?

@kleesc
Copy link
Member Author

kleesc commented Apr 21, 2021

@thomasmckay This change shouldn't change any functionality. So making sure the standard registry operations still work.

@kleesc kleesc merged commit 4ad5a45 into quay:master Apr 21, 2021
@kleesc kleesc deleted the remove-uploading-filter-from-imagestorage-queries branch April 21, 2021 17:53
kleesc added a commit to kleesc/quay that referenced this pull request Apr 21, 2021
…-1914) (quay#764)

The "uploading" column is an artifact from depending on writing to the
Image table (see BlobUpload table instead). As of 3.4, Quay no longer
writes to that table, and is only needed until quayio moves away from
Clair v2, after which work to remove "glue" code and fully deprecate
the Image table (amongst other tables) can start.

This is done as a separate commit from the actual migration so that it
can be cherrypicked.
kleesc added a commit that referenced this pull request Apr 22, 2021
#768)

* chore: remove uploading filtering from imagestorage queries (PROJQUAY-1914) (#764)

The "uploading" column is an artifact from depending on writing to the
Image table (see BlobUpload table instead). As of 3.4, Quay no longer
writes to that table, and is only needed until quayio moves away from
Clair v2, after which work to remove "glue" code and fully deprecate
the Image table (amongst other tables) can start.

This is done as a separate commit from the actual migration so that it
can be cherrypicked.

* Re-add Image row creation from 4ad5a45

Cherrypicking 4ad5a45 removed writes to the Image tables. For quayio,
this is still needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants