Force archive_status of .done for xlogs created by dearchival/replication.
Simon Riggs <simon@2ndQuadrant.com>
Force archive_status of .done for xlogs created by dearchival/replication. This prevents spurious attempts to archive xlog files after promotion of standby, a bug introduced by cascading replication patch in 9.2. Fujii Masao, simplified and extended to cover streaming by Simon Riggs
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +59 −0 |
| src/backend/replication/walreceiver.c | modified | +14 −2 |
| src/include/access/xlog_internal.h | modified | +5 −0 |