[Django] #32908: Add support for QuerySet.select_for_update()'s skip_locked options on MariaDB 10.6+

13 views
Skip to first unread message

Django

unread,
Jul 7, 2021, 4:51:06 AM7/7/21
to django-...@googlegroups.com
#32908: Add support for QuerySet.select_for_update()'s skip_locked options on
MariaDB 10.6+
-------------------------------------+-------------------------------------
Reporter: Mariusz | Owner: Mariusz Felisiak
Felisiak |
Type: New | Status: assigned
feature |
Component: Database | Version: 4.0
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
MariaDB 10.6+ supports the `skip_locked` option, see
[https://mariadb.com/kb/en/select/#skip-locked MariaDB docs].

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

Django

unread,
Jul 7, 2021, 5:12:15 AM7/7/21
to django-...@googlegroups.com
#32908: Add support for QuerySet.select_for_update()'s skip_locked options on
MariaDB 10.6+
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/14603 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/32908#comment:1>

Django

unread,
Jul 7, 2021, 5:35:20 AM7/7/21
to django-...@googlegroups.com
#32908: Add support for QuerySet.select_for_update()'s skip_locked options on
MariaDB 10.6+
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/32908#comment:2>

Django

unread,
Jul 8, 2021, 12:51:27 AM7/8/21
to django-...@googlegroups.com
#32908: Add support for QuerySet.select_for_update()'s skip_locked options on
MariaDB 10.6+
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: closed

Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"77b88fe621bb7828535a4c4cf37d9d4ac01b146b" 77b88fe6]:
{{{
#!CommitTicketReference repository=""
revision="77b88fe621bb7828535a4c4cf37d9d4ac01b146b"
Fixed #32908 -- Allowed select_for_update(skip_locked) on MariaDB 10.6+.
}}}

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

Reply all
Reply to author
Forward
0 new messages