pgsync
pgsync copied to clipboard
Best practice on blue/green deploy and slot clean up
PGSync version: Version: 3.1.0 Postgres version: 16
Elasticsearch/OpenSearch version: OpenSearch 2.13
Problem Description:
I am doing blue green deployments, with devs updating schemas on pr merges, I am currently having issues figuring out the best practice to clean up replication slots.
if i do bootstrap -t -c schema.json on a new build the previous schema does not exist so it doesn't do anything? Maybe i mis-understood how the -t is supposed to work. Any recommendations?
Thank you for your considerations!