Skip site navigation (1) Skip section navigation (2)

Re: Streaming replication and wal skipping

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Streaming replication and wal skipping
Date: 2010-01-18 04:57:02
Message-ID: 3f0b79eb1001172057w60dbfd01kcd8d070516e49673@mail.gmail.com (view raw)
Hi,

Since I had tweaked wal-skipping logic for SR before,
there were two additional changes about that;
http://archives.postgresql.org/pgsql-committers/2009-11/msg00018.php
http://archives.postgresql.org/pgsql-committers/2009-12/msg00167.php

The attached patch deals with those changes.

Also I found that XLogStandbyInfoActive() should use
XLogIsNeeded() instead of XLogArchivingMode. The patch
also does that.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
Attachment: fix_wal_skipping_bug_0118.patch
Description: text/x-patch (2.6 KB)
From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Streaming replication and wal skipping
Date: 2010-01-28 07:31:54
Message-ID: 4B613D6A.6040605@enterprisedb.com (view raw)
Fujii Masao wrote:
> Since I had tweaked wal-skipping logic for SR before,
> there were two additional changes about that;
> http://archives.postgresql.org/pgsql-committers/2009-11/msg00018.php
> http://archives.postgresql.org/pgsql-committers/2009-12/msg00167.php
> 
> The attached patch deals with those changes.
> 
> Also I found that XLogStandbyInfoActive() should use
> XLogIsNeeded() instead of XLogArchivingMode. The patch
> also does that.

Thanks, committed.

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com


Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group