Files
patroni/tests
Alexander KukushkinandGitHub 2afcaa9d83 Don't write to PGDATA if major version is not known (#2583)
It could happen that Patroni is started up before PGDATA was mounted. In this case Patroni can't determine major Postgres version from PG_VERSION file. Later, when PGDATA is mounted, Patroni was trying to create the recovery.conf even if the actual Postgres major version is newver than 12.

To mitigate the problem we double check that the `Postgresql._major_version` is set before writing recovery configuration or starting postgres up.

Close https://github.com/zalando/patroni/issues/2434
2023-03-06 16:33:32 +01:00
..
2023-01-24 16:14:58 +01:00
2023-01-27 08:52:59 +01:00
2023-01-24 16:14:58 +01:00
2023-01-13 13:35:05 +01:00
2023-01-24 16:14:58 +01:00
2023-01-24 16:14:58 +01:00