-
Notifications
You must be signed in to change notification settings - Fork 112
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
Race in DistributionWithContentFilter can lead to 500 #4766
Labels
Comments
mdellweg
added a commit
to mdellweg/pulpcore
that referenced
this issue
Nov 23, 2023
This change adds a `detail_model` property to the master-detail concept and removes a race condition by replacing calls to `cast` with it in `DistributionWithContentFilter`. fixes pulp#4766
mdellweg
added a commit
to mdellweg/pulpcore
that referenced
this issue
Nov 23, 2023
This change adds a `detail_model` property to the master-detail concept and removes a race condition by replacing calls to `cast` with it in `DistributionWithContentFilter`. fixes pulp#4766
mdellweg
added a commit
to mdellweg/pulpcore
that referenced
this issue
Nov 23, 2023
This change adds a `detail_model` property to the master-detail concept and removes a race condition by replacing calls to `cast` with it in `DistributionWithContentFilter`. fixes pulp#4766
mdellweg
added a commit
to mdellweg/pulpcore
that referenced
this issue
Nov 29, 2023
This change adds a `detail_model` property to the master-detail concept and removes a race condition by replacing calls to `cast` with it in `DistributionWithContentFilter`. fixes pulp#4766
mdellweg
added a commit
to mdellweg/pulpcore
that referenced
this issue
Nov 29, 2023
This change adds a `detail_model` property to the master-detail concept and removes a race condition by replacing calls to `cast` with it in `DistributionWithContentFilter`. fixes pulp#4766
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The only possible explanation I can find is that cast is messing up the related prefetched models, while acutally not be needed.
All we need is the class of the distribution. Not the detail instance.
The text was updated successfully, but these errors were encountered: