Last modified: 2014-04-28 21:27:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62058, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60058 - implement master-slave DB for beta labs
implement master-slave DB for beta labs
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 51494 57583
  Show dependency treegraph
 
Reported: 2014-01-14 23:09 UTC by spage
Modified: 2014-04-28 21:27 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-01-14 23:09:01 UTC
The beta cluster is intended to be "close" to production for testing purposes, but it does not use a master-slave DB configuration. This means that some cache and database bugs aren't caught in testing on beta labs, e.g. bug 59884.

It would be useful if beta labs had a similar master-slave DB setup, especially if we introduced significant lag time in slave updates.  Easier said than done :-)
Comment 1 Erik Bernhardson 2014-01-14 23:43:55 UTC
setting the lag is fairly trivial,  percona makes a tool for it called pt-slave-delay.
Comment 2 Sam Reed (reedy) 2014-04-28 16:03:14 UTC
(In reply to Erik Bernhardson from comment #1)
> setting the lag is fairly trivial,  percona makes a tool for it called
> pt-slave-delay.

(In reply to spage from comment #0)
> It would be useful if beta labs had a similar master-slave DB setup,
> especially if we introduced significant lag time in slave updates.  Easier
> said than done :-)


Bug 57583 requests the lags specifically...
Comment 3 Sam Reed (reedy) 2014-04-28 16:43:06 UTC
Currently doing this!
Comment 4 Sam Reed (reedy) 2014-04-28 20:23:37 UTC
We has a slave!
Comment 5 Antoine "hashar" Musso (WMF) 2014-04-28 21:27:57 UTC
Thank you Sam!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links