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 , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Needs tests: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:4 by , 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 , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
May be related/duplicate of #24576.