You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detection of zombi postmaster is added (NodeStatus.Zombie) (#394)
* Detection of zombi postmaster is added (NodeStatus.Zombie)
When we kill vanila-postmaster (10-18) on remote machine it becomes 'zombie'.
pg_ctl says that node is started, by by fact it is not so.
Now PostgresNode::status() check a postmaster process status (via /proc/<pid>/stat) and if 'Z' (zombie) is detected, this method returns the a status: NodeStatus.Zombie.
Just for info: PG ENT does not have a such problem.
Co-authored-by: Mark G. <mark@google.com>
* impl__test_pg_ctl_wait_option is updated to process zombies.
We may catch a zombie during a node stop:
"FAILED tests/test_testgres_common.py::TestTestgresCommon::test_pg_ctl_wait_option[local] - Exception: Unexpected node status: 3."
It was on astralinux_1_7.
---------
Co-authored-by: Mark G. <mark@google.com>
0 commit comments