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)
Fri, Dec 13, 7:54 PM
Unknown Object (File)
Tue, Dec 10, 6:55 PM
Unknown Object (File)
Sat, Nov 30, 9:51 AM
Unknown Object (File)
Wed, Nov 27, 10:29 PM
Unknown Object (File)
Nov 22 2024, 5:12 PM
Unknown Object (File)
Nov 20 2024, 5:24 PM
Unknown Object (File)
Nov 17 2024, 5:34 PM
Unknown Object (File)
Nov 17 2024, 4:20 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