Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On 5/1/17 13:43, Peter Eisentraut wrote: > On 4/30/17 20:52, Noah Misch wrote: >> IMMEDIATE ATTENTION REQUIRED. This PostgreSQL 10 open item is long past due >> for your status update. Please thoroughly reacquaint yourself with the >> policy >> on open item ownership[1] and then reply immediately. If I do not hear from >> you by 2017-05-02 01:00 UTC, I will transfer this item to release management >> team ownership without further notice. > > I'm reviewing this now and will report tomorrow. We have consensus around a patch, but we are still discussing and discovering some new details. There is also the question of whether to backpatch and how far. (Could be all the way to 9.2.) I propose, if there are no new insights by Friday, I will commit the current patch to master, which will fix the reported problem for PG10, and punt the remaining side issues to "Older Bugs". -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On 4/30/17 20:52, Noah Misch wrote: > IMMEDIATE ATTENTION REQUIRED. This PostgreSQL 10 open item is long past due > for your status update. Please thoroughly reacquaint yourself with the policy > on open item ownership[1] and then reply immediately. If I do not hear from > you by 2017-05-02 01:00 UTC, I will transfer this item to release management > team ownership without further notice. I'm reviewing this now and will report tomorrow. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On Sat, Apr 29, 2017 at 11:18:45AM -0700, Noah Misch wrote: > On Tue, Apr 25, 2017 at 03:26:06PM -0400, Peter Eisentraut wrote: > > On 4/20/17 11:30, Peter Eisentraut wrote: > > > On 4/19/17 23:04, Noah Misch wrote: > > >> This PostgreSQL 10 open item is past due for your status update. Kindly > > >> send > > >> a status update within 24 hours, and include a date for your subsequent > > >> status > > >> update. Refer to the policy on open item ownership: > > >> https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com > > > > > > We have a possible solution but need to work out a patch. Let's say > > > next check-in on Monday. > > > > Update: We have a patch that looks promising, but we haven't made much > > progress in reviewing the details. I'll work on it this week, and > > perhaps Michael also has time to work on it this week. We could use > > more eyes. Next check-in Friday. > > This PostgreSQL 10 open item is past due for your status update. Kindly send > a status update within 24 hours, and include a date for your subsequent status > update. Refer to the policy on open item ownership: > https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com IMMEDIATE ATTENTION REQUIRED. This PostgreSQL 10 open item is long past due for your status update. Please thoroughly reacquaint yourself with the policy on open item ownership[1] and then reply immediately. If I do not hear from you by 2017-05-02 01:00 UTC, I will transfer this item to release management team ownership without further notice. [1] https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On Tue, Apr 25, 2017 at 03:26:06PM -0400, Peter Eisentraut wrote: > On 4/20/17 11:30, Peter Eisentraut wrote: > > On 4/19/17 23:04, Noah Misch wrote: > >> This PostgreSQL 10 open item is past due for your status update. Kindly > >> send > >> a status update within 24 hours, and include a date for your subsequent > >> status > >> update. Refer to the policy on open item ownership: > >> https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com > > > > We have a possible solution but need to work out a patch. Let's say > > next check-in on Monday. > > Update: We have a patch that looks promising, but we haven't made much > progress in reviewing the details. I'll work on it this week, and > perhaps Michael also has time to work on it this week. We could use > more eyes. Next check-in Friday. This PostgreSQL 10 open item is past due for your status update. Kindly send a status update within 24 hours, and include a date for your subsequent status update. Refer to the policy on open item ownership: https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On Wed, Apr 26, 2017 at 4:26 AM, Peter Eisentrautwrote: > On 4/20/17 11:30, Peter Eisentraut wrote: >> We have a possible solution but need to work out a patch. Let's say >> next check-in on Monday. > > Update: We have a patch that looks promising, but we haven't made much > progress in reviewing the details. I'll work on it this week, and > perhaps Michael also has time to work on it this week. Next week is Golden Week in Japan so I'll have limited access to an electronic devices. This week should be fine. > We could use more eyes. Next check-in Friday. Reviews always welcome. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On 4/20/17 11:30, Peter Eisentraut wrote: > On 4/19/17 23:04, Noah Misch wrote: >> This PostgreSQL 10 open item is past due for your status update. Kindly send >> a status update within 24 hours, and include a date for your subsequent >> status >> update. Refer to the policy on open item ownership: >> https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com > > We have a possible solution but need to work out a patch. Let's say > next check-in on Monday. Update: We have a patch that looks promising, but we haven't made much progress in reviewing the details. I'll work on it this week, and perhaps Michael also has time to work on it this week. We could use more eyes. Next check-in Friday. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On 4/19/17 23:04, Noah Misch wrote: > This PostgreSQL 10 open item is past due for your status update. Kindly send > a status update within 24 hours, and include a date for your subsequent status > update. Refer to the policy on open item ownership: > https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com We have a possible solution but need to work out a patch. Let's say next check-in on Monday. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Re: [HACKERS] Re: logical replication and PANIC during shutdown checkpoint in publisher
On 16/04/17 08:12, Noah Misch wrote: > On Wed, Apr 12, 2017 at 10:55:08PM +0900, Fujii Masao wrote: >> When I shut down the publisher while I repeated creating and dropping >> the subscription in the subscriber, the publisher emitted the following >> PANIC error during shutdown checkpoint. >> >> PANIC: concurrent transaction log activity while database system is >> shutting down >> >> The cause of this problem is that walsender for logical replication can >> generate WAL records even during shutdown checkpoint. >> >> Firstly walsender keeps running until shutdown checkpoint finishes >> so that all the WAL including shutdown checkpoint record can be >> replicated to the standby. This was safe because previously walsender >> could not generate WAL records. However this assumption became >> invalid because of logical replication. That is, currenty walsender for >> logical replication can generate WAL records, for example, by executing >> CREATE_REPLICATION_SLOT command. This is an oversight in >> logical replication patch, I think. >> >> To fix this issue, we should terminate walsender for logical replication >> before shutdown checkpoint starts. Of course walsender for physical >> replication still needs to keep running until shutdown checkpoint ends, >> though. > > [Action required within three days. This is a generic notification.] > > The above-described topic is currently a PostgreSQL 10 open item. Peter, > since you committed the patch believed to have created it, you own this open > item. If some other commit is more relevant or if this does not belong as a > v10 open item, please let us know. Otherwise, please observe the policy on > open item ownership[1] and send a status update within three calendar days of > this message. Include a date for your subsequent status update. Testers may > discover new open items at any time, and I want to plan to get them all fixed > well in advance of shipping v10. Consequently, I will appreciate your efforts > toward speedy resolution. Thanks. > Just FYI this is not new in 10, the issue exists since the 9.4 introduction of logical replication slots. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers