mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-30 05:39:12 +02:00
Add a note regarding verifying checkpoint against replay position.
This commit is contained in:
parent
8ebc6d6c34
commit
fc974626cd
@ -999,6 +999,10 @@ sub replayWait
|
|||||||
$self->executeSql('checkpoint', undef, false);
|
$self->executeSql('checkpoint', undef, false);
|
||||||
|
|
||||||
# On PostgreSQL >= 9.6 the checkpoint location can be verified
|
# On PostgreSQL >= 9.6 the checkpoint location can be verified
|
||||||
|
#
|
||||||
|
# ??? We have seen one instance where this check failed. Is there any chance that the replayed position could be ahead of the
|
||||||
|
# checkpoint recorded in pg_control? It seems possible, so in the C version of this add a loop to keep checking pg_control
|
||||||
|
# until the checkpoint has been recorded.
|
||||||
my $strCheckpointLSN = undef;
|
my $strCheckpointLSN = undef;
|
||||||
|
|
||||||
if ($self->{strDbVersion} >= PG_VERSION_96)
|
if ($self->{strDbVersion} >= PG_VERSION_96)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user