Missed wakeup events in priority rw lock
Bug #1235285 reported by
Laurynas Biveinis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Laurynas Biveinis | ||
5.6 |
Fix Released
|
High
|
Laurynas Biveinis |
Bug Description
Two issues have been identified by stress testing the priority rw lock implementation (not enabled by default):
- high_priority_
- Since low-priority S acquisitions were made to wait instead of acquire when a high-priority S lockers exist, it is possible to have waiters on S releases now. They need to be signaled.
Related branches
lp:~laurynas-biveinis/percona-server/bug1235285
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 114 lines (+36/-4)2 files modifiedPercona-Server/storage/innobase/include/sync0rw.ic (+15/-1)
Percona-Server/storage/innobase/sync/sync0rw.cc (+21/-3)
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-733