Re: Synchronous replication
От | Fujii Masao |
---|---|
Тема | Re: Synchronous replication |
Дата | |
Msg-id | AANLkTinEtBRVkD671vCnHjpBSBVBC2niKBoCV7hYphcX@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Synchronous replication (Yeb Havinga <yebhavinga@gmail.com>) |
Ответы |
Re: Synchronous replication
Re: Synchronous replication |
Список | pgsql-hackers |
On Tue, Jul 27, 2010 at 7:39 PM, Yeb Havinga <yebhavinga@gmail.com> wrote: > Fujii Masao wrote: >> >> The attached patch changes the backend so that it signals walsender to >> wake up from the sleep and send WAL immediately. It doesn't include any >> other synchronous replication stuff. >> > > Hello Fujii, Thanks for the review! > I noted the changes in XlogSend where instead of *caughtup = true/false it > now returns !MyWalSnd->sndrqst. That value is initialized to false in that > procedure and it cannot be changed to true during execution of that > procedure, or can it? That value is set to true in WalSndWakeup(). If WalSndWakeup() is called after initialization of that value in XLogSend(), *caughtup is set to false. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
В списке pgsql-hackers по дате отправления: