Обсуждение: pgsql: If a corrupt WAL record is received by streaming replication,

Поиск
Список
Период
Сортировка

pgsql: If a corrupt WAL record is received by streaming replication,

От
heikki@postgresql.org (Heikki Linnakangas)
Дата:
Log Message:
-----------
If a corrupt WAL record is received by streaming replication, disconnect
and retry. If the record is genuinely corrupt in the master database,
there's little hope of recovering, but it's better than simply retrying
to apply the corrupt WAL record in a tight loop without even trying to
retransmit it, which is what we used to do.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.423 -> r1.424)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.423&r2=1.424)