Fujii Masao wrote:
> You dropped CheckForStandbyTrigger() called at the end of recovery.
> I think that this would be problem when an invalid record is found before
> we reaches a streaming recovery state. The standby would be out-of-control
> of the clusterware, and be brought up. Which might cause a split-brain
> syndrome. We should need something to prevent such unexpected
> activation?
I modified ReadRecord to PANIC if an invalid record is found during
streaming recovery.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com