#22014: `prefetch_related` recursion protection does not cover all cases
-------------------------------+--------------------------------------
Reporter: StillNewb | Owner: nobody
Type: Bug | Status: closed
Component: Uncategorized | Version: master
Severity: Normal | Resolution: needsinfo
Keywords: prefetch | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by bmispelon):
* status: new => closed
* needs_docs: => 0
* resolution: => needsinfo
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
Hi,
Correct me if I'm wrong, but from what I can tell, the test you provide
doesn't demonstrate an infinite loop.
There does appear to be some repeated queries but I'm not familiar enough
with the ORM internals to say whether it's actually a bug or a performance
issue that we could improve.
I'll mark this ticket as "needs info". Can you reopen it with a testcase
that shows the infinite recursion?
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/22014#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.ff6ab632b3cdbd93f4e91e79c427659d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.