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

Re: Hot Standby: Code Snapshot (v2b)

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hot Standby: Code Snapshot (v2b)
Date: 2008-10-30 02:20:08
Message-ID: 1225333208.3971.348.camel@ebony.2ndQuadrant (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, 2008-10-27 at 19:19 +0000, Simon Riggs wrote:
> Single integrated patch with all features.

v3a dev snapshot, applies to head with minor offsets
passes make check and recovery of continuous make installcheck

> New Features
* recovery.conf parameter: max_standby_delay 
* startup process waits for, then cancels backends with old snapshots

> Internal changes since last version:
> * various other bug fixes and minor tweaks
> Known Issues
> * one case in "make installcheck" recovery fails an assert check.
> Mulling over a clean way to handle it, since its rare, but fiddly. Tried
> a couple of ways of solving it, neither very satisfactory. I'll sleep on
> it. Not a showstopper, but I don't want to holdoff presenting a snapshot
> because of it.

Fixed, plus 2 other prior bugs.

> Things still in progress
> * row cleaners delay or kill users


> * locking, relcache invalidation (early stages of coding)
> * correct locking around flat file refresh (just dummied out for now)
> * btree vacuuming changes (prototyped, but deferred for now)
> * prepared transactions (regression test disabled currently)

 Simon Riggs 
 PostgreSQL Training, Services and Support

Attachment: hot_standby.v3b.patch.bz2
Description: application/x-bzip (55.8 KB)

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-10-30 02:23:36
Subject: Re: pre-MED
Previous:From: Simon RiggsDate: 2008-10-30 02:11:44
Subject: Re: BufferAccessStrategy for bulk insert

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