Opened 7 years ago

Last modified 6 years ago

#29380 closed Cleanup/optimization

Add support for QuerySet.select_for_update()'s nowait and skip_locked options on MySQL 8+ — at Version 1

Reported by: bakabiko Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: skip_locked, MYSQL, database
Cc: Adam Johnson Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

MySQL 8+ supports skip_locked and nowait options but the MySQL database backend doesn't support them.

Reference: https://mysqlserverteam.com/mysql-8-0-1-using-skip-locked-and-nowait-to-handle-hot-rows/

Change History (1)

comment:1 by Tim Graham, 7 years ago

Description: modified (diff)
Easy pickings: unset
Summary: Support skip_locked argument to QuerySet.select_for_update() on MYSQL 8+Add support for QuerySet.select_for_update()'s nowait and skip_locked options on MySQL 8+
Triage Stage: UnreviewedAccepted
Type: New featureCleanup/optimization
Note: See TracTickets for help on using tickets.
Back to Top