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
Unknown Object (File)
Wed, Apr 17, 2:58 PM
Unknown Object (File)
Mar 15 2024, 8:45 AM
Unknown Object (File)
Jan 9 2024, 2:08 PM
Unknown Object (File)
Dec 25 2023, 11:21 PM
Unknown Object (File)
Nov 30 2023, 3:31 AM
Unknown Object (File)
Nov 26 2023, 12:18 AM
Unknown Object (File)
Nov 16 2023, 10:43 AM
Unknown Object (File)
Sep 26 2023, 2:35 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
Branch
lock3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25191
Build 34767: Run Core Tests
Build 34766: arc lint + arc unit