Page MenuHomePhabricator

Prevent external connections from being mutated on held locks
ClosedPublic

Authored by epriestley on Mar 2 2021, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 5:24 PM
Unknown Object (File)
Sun, Nov 17, 5:34 PM
Unknown Object (File)
Sun, Nov 17, 4:20 PM
Unknown Object (File)
Sun, Nov 17, 10:56 AM
Unknown Object (File)
Sun, Nov 17, 8:02 AM
Unknown Object (File)
Sat, Nov 16, 1:53 AM
Unknown Object (File)
Thu, Nov 14, 11:44 AM
Unknown Object (File)
Mon, Nov 11, 4:15 PM
Subscribers
None

Details

Summary

Ref T13627. This makes the API harder to misuse: setting an external connection on a held lock isn't a meaningful operation. Prevent it.

Test Plan

Added a failing test, made it pass.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable