Re: Synchronous replication - Mailing list pgsql-hackers

From Yeb Havinga
Subject Re: Synchronous replication
Date
Msg-id 4C4EB753.1010706@gmail.com
Whole thread Raw
In response to Re: Synchronous replication  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Synchronous replication
List pgsql-hackers
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,

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?

regards,
Yeb Havinga



pgsql-hackers by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: Synchronous replication
Next
From: Fujii Masao
Date:
Subject: Re: Synchronous replication