-
-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
few thoughts about upgrade role #779
Comments
Thanks for the feedback @glushakov If possible, attach more doers, error logs, how to reproduce, an example of the fix code that you mentioned. This will help to implement improvements in a shorter time. Also feel free to offer PR especially for small fixes. |
For some cases there is no code yet, because they are still in the design stage (for example, transferring parameters from postgresql.base.conf). Errors, for example for existing tablespace error:
The "schema precheck" process created a tablespace in the /var/lib/pgsql/ts/my_tblspc/PG_16_202307071 directory, but then did not delete it. As i said earlier, my decision is not to use tablespace in pg_dumpall command for schema checks (add --no-tablespaces) |
Hi.
Thanks for your work.
I based your role on a major upgrade of postgres and would like to share some of the cases I encountered.
Patroni precheck https://github.com/vitabaks/postgresql_cluster/blob/master/automation/pg_upgrade.yml#L19
doesn't consider schema to get access to Patroni API (http/https)
Tablespaces.
In case of scheme precheck fail https://github.com/vitabaks/postgresql_cluster/blob/master/automation/roles/upgrade/tasks/schema_compatibility.yml#L109
task with reinit not started https://github.com/vitabaks/postgresql_cluster/blob/master/automation/roles/upgrade/tasks/schema_compatibility.yml#L121
and new pgdata is not cleared and postgres is not stopped, which makes it impossible to restart.
Parameters
For example, some of our clusters was converted from standalone/replication to patroni and store part of the configuration in postgresql.base.conf
I did not understand the reason why you decided to do this, but deleting the file and deleting information from the DCS (patronictl remove) deprives us of the entire dynamic configuration, including important parameters for us - logical replication slots
not considering available of custom wal_segment_size (for example we are using 64MB)
The text was updated successfully, but these errors were encountered: