Re: hot standby PSQL 9.1 Windows 2008 Servers - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: hot standby PSQL 9.1 Windows 2008 Servers
Date
Msg-id 4FC754DA0200002500047F12@gw.wicourts.gov
Whole thread Raw
In response to hot standby PSQL 9.1 Windows 2008 Servers  (chinnaobi <chinnaobi@gmail.com>)
Responses Re: hot standby PSQL 9.1 Windows 2008 Servers
List pgsql-hackers
chinnaobi  wrote:
> You mean when the primary which is going to switch its role to
> standby might not have sent all the WAL records to the standby and
> If it is switched to standby it has more WAL records than the
> standby which is now serves as primary. Is it ??
What happens when there is a network fault between the primary and
the standby, but not between the primary and some of the clients
updating it?  Similarly, if this is asynchronous replication, what if
there have been commits on the primary which were still in the
network buffer when the primary crashed?
Clean automated failover is not a trivial task.  If you are writing
your own, it would be best to follow the steps recommended in the
documentation rather closely.
-Kevin


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: 9.2beta1, parallel queries, ReleasePredicateLocks, CheckForSerializableConflictIn in the oprofile
Next
From: Sergey Koposov
Date:
Subject: Re: 9.2beta1, parallel queries, ReleasePredicateLocks, CheckForSerializableConflictIn in the oprofile