Hi, I want to scale down my volume size in Fly Postgres on my single instance (1 machine) app, I didn’t seem to find anything that works. Here’s what I tried:
I have created a backup for my volume, a .sql file from pg_dump
. So I basically just need to create a new volume with smaller GB and then run the psql.
- I tried deleting all of my machines and volumes to 0 and then creating it again with smaller volume, but the health check always fails.
- I tried creating a new volume with a desired size, scale count to 2, then delete the old primary machine with the bigger volume. And the health check fails because the machine is always a replica, the failover didn’t work.
Either way, whenever I tried scaling down my machines, it shows error, whether it’s a zombie lock on a zombie role or a no active leader found with on a replica role.
Please help me