Closed
Bug 611125
Opened 15 years ago
Closed 15 years ago
[amo] Turn on the redis slave
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbalogh, Assigned: oremj)
Details
If we have a slave I can write a script that connects there and starts expiring keys we're not using. I need to do this on a slave so the master doesn't get locked up enumerating all the keys.
1. Kill the slave, make sure it doesn't have any db backups.
2. Make sure the configs are synced up.
3. Enable the slave in the master's config.
4. Restart the master to clear it's data and pick up the new config.
We'll have to watch it to make sure talking to the slave doesn't slow down the master, but I think it will be fine as long as they're in sync from the beginning. We had problems before when the slave was trying to sync up 10G from the master because that does a background save first.
Updated•15 years ago
|
Assignee: server-ops → jeremy.orem+bugs
| Assignee | ||
Comment 1•15 years ago
|
||
Slave is up. pm-redis-amo02:6379.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•