Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E5569A16 for ; Sun, 5 Feb 2012 20:31:13 +0000 (UTC) Received: (qmail 90055 invoked by uid 500); 5 Feb 2012 20:31:13 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 90000 invoked by uid 500); 5 Feb 2012 20:31:12 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 89991 invoked by uid 99); 5 Feb 2012 20:31:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Feb 2012 20:31:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [78.47.87.163] (HELO mx0.elegosoft.com) (78.47.87.163) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Feb 2012 20:31:04 +0000 Received: from localhost (localhost [127.0.0.1]) by mx0.elegosoft.com (Postfix) with ESMTP id D21D7DE7EE; Sun, 5 Feb 2012 21:30:42 +0100 (CET) Received: from mx0.elegosoft.com ([127.0.0.1]) by localhost (mx0.elegosoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FzrIdtOewLBu; Sun, 5 Feb 2012 21:30:42 +0100 (CET) Received: from daniel3.local (bzq-79-180-206-85.red.bezeqint.net [79.180.206.85]) by mx0.elegosoft.com (Postfix) with ESMTPSA id 43132DE7EB; Sun, 5 Feb 2012 21:30:42 +0100 (CET) Date: Sun, 5 Feb 2012 22:30:31 +0200 From: Daniel Shahaf To: Blair Zajac Cc: dev@subversion.apache.org, dev@apr.apache.org, Stefan Fuhrmann Subject: Re: svn commit: r1240755 - /subversion/branches/1.7.x/STATUS Message-ID: <20120205203006.GA20513@daniel3.local> References: <20120205160351.DB91023888CD@eris.apache.org> <20120205160846.GA16261@daniel3.local> <4F2ED9FB.3070808@orcaware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F2ED9FB.3070808@orcaware.com> User-Agent: Mutt/1.5.20 (2009-06-14) Blair Zajac wrote on Sun, Feb 05, 2012 at 11:35:23 -0800: > On 02/05/2012 08:08 AM, Daniel Shahaf wrote: > >stefan2@apache.org wrote on Sun, Feb 05, 2012 at 16:03:51 -0000: > >>Author: stefan2 > >>Date: Sun Feb 5 16:03:51 2012 > >>New Revision: 1240755 > >> > >>URL: http://svn.apache.org/viewvc?rev=1240755&view=rev > >>Log: > >>* STATUS: Add r1240752 and vote for it. > >> > >>Modified: > >> subversion/branches/1.7.x/STATUS > >> > >>Modified: subversion/branches/1.7.x/STATUS > >>URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x/STATUS?rev=1240755&r1=1240754&r2=1240755&view=diff > >>============================================================================== > >>--- subversion/branches/1.7.x/STATUS (original) > >>+++ subversion/branches/1.7.x/STATUS Sun Feb 5 16:03:51 2012 > >>@@ -84,6 +84,18 @@ Candidate changes: > >> Votes: > >> +1: rhuijben, philip > >> > >>+ * r1240752 > >>+ Workround for a faulty APR truncate() implementation. When rep sharing > > > >A bit more info please? What APR platforms/versions are affected? > > It looks like this was fixed in APR in December 10, 2010 for unix platforms: > > http://svn.apache.org/viewvc?view=revision&revision=r1044440 > > But it's not in any released version of APR, not even 1.4.5: > > http://svn.apache.org/repos/asf/apr/apr/tags/1.4.5/file_io/unix/seek.c > Thanks for the pointers. APR 1.4.x@HEAD doesn't have the fix either: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x/file_io/unix/seek.c CC'ing dev@apr to request backporting of r1044440. In our use-case the bug in truncation causes filesystem corruption, i.e., is rather severe. > Will an 'svnadmin verify' or 'svnadmin dump' find this corruption? > If one has it, will the standard fsfs repair tool(s) fix it? Any attempt to read the revision (even with 'svn') should fail pretty quickly. (Reading a revision file starts by reading the root noderev's offset and the changed-paths offset from the last line; that last line is likely to either be garbage or point at garbage offsets within the file.) > > Blair