Page MenuHomePhabricator

Refuse to acquire a second GlobalLock on a connection
ClosedPublic

Authored by epriestley on Mar 2 2021, 9:38 PM.
Tags
None
Referenced Files
F15461662: D21586.id51383.diff
Tue, Apr 1, 10:04 AM
F15457900: D21586.diff
Sun, Mar 30, 7:57 PM
F15453899: D21586.id.diff
Sat, Mar 29, 2:57 PM
F15434422: D21586.id.diff
Tue, Mar 25, 3:32 AM
F15402633: D21586.id51383.diff
Mon, Mar 17, 11:26 PM
F15381078: D21586.diff
Fri, Mar 14, 5:45 AM
Unknown Object (File)
Feb 26 2025, 4:56 PM
Unknown Object (File)
Feb 26 2025, 10:07 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable