Re: [HACKERS] pg_basebackup throttling doesn't throttle as promised - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] pg_basebackup throttling doesn't throttle as promised
Date
Msg-id 20170904132711.koqlslbl4wjrfio5@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] pg_basebackup throttling doesn't throttle as promised  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: [HACKERS] pg_basebackup throttling doesn't throttle as promised
List pgsql-hackers
Jeff Janes wrote:

> I'm attaching a patch for each option.  Each one independently solves the
> problem.  But I think we should do both.  There is no point in issuing
> unnecessary kill system calls, and there may also be more spurious wake-ups
> than just these ones.

I modified patch 1 a bit -- result attached.  I would like to back-patch
this all the way back to 9.4, but there are a few conflicts due to
c29aff959dc so I think I'm going to do pg10 only unless I get some votes
that it should go further back.  I think it should be fairly trivial to
resolve.

The other patch should be applied to master only IMO.

-- 
Álvaro Herrera                https://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

Attachment

pgsql-hackers by date:

Previous
From: Adrien Nayrat
Date:
Subject: Re: [HACKERS] ALTER INDEX .. SET STATISTICS ... behaviour
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] Proposal: pg_rewind to skip config files