Page MenuHomePhabricator

ORMRow should release db connections after use.
Closed, ResolvedPublic

Description

Ic9e728f8 makes ORMRow get DB connections via ORMTable::getWriteDbConnection();

When getting db connections from ORMTable, please also release them using ORMTable::releaseConntetion. This allows connections to remote wikis to be recycled for later connections (for local connections, this doesn't matter).

Without it, we may end up with one connection open per foreign wiki, instead of one per cluster/section.


Version: 1.21.x
Severity: normal

Details

Reference
bz41796