Closed lkgGitHub closed 1 year ago
Hi @lkgGitHub ; this constraint violation means that you are registering a node with the same name as another node in the same formation. To me it looks like you're restarting an existing node with the same config as when it was created, or the same command line; but without the internal pg_autoctl state files around.
See our usage of XDG_CONFIG_HOME and XDG_DATA_HOME in the docs (e.g. https://pg-auto-failover.readthedocs.io/en/main/ref/pg_autoctl_create_postgres.html#environment) and make sure that you have those locations on the same storage as PGDATA, so that pg_autoctl finds its internal file when a pod restart.
when citus pod restart in kubernetes, It Startup failed.