Last modified: 2014-07-31 12:58:42 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 T70881, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68881 - Provide resource for db access in grid
Provide resource for db access in grid
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks: merl-tools
  Show dependency treegraph
 
Reported: 2014-07-30 22:16 UTC by merl
Modified: 2014-07-31 12:58 UTC (History)
2 users (show)

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


Attachments

Description merl 2014-07-30 22:16:07 UTC
Currently long maintences are done at meriadb10. Also future updates and so on. Having a sql resource would prevent sge scripts to run while database is down/broken and schedules them later when database is available again.

On toolserver there were many sge different resources defined. On Labs there will probably be only three db servers, so having one resource for replicated db, one for tools-db and one for postgre should be enough.

This resource should set to 0 while maintenance is done or replication is broken. This could be done manually or by a load sensor script.

For this the resource must be a simple indicator and does not need to be consumable. On toolserver the resource was consumable to limit the number of queries run at the same time to prevent heavy peak usage. I don't know if this is needed on labs, too.

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


Navigation
Links