Follow-up from T236880: Document when to use different ILoadBalancer::get*Connection* methods.
This method should be private to avoid exposing details and complexity. It requires awareness of different connection pool types (e.g. autocommit vs round). Any new internal types would also leak out through here.
Known caller (besides private use within the LoadBalancer class implementation)
- mediawiki/core: Rdbms\LoadMonitor
- mediawiki/core: PageEditStash
- mediawiki/core: JobRunner
- mediawiki/core: ChronologyProtector
- EventBus: JobExecutor.php