pgsql: Fix bug in wasender's xlogid boundary handling, reported by Erik

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in wasender's xlogid boundary handling, reported by Erik
Date: 2010-01-27 16:41:09
Message-ID: 20100127164109.716867541B9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix bug in wasender's xlogid boundary handling, reported by Erik Rijkers.
LogwrtRqst.Write can be set to non-existent FF log segment, we mustn't
try to send that in XLogSend().

Also fix similar bug in ReadRecord(), which I just introduced in the
ReadRecord() refactoring patch.

Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.362 -> r1.363)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.362&r2=1.363)
pgsql/src/backend/replication:
walsender.c (r1.3 -> r1.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walsender.c?r1=1.3&r2=1.4)

Browse pgsql-committers by date

  From Date Subject
Next Message David Fetter 2010-01-27 17:04:06 Re: [COMMITTERS] pgsql: Remove tabs in SGML.
Previous Message Heikki Linnakangas 2010-01-27 15:27:51 pgsql: Make standby server continuously retry restoring the next WAL