Postmaster has commanded server process to rollback the current statement and exit in repica server created by PgLogical

Mani Mahesh Sivakumar 56 Reputation points
2022-10-21T13:32:37.457+00:00

Team,

I am Facing below mentioned error in Postgresql flexible server when two subscriptions are created.

WARNING: 57P02: terminating connection because of crash of another server process","detail": "The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","hint": "In a moment you should be able to reconnect to the database and repeat your command.

Architecture overview looks like this

primary1--PGLogical-->Secondary1--->Pglogical( specirfic tables)--->Secondary2

Primary2---PgLogical--->Secondary2

Secondary 1 and Secondary2 are present in same flexible server cluster. After creating replication from secondary1__>secondary2 getting above mentioned error frequently and Database system is going down. After disabling replication between secondary1 and secondary2. Database behaving normally. Kindly help me to identify the issue and rectify the same. Unable to find anything logs except highlighted data above.

Azure Database for PostgreSQL
{count} votes