From: | "Menon, Deepak (Deepak)" <menond(at)avaya(dot)com> |
---|---|
To: | Abdul Sayeed <abdulsayeed24(at)gmail(dot)com>, "Sankar, Uma (Uma) **CTR**" <usankar(at)avaya(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | RE: [External]Re: Patroni & PostgreSQL issue |
Date: | 2022-07-21 04:05:30 |
Message-ID: | CO1PR15MB5020860A5EDA2FB407B384D1D8919@CO1PR15MB5020.namprd15.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Abdul
Wanted to know if this is a standard Patroni feature ?
Any reason why the files are not deleted from the replicas when the files were deleted from the primary server.
Deepak Menon| Avaya Managed Services-Delivery|+91 9899012875| menond(at)avaya(dot)com<mailto:menond(at)avaya(dot)com>
Leave Alert : 19th , 20 July 2022
From: Abdul Sayeed <abdulsayeed24(at)gmail(dot)com>
Sent: Thursday, July 21, 2022 12:49 AM
To: Sankar, Uma (Uma) **CTR** <usankar(at)avaya(dot)com>
Cc: pgsql-general(at)postgresql(dot)org; Menon, Deepak (Deepak) <menond(at)avaya(dot)com>
Subject: [External]Re: Patroni & PostgreSQL issue
[External Sender]
Hi Uma,
If i understand your scenario correct, after failover, Patroni created deleted files on old primary by replciating from New primary?
If that is correct, i would recommend to check lag between new primary and old primary(now slave). if it is zero then we are good to perform failover.
Regards,
Abdul Sayeed
On Wed, Jul 20, 2022 at 5:29 PM Sankar, Uma (Uma) <usankar(at)avaya(dot)com<mailto:usankar(at)avaya(dot)com>> wrote:
Hi All,
This is regarding the Postgres HA working with patroni in 3 node setup, we have an issue with the primary because a few database files were deleted manually so performed a switch over to move the services from primary to secondary with patroni, post the switchover was deleted file was re-created by itself in the old primary.
Now we are planning to switch back the services from secondary(Leader) to primary(replica) as the deleted files were re-created itself, can someone please suggest if this works normally when we switch back to promote primary as the leader and secondary as a replica.
Regards,
Uma Sankar
--
Thanks & Regards,
Abdul Sayeed
PostgreSQL DBA
Postgres Professional Certified
Skype: abdul.sayeed24
From | Date | Subject | |
---|---|---|---|
Next Message | Meera Nair | 2022-07-21 07:16:22 | Unable to archive logs in standby server |
Previous Message | Aleš Zelený | 2022-07-20 22:26:54 | Re: PostgreSQL 14.4 ERROR: out of memory issues |