pgsync icon indicating copy to clipboard operation
pgsync copied to clipboard

Best practice on blue/green deploy and slot clean up

Open balheru opened this issue 1 year ago • 0 comments

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!

balheru avatar Jul 10 '24 19:07 balheru