Page MenuHomePhabricator

Refuse to acquire a second GlobalLock on a connection
ClosedPublic

Authored by epriestley on Mar 2 2021, 9:38 PM.

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