[HACKERS] invalid number of sync standbys in synchronous_standby_names - Mailing list pgsql-hackers

From Fujii Masao
Subject [HACKERS] invalid number of sync standbys in synchronous_standby_names
Date
Msg-id CAHGQGwHWB3izc6cXuFLh5kOcAbFXaRhhgwd-X5PeN9TEjxqXwg@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] invalid number of sync standbys in synchronous_standby_names  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

When the number of sync standbys is set to 0 in s_s_names, the assersion
failure happens as follows. This means that current multiple syncrep code
assumes that the num of sync standbys must be greater than 0. But we forgot
to forbid users from setting that num to 0. This is an oversight in multiple
syncrep patch (so my fault...). Attached patch forbits that.

TRAP: FailedAssertion("!(((bool) 0))", File: "syncrep.c", Line: 711)

Regards,

-- 
Fujii Masao

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Stas Kelvich
Date:
Subject: Re: [HACKERS] Speedup twophase transactions
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] pg_basebackups and slots