From users-return-11953-apmail-subversion-users-archive=subversion.apache.org@subversion.apache.org Wed Oct 26 17:22:40 2011 Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAA2177D2 for ; Wed, 26 Oct 2011 17:22:40 +0000 (UTC) Received: (qmail 33394 invoked by uid 500); 26 Oct 2011 17:22:40 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 33374 invoked by uid 500); 26 Oct 2011 17:22:40 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 33367 invoked by uid 99); 26 Oct 2011 17:22:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 17:22:39 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 17:22:31 +0000 X-Envelope-From: stsp@stsp.name Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p9QHM8Se028276 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 26 Oct 2011 19:22:09 +0200 Received: from ted.stsp.name (stsp@localhost [127.0.0.1]) by ted.stsp.name (8.14.5/8.14.3) with ESMTP id p9QHM8wL001390; Wed, 26 Oct 2011 19:22:08 +0200 (CEST) Received: (from stsp@localhost) by ted.stsp.name (8.14.5/8.14.3/Submit) id p9QHM8oN009940; Wed, 26 Oct 2011 19:22:08 +0200 (CEST) Date: Wed, 26 Oct 2011 19:22:08 +0200 From: Stefan Sperling To: Andrew Sasak Cc: users@subversion.apache.org Subject: Re: svnsync error - serialized hash missing terminator Message-ID: <20111026172208.GG30869@ted.stsp.name> Mail-Followup-To: Andrew Sasak , users@subversion.apache.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 On Wed, Oct 26, 2011 at 01:13:38PM -0400, Andrew Sasak wrote: > I have a mirror that is synced using svnsync from the master server. > The master server was updated to 1.7.1 yesterday, the mirror was updated to > 1.7 last week. > I had a few good syncs occur yesterday after the master was updated. > The mirror locked up last night and was rebooted this morning. > Since then, I get the following error when svnsync is attempted: > > svnsync: E175002: DAV request failed; it's possible that the repository's > pre-revprop-change hook either failed or is non-existent > svnsync: E175008: At least one property change failed; repository is > unchanged > svnsync: E175002: Error setting property 'sync-lock': > Serialized hash missing terminator Is there an existing svn:sync-lock property on revision zero of the slave's repository? If so, what does it look like? svn propget --revprop -r0 svn:sync-lock URL_TO_REPOS It sounds asif the problem is with parsing the existing property, which must be done since the lock needs to be checked. How did the lock-up you mentioned happen? Is it possible that the property got corrupted during the lock-up? For instance, because the file containing the serialized lock data was not fully written to disk by the operating system? In any case, if the property still exists and no sync job is running you need to remove it because it will prevent new sync jobs. Any svnsync process will believe that another svnsync process is currently writing to the repository.