#36416: id_list argument to in_bulk() does not account for composite primary 
keys
when batching
-------------------------------------+-------------------------------------
     Reporter:  Jacob Walls          |                    Owner:  Jacob
                                     |  Walls
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  5.2
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):

 I left a
 [https://github.com/django/django/pull/19502#discussion_r2105896691 note]
 here that I believe the slowness is simply due to the unfixed #36380 (and
 I added mocking in order to avoid creating such a large batch either way).
 The draft test finishes for me when I apply the fix for #36380 -- sorry I
 didn't pull these pieces together into the ticket description.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36416#comment:4>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701970d1f882b-b8c67a43-798b-4ae1-9553-1efb34c68662-000000%40eu-central-1.amazonses.com.

Reply via email to