write ahead logging in standby (streaming replication) - Mailing list pgsql-hackers

From Fujii Masao
Subject write ahead logging in standby (streaming replication)
Date
Msg-id 3f0b79eb0911111831i2e053eeaif2d00d4d52d313e1@mail.gmail.com
Whole thread Raw
Responses Re: write ahead logging in standby (streaming replication)
List pgsql-hackers
Hi,

Should the standby also have to follow the WAL rule during recovery?
The current patch doesn't care about the write order of the data page
and WAL in the standby. So, after both servers fail, restarting the
ex-standby by itself might corrupt the data.

If the standby follows the WAL rule, walreceiver might delay in
writing WAL records until the startup process' or bgwriter's fsync
have been finished. I'm a bit concerned that such delay might
increase the performance overhead on the primary.

Thought?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Listen / Notify rewrite
Next
From: Robert Haas
Date:
Subject: Re: next CommitFest