Re: [Django] #34006: close_old_connections() unconditionally closes connections inside atomic blocks if default autocommit = 1

8 views
Skip to first unread message

Django

unread,
Sep 12, 2022, 7:35:53 AM9/12/22
to django-...@googlegroups.com
#34006: close_old_connections() unconditionally closes connections inside atomic
blocks if default autocommit = 1
-------------------------------------+-------------------------------------
Reporter: Didier Frick | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version:
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Didier Frick):

OK then, is there a way to bump #30448 which has been open for 2 years and
affects production code ?

--
Ticket URL: <https://code.djangoproject.com/ticket/34006#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 12, 2022, 7:38:06 AM9/12/22
to django-...@googlegroups.com
#34006: close_old_connections() unconditionally closes connections inside atomic
blocks if default autocommit = 1
-------------------------------------+-------------------------------------
Reporter: Didier Frick | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version:
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

Replying to [comment:2 Didier Frick]:


> OK then, is there a way to bump #30448 which has been open for 2 years
and affects production code ?

Yes, someone need to submit an updated patch with a regression test (see
my [https://code.djangoproject.com/ticket/34006?replyto=2#comment:1
comment]).

--
Ticket URL: <https://code.djangoproject.com/ticket/34006#comment:3>

Reply all
Reply to author
Forward
0 new messages