Re: Procedure after failover - Mailing list pgsql-general

From Paul Jungwirth
Subject Re: Procedure after failover
Date
Msg-id CA+6hpamD56sJu9samzvAiGKXKYzHuE4UnHMC4xVAXMeUa7FGbw@mail.gmail.com
Whole thread Raw
In response to Procedure after failover  (Paul Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-general
A bit more info:

> What if there were changes on the master that didn't get replicated
> before I originally shut it down?

It looks like Ubuntu's init.d script does a "fast" shutdown, i.e.
SIGINT on this page:

http://www.postgresql.org/docs/9.3/static/server-shutdown.html

I can't tell from the doc what happens re WAL archives though. Is that
what the page means by "online backup mode"? My suspicion is that
because I shut down the master "fast", I'm going to have to wipe it
and then pg_restore it from the slave, because it might have data that
never made it out to the slave. Is that correct?

Thanks,
Paul

--
_________________________________
Pulchritudo splendor veritatis.


pgsql-general by date:

Previous
From: Paul Jungwirth
Date:
Subject: Procedure after failover
Next
From: "Roopeshakumar Narayansa Shalgar (rshalgar)"
Date:
Subject: PANIC: could not create file "pg_xlog/xlogtemp.7884": No space left on device