Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2794F64FEAF for ; Wed, 17 Dec 2008 22:51:32 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 13879-10 for ; Wed, 17 Dec 2008 22:51:26 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail136177.authsmtp.net (outmail136177.authsmtp.net [62.13.136.177]) by mail.postgresql.org (Postfix) with ESMTP id D22CE64FD3B for ; Wed, 17 Dec 2008 22:51:24 -0400 (AST) Received: from mail-c189.authsmtp.com (mail-c189.authsmtp.com [62.13.128.71]) by punt6.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id mBI2om5G058861; Thu, 18 Dec 2008 02:50:48 GMT Received: from [192.168.0.3] (85-211-226-82.dyn.gotadsl.co.uk [85.211.226.82]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id mBI2olL9093753; Thu, 18 Dec 2008 02:50:47 GMT Subject: Re: [PATCHES] Infrastructure changes for recovery (v8) From: Simon Riggs To: Alvaro Herrera Cc: Pavan Deolasee , Heikki Linnakangas , pgsql-hackers In-Reply-To: <20081218023212.GO4453@alvh.no-ip.org> References: <48EC9CC5.6060803@enterprisedb.com> <1223468660.4747.294.camel@ebony.2ndQuadrant> <1223472898.4747.310.camel@ebony.2ndQuadrant> <492176E2.1000006@enterprisedb.com> <1226935876.3790.10.camel@ebony.2ndQuadrant> <2e78013d0811192136o5b722ddyb1562658508dcc5a@mail.gmail.com> <1227174122.7015.5.camel@ebony.2ndQuadrant> <2e78013d0811200149t29173598m5eb70f62c1dc02d4@mail.gmail.com> <1227175805.7015.22.camel@ebony.2ndQuadrant> <1229563881.4793.264.camel@ebony.2ndQuadrant> <20081218023212.GO4453@alvh.no-ip.org> Content-Type: text/plain; charset=utf-8 Date: Thu, 18 Dec 2008 02:50:49 +0000 Message-Id: <1229568649.4793.296.camel@ebony.2ndQuadrant> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 8bit X-Server-Quench: ac4d2a7f-ccae-11dd-bc7a-001f29070be2 X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksachtFaQ1baVxS HGQLW1xEUF97XGN/ bw0fZQBDYEtPQQdo VlZBQE1QEQdtHhxP W2xnUEYuCwxGcX13 YEUsXHRcXgorJkIp QB9TQ3BVNjY1dWEe BBRFJVBTIR5Kfh4T aFl/U3NfNGdJBC9q VzwTFhsSEA9kHWxm eigxBnI/enNDPzgy XRkZAS8yFlEYXSh7 JBwvLFERBw4fNV96 K1YqXkwVKQ5aShMO Xil0 X-Authentic-SMTP: 61633235383639.kestrel.dmpriest.net.uk:1378/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/1405 X-Sequence-Number: 130034 On Wed, 2008-12-17 at 23:32 -0300, Alvaro Herrera wrote: > Simon Riggs escribió: > > > Please let me know how I can make the reviewer's job easier. Diagrams, > > writeups, whatever. Thanks, > > A link perhaps? There is much confusion on this point for which I'm very sorry. I originally wrote "infra" patch to allow it to be committed separately in the Sept commitfest, to reduce size of the forthcoming hotstandby patch. That didn't happen (no moans there) so the eventual "hotstandby" patch includes all of what was the infra patch, plus the new code. So currently there is no separate "infra" patch. The two line items on the CommitFest page are really just one large project. I would be in favour of removing the "infra" lines from the CommitFest page. Of course we can consider "hotstandby" patch in parts, but deconstructing it into wholly separate patches doesn't make much sense now and would raise many questions about why certain code exists with no apparent function or why certain design choices made. If you were to review a part of this, I might ask that you look at the changes to XidInMVCCSnapshot(), GetSnapshotData() and AssignTransactionId(), which relate specifically to subtransaction handling. Comments explain the new approach. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support