Re: Reliable WAL file shipping over unreliable network

From: Rui DeSousa <rui(dot)desousa(at)icloud(dot)com>
To: scott ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: Nagy László Zsolt <gandalf(at)shopzeus(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Reliable WAL file shipping over unreliable network
Date: 2018-02-28 18:25:45
Message-ID: 45F65094-CF9C-4BC4-AF56-2FE299F79EFF@icloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Feb 28, 2018, at 1:12 PM, scott ribe <scott_ribe(at)elevated-dev(dot)com> wrote:
>
> There seem to be 2 fundamental misunderstandings here:
>
> 1) That other processes cannot see data written to a file until it is flushed to disk; this is not true; while file data is still in file cache, it is visible to other processes.
>
> 2) That rsync writes the file on the destination directly; it does not; it writes into a temporary file and renames that file when it is complete.
>

While you’re correct; I never made either of those assumptions

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dianne Skoll 2018-02-28 18:26:20 Re: Reliable WAL file shipping over unreliable network
Previous Message Evan Rempel 2018-02-28 18:17:14 Re: Separate log for a specfic database