HomePhorge

Use write connection and transactions in SQL patches

Description

Use write connection and transactions in SQL patches

Summary:
Patches often read from slaves (possibly stale data) and use that information to write on master.
It causes problems when applying more patches quickly after each other because data created in previous patch may not be replicated yet.

Test Plan:

$ bin/storage upgrade

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4483

Details

Provenance
vranaAuthored on Jan 16 2013, 5:55 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPf896696fde99: Don't pop invalid test environment
Branches
Unknown
Tags
Unknown

Event Timeline