Re: Online enabling of checksums - Mailing list pgsql-hackers

From Sergei Kornilov
Subject Re: Online enabling of checksums
Date
Msg-id 704731533146602@sas1-a3690af4eda2.qloud-c.yandex.net
Whole thread Raw
In response to Re: Online enabling of checksums  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Online enabling of checksums
List pgsql-hackers
Hi

> They fail over to a secondary to do maintenance on a primary.
But this is not problem even in current patch state. We can restart replica before failover and it works. I tested this
behaviorduring my review.
 
We can:
- call pg_enable_data_checksums() on master
- wait change data_checksums to inprogress on replica
- restart replica - we can restart replica before promote, right?
- promote this replica
- checksum helper is launched now and working on this promoted cluster

regards, Sergei


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [Patch] Checksums for SLRU files
Next
From: Andres Freund
Date:
Subject: Re: Online enabling of checksums