pgsql: In walsender, don't sleep if there's outstanding WAL waiting to - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: In walsender, don't sleep if there's outstanding WAL waiting to
Date
Msg-id 20100526222133.5D8A47541D2@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
In walsender, don't sleep if there's outstanding WAL waiting to be sent,
otherwise we effectively rate-limit the streaming as pointed out by
Simon Riggs. Also, send the WAL in smaller chunks, to respond to signals
more promptly.

Modified Files:
--------------
    pgsql/src/backend/replication:
        walsender.c (r1.20 -> r1.21)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walsender.c?r1=1.20&r2=1.21)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Rearrange libpq's SSL initialization to simplify it and make it
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Thinko in previous commit: ensure that MAX_SEND_SIZE is always