HomePhorge

Refuse to acquire a second GlobalLock on a connection

Description

Refuse to acquire a second GlobalLock on a connection

Summary:
Ref T13627. MySQL versions older than 5.7 release held locks when a new lock is acquired.

Prevent acquisition of a second lock to prevent this.

Test Plan: Added a failing unit test, made it pass.

Maniphest Tasks: T13627

Differential Revision: https://secure.phabricator.com/D21586

Details

Provenance
epriestleyAuthored on Mar 2 2021, 12:58 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP466013f11a6d: Prevent external connections from being mutated on held locks
Branches
Unknown
Tags
Unknown

Event Timeline