Opened 9 years ago

Closed 9 years ago

#25639 closed Bug (duplicate)

Cascade deleting cause deadlock

Reported by: shellfly Owned by: shellfly
Component: Database layer (models, ORM) Version: 1.8
Severity: Normal Keywords: db deadlock
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

The sort method in db.models.deletion doesn't return a same order every time. This can cause a deadlock when delete a model.

Change History (5)

comment:1 by shellfly, 9 years ago

Owner: changed from nobody to shellfly
Status: newassigned

comment:2 by Tim Graham, 9 years ago

Needs tests: set
Triage Stage: UnreviewedAccepted

May be related/duplicate of #24576.

comment:3 by Tim Graham, 9 years ago

Needs tests: unset

comment:4 by Tim Graham, 9 years ago

Patch needs improvement: set

The pull request has failing tests. Please uncheck "Patch needs improvement" when they are fixed.

comment:5 by shellfly, 9 years ago

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.
Back to Top