Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 37988133655C for ; Mon, 3 Jan 2011 07:11:00 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 66564-08 for ; Mon, 3 Jan 2011 11:10:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail148161.authsmtp.com (outmail148161.authsmtp.com [62.13.148.161]) by mail.postgresql.org (Postfix) with ESMTP id B6EDB13364DE for ; Mon, 3 Jan 2011 07:10:51 -0400 (AST) Received: from mail-c194.authsmtp.com (mail-c194.authsmtp.com [62.13.128.121]) by punt6.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id p03BAlHF047789; Mon, 3 Jan 2011 11:10:47 GMT Received: from [192.168.0.2] ([81.5.146.37]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id p03BAjWl082270; Mon, 3 Jan 2011 11:10:46 GMT Subject: Re: Sync Rep Design From: Simon Riggs To: MARK CALLAGHAN Cc: Robert Haas , pgsql-hackers@postgresql.org In-Reply-To: <1294001603.2090.3146.camel@ebony> References: <1293729972.1892.23804.camel@ebony> <4D1CC47E.7050207@kaltenbrunner.cc> <1293735853.1892.24886.camel@ebony> <4D1CEEAF.8050209@kaltenbrunner.cc> <1293760654.1892.29635.camel@ebony> <1294001603.2090.3146.camel@ebony> Content-Type: text/plain; charset="UTF-8" Date: Mon, 03 Jan 2011 11:10:40 +0000 Message-ID: <1294053040.19612.145.camel@ebony> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Server-Quench: 1d007a6d-172a-11e0-80b9-0022640b883e X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOTQEd DAteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFaAZbZ1hf HGQLWlVEUVx7WGN/ bwwfZQRDZ1RPWwN0 U09WR1pVCwUmQRwC dG9ENUVyfwdEf34+ bU5mWT5aCER6chd7 FlNVEm9XeGZhPWAC WEAKfh5UcAFIeBtF OFh3VyZDAzANdhEY NiQQEgoKCH1kOSJe CjsANRo+TF0KEThU X-Authentic-SMTP: 61633235383639.1015:706 X-AuthFastPath: 0 (Was 255) X-AuthVirus-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=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201101/115 X-Sequence-Number: 177952 On Sun, 2011-01-02 at 20:53 +0000, Simon Riggs wrote: > On Sun, 2011-01-02 at 12:13 -0800, MARK CALLAGHAN wrote: > > On Thu, Dec 30, 2010 at 9:02 PM, Robert Haas wrote: > > > > > > > > > I see now that you've tried to design this feature in a way that is > > > similar to MySQL's offering, which does have some value. But it > > > appears to me that the documentation you've written here is > > > substantially similar to the MySQL 5.5 reference documentation. That > > > could get us into a world of legal trouble - that documentation is not > > > even open source, let alone BSD. > > > > > > http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html > > Sorry, only just read that bit. Are they that similar? My docs are about > 3 times longer and cover all sorts of things. I didn't intentionally > copy anything, but that doesn't really matter, what matters is that if > you think they are similar, legal people might. I've only read the URL > above, not the other links from it. > > Robert, Can you identify which paragraphs need to be re-written? I won't > argue, I will just rewrite them or delete them and start afresh. Thanks > for being eagle-eyed. Been through this to check. The first paragraph was pretty similar, so I've reworded that a little. Trying to make a readable paragraph that introduces the need for sync rep, based upon the deficiencies of async rep is going to be very similar, whatever we do. I can't see any other way to introduce a feature other than to explain the potential problem and then explain how the new feature resolves that. Parameters are set on both primary and standby. That design existed long before I looked at the MySQL manual, and yes there is similarity, which led to similar descriptions of how that works. Bear in mind that the two designs are very different. I can't see any other similarities. If anybody else can, please shout. -- Simon Riggs http://www.2ndQuadrant.com/books/ PostgreSQL Development, 24x7 Support, Training and Services