HomePhabricator

Use master DB when touching the user to signal rename end

Authored by Tgr on Jun 8 2016, 10:59 AM.

Description

Use master DB when touching the user to signal rename end

Since the user object is updated in the process of the rename,
fetching from a lagged slave might result in and outdated
user_touched value and thus a CAS error.

Bug: T135656
Change-Id: I14e3615ccbcabfdf0dcbf7c098eb0e152ec4a18a
(cherry picked from commit 2c9b3f10e2d40df9e3b9b90cd67b159526886a93)

Details

Committed
TgrJun 10 2016, 6:26 PM
Parents
rERENe1185b779977: Fix file permissions
Branches
Unknown
Tags
Unknown
References
REL1_27, refs/changes/82/293782/1
ChangeId
I14e3615ccbcabfdf0dcbf7c098eb0e152ec4a18a