pgsql: Fix an issue in recent walwriter hibernation patch. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix an issue in recent walwriter hibernation patch.
Date
Msg-id E1SRxEq-0004Eh-5i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix an issue in recent walwriter hibernation patch.

Users of asynchronous-commit mode expect there to be a guaranteed maximum
delay before an async commit's WAL records get flushed to disk.  The
original version of the walwriter hibernation patch broke that.  Add an
extra shared-memory flag to allow async commits to kick the walwriter out
of hibernation mode, without adding any noticeable overhead in cases where
no action is needed.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/acd4c7d58baf09fc278a0f8c1170fba2d56ccdd5

Modified Files
--------------
src/backend/access/transam/xlog.c  |   48 ++++++++++++++++++++++++++++++-----
src/backend/postmaster/walwriter.c |   18 +++++++++++++
src/include/access/xlog.h          |    1 +
3 files changed, 60 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Document how to find non-ASCII characters in the release notes.
Next
From: Bruce Momjian
Date:
Subject: pgsql: Add another URL for HTML entity codes.