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

[3.21] Publish perf backports #3228

Closed
wants to merge 2 commits into from
Closed

[3.21] Publish perf backports #3228

wants to merge 2 commits into from

Conversation

dralley
Copy link
Contributor

@dralley dralley commented Aug 16, 2023

No description provided.

closes pulp#3226

* select_related works just with relational fields(FK) so
  `content__rpm_package__time_build` would raise an error
* use values() instead of select_related, when we don't need returned model
  instance
* use content_id field which is already on the CA model rather
  then content.pk that would access yet another table
* take advantage of content__pulp_type field
* use pkgId in the error message instead of nevra to avoid loading extra fields

(cherry picked from commit 0f0eb4e)
closes pulp#3225

* instead of loading all Artifact checksums load just one based on the
  value from package_checksum_type

(cherry picked from commit 5a603b0)
@dralley
Copy link
Contributor Author

dralley commented Aug 17, 2023

Actually IIRC we were planning to skip over 3.21

#3211 (comment)

@dralley dralley closed this Aug 17, 2023
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