Bug #85118 mysql_registry::lock_registry_for_write() issues read lock
Submitted: 22 Feb 2017 2:35 Modified: 17 Jul 2017 9:55
Reporter: Chris Powers Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:8.0.1 OS:Any
Assigned to: Chris Powers CPU Architecture:Any

[22 Feb 2017 2:35] Chris Powers
Description:
mysql_registry::lock_request_for_write() issues a read lock instead of the intended write lock.

How to repeat:
Found via code inspection.

Suggested fix:
lock_registry_for_write() should call rwlock_scoped_lock(true)