Time-Delayed Standbys - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Time-Delayed Standbys
Date
Msg-id CAFcNs+oXq5ZPaKARRn3VZGzX+AnTZCaEjR6VmQT_tvoFiqgaSg@mail.gmail.com
Whole thread Raw
Responses Re: Time-Delayed Standbys  (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>)
Re: Time-Delayed Standbys  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Hi all,

The attached patch is a continuation of Robert's work [1].

I made some changes:
- use of Latches instead of pg_usleep, so we don't have to wakeup regularly.
- call HandleStartupProcInterrupts() before CheckForStandbyTrigger() because might change the trigger file's location
- compute recoveryUntilDelayTime in XLOG_XACT_COMMIT and XLOG_XACT_COMMIT_COMPACT checks
- don't care about clockdrift because it's an admin problem.

Regards,
Attachment

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: removing old ports and architectures
Next
From: Peter Eisentraut
Date:
Subject: Re: libpgport vs libpgcommon