11:02 < jynus> it would be nice if queries and stats were run on the m3-slave
11:02 < jynus> not on the master
11:02 < mutante> jynus: ok, the existing script uses m3-master
11:03 < mutante> so i used the credentials from that
11:03 < jynus> you know to not make T109279 worse :-P
11:03 < jynus> let's file a bug, then
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| phab: use mysql slave not master for scripts | Dzahn | operations/puppet | production | +3 -2 |
Related Objects
Related Objects
Event Timeline
Comment Actions
@Aklapper we should adjust your script to use a slave instead of the master, per above
Comment Actions
The phabricator puppet role class sets $mysql_host = 'm3-master.eqiad.wmnet' to be used for phab in general and then these metrics scripts just do sql_host='<%= @mysql_host %>'. So it's not hardcoded in the scripts themselves.
Comment Actions
Change 236944 had a related patch set uploaded (by Dzahn):
phab: use mysql slave not master for scripts
Comment Actions
applied on iridium now. scripts use slave. i ran one of them and works normal.
resolving