Re: Online enabling of checksums
От | Magnus Hagander |
---|---|
Тема | Re: Online enabling of checksums |
Дата | |
Msg-id | CABUevEw9wx2xnoYU4QSNbDPy72zZDLwfkHAsw50kf=HO6tKx4g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Online enabling of checksums (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: Online enabling of checksums
Re: Online enabling of checksums |
Список | pgsql-hackers |
On Mon, Apr 9, 2018 at 7:22 PM, Magnus Hagander <magnus@hagander.net> wrote:
On Sat, Apr 7, 2018 at 6:22 PM, Andres Freund <andres@anarazel.de> wrote:Hi,
On 2018-04-07 08:57:03 +0200, Magnus Hagander wrote:
> Note however that I'm sans-laptop until Sunday, so I will revert it then or
> possibly Monday.
I'll deactive the isolationtester tests until then. They've been
intermittently broken for days now and prevent other tests from being
exercised.Thanks.I've pushed the revert now, and left the pg_verify_checksums in place for the time being.
PFA an updated version of the patch for the next CF. We believe this one takes care of all the things pointed out so far.
The concurrent create-database-from-one-that-had-no-checksums is handled by simply looping over the list of databases as long as new databases show up, and waiting for all open transactions to finish at the right moment to ensure there is no concurrently running one as we get the database list.
--
Since the worker is now a regular background worker started from postmaster, the cost-delay parameters had to be made GUCs instead of function arguments.
(And the more or less broken isolation tests are simply removed)
Вложения
В списке pgsql-hackers по дате отправления: