When postgresql terminates abruptly due to platform issues checkpoint gets corrupted. "postgresql error PANIC: could not locate a valid checkpoint record" · Issue #10 · Krocodial/classy · GitHub
Process server going to error state and PostgreSQL log has error invalid primary checkpoint record in CAI
![How to setup streaming replication in PostgreSQL step by step on Ubuntu | PostgreSQL Tutorials and Solutions How to setup streaming replication in PostgreSQL step by step on Ubuntu | PostgreSQL Tutorials and Solutions](https://i.ytimg.com/vi/LhPAg583pKc/maxresdefault.jpg)