On Fri, Dec 16, 2016 at 11:24 AM, Antonin Houska wrote:
> Antonin Houska wrote:
>
> > It seems to be my bug. I'll check tomorrow.
>
> I could reproduce the problem by adding sufficient sleep time to the
> loop.
>
> > Magnus Hagander
Antonin Houska wrote:
> It seems to be my bug. I'll check tomorrow.
I could reproduce the problem by adding sufficient sleep time to the
loop.
> Magnus Hagander wrote:
>> I wonder if the else if (sleep > 0) at the bottom of throttle() should just
>> be a
It seems to be my bug. I'll check tomorrow.
Magnus Hagander wrote:
> Running pg_basebackup with a throttling of say 10M runs it into the risk of
> the I/O on the server actually being slower than pg_basebackup (I have
> preproduced similar issues on fake-slow disks with
Running pg_basebackup with a throttling of say 10M runs it into the risk of
the I/O on the server actually being slower than pg_basebackup (I have
preproduced similar issues on fake-slow disks with lower rate limits).
What happens in this case in basebackup.c is that the value for "sleep"
comes