3 ms·
Great question: so you can watch the stats command. The command returns a JSON every second which has a switchover_completed_at field. It is updated the as soon
by shayonj 3y ago
Great question: so you can watch the stats command. The command returns a JSON every second which has a switchover_completed_at field. It is updated the as soon as the switchover is complete.
UPDATE: Some more reading material here: https://github.com/shayonj/pg_easy_replicate#switchover-strategies-with-minimal-downtime https://github.com/shayonj/pg_easy_replicate#switchover-stra...
- jrochkind1 3y agoVery nice, thanks.