Page MenuHomePhabricator

Configure replication slots on Postgres masters
Closed, ResolvedPublic

Description

Currently our replicas do not use postgres replication slots. This means that during adverse conditions (such as imposm imports) we have hosts drop out of replication quite frequently.

Reparenting them can be a frustrating and time consuming activity and using replication slots will hopefully help us avoid these issues.

  • eqiad (maps1005, maps1006, maps1007, maps1008, maps1009, maps1010)
  • codfw (maps2005, maps2006, maps2007, maps2008, maps2009, maps2010)

Event Timeline

Setting as low since we're not supposed to do re-imports often.

Change 755959 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] postgres: add option to enable replication slots

https://gerrit.wikimedia.org/r/755959

Change 755959 abandoned by Hnowlan:

[operations/puppet@production] postgres: add option to enable replication slots

Reason:

Implemented in 854563

https://gerrit.wikimedia.org/r/755959

Change 857067 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] maps: add support for replication slots

https://gerrit.wikimedia.org/r/857067

Change 857077 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] maps: enable replication slots on maps1009 and maps1008

https://gerrit.wikimedia.org/r/857077

Change 857505 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] maps: enable postres replication slots in eqiad

https://gerrit.wikimedia.org/r/857505

Change 857067 merged by Effie Mouzeli:

[operations/puppet@production] maps: add support for replication slots

https://gerrit.wikimedia.org/r/857067

Change 857077 merged by Effie Mouzeli:

[operations/puppet@production] maps: enable replication slots on maps1009 and maps1008

https://gerrit.wikimedia.org/r/857077

Change 857505 abandoned by Effie Mouzeli:

[operations/puppet@production] maps: enable postres replication slots in eqiad

Reason:

rebase hell

https://gerrit.wikimedia.org/r/857505

Change 857704 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] maps: enable postgres replication slots in eqiad

https://gerrit.wikimedia.org/r/857704

Change 857704 merged by Effie Mouzeli:

[operations/puppet@production] maps: enable postgres replication slots in eqiad

https://gerrit.wikimedia.org/r/857704

jijiki subscribed.

Today @hnowlan and I enabled replication slots on eqiad, doing codfw tomorrow :)

Change 858337 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] maps: enable postgres replication slots in codfw

https://gerrit.wikimedia.org/r/858337

Change 858337 merged by Effie Mouzeli:

[operations/puppet@production] maps: enable postgres replication slots in codfw

https://gerrit.wikimedia.org/r/858337

jijiki claimed this task.