Twice I have seen one of my proxy repositories become corrupted due to an apparent bug in the svnsync sync process. Has anyone else seen this type of behavior from Subversion?
I am able to move the corrupted proxy-repo and recreate it again without error - but I am a bit concerned about the stability of Subversion since this is the second time in two months that I have had to fix this issue. Here is a comparison the output of the svn log -v for the offending revisions (324,325) on both the corrupted and non-corrupted proxy repo. ***Notice a different author, earlier time for later rev, different action, different path, and different rev copied from*** [svnad...@subserver:/home/Svn/repos/OPT]> svn log -r 323:325 -v http://subserver/OPT/OPT.corrupted ------------------------------------------------------------------------ r323 | optauto | 2010-01-06 06:22:07 +0200 (Wed, 06 Jan 2010) | 1 line Changed paths: A /tags/ITR_5.4.0.122/OptBackEnd (from /trunk/OptBackEnd:322) Iteration 5.4.0.122 label. ------------------------------------------------------------------------ r324 | svnservice | 2010-01-06 05:24:01 +0200 (Wed, 06 Jan 2010) | 1 line Changed paths: R /tags/ITR_5.4.0.122/OptBackEnd (from /trunk/OptBackEnd:322) Iteration 5.4.0.122 label. ------------------------------------------------------------------------ r325 | svnservice | 2010-01-06 05:24:08 +0200 (Wed, 06 Jan 2010) | 1 line Changed paths: A /tags/ITR_5.4.0.122/OptFrontEnd (from /trunk/OptFrontEnd:323) Iteration 5.4.0.122 label. ------------------------------------------------------------------------ [svnad...@subserver:/home/Svn/repos/OPT]> svn log -r 323:325 -v http://subserver/OPT/OPT ------------------------------------------------------------------------ r323 | optauto | 2010-01-06 06:22:07 +0200 (Wed, 06 Jan 2010) | 1 line Changed paths: A /tags/ITR_5.4.0.122/OptBackEnd (from /trunk/OptBackEnd:322) Iteration 5.4.0.122 label. ------------------------------------------------------------------------ r324 | optauto | 2010-01-06 06:22:08 +0200 (Wed, 06 Jan 2010) | 1 line Changed paths: A /tags/ITR_5.4.0.122/OptFrontEnd (from /trunk/OptFrontEnd:323) Iteration 5.4.0.122 label. ------------------------------------------------------------------------ r325 | optauto | 2010-01-06 06:22:09 +0200 (Wed, 06 Jan 2010) | 1 line Changed paths: A /tags/ITR_5.4.0.122/OPT (from /trunk/OPT:324) Iteration 5.4.0.122 label. ------------------------------------------------------------------------ Also, here is a comparison the output of the svn log -v for more offending revisions (49,50) on both the corrupted and non-corrupted proxy repo. ***Notice again, the different authors, earlier time for later rev, different actions, different path, and different rev copied from*** [svnad...@subserver:/home/Svn/repos/OPT]> svn log -r 48:50 -v http://subserver/OPT/OPT.corrupted ------------------------------------------------------------------------ r48 | optauto | 2009-11-09 19:19:19 +0200 (Mon, 09 Nov 2009) | 1 line Changed paths: A /tags/ITR_5.4.0.118/OptBackEnd (from /trunk/OptBackEnd:47) Iteration 5.4.0.118 label. ------------------------------------------------------------------------ R49 | svnservice | 2009-11-09 18:19:03 +0200 (Mon, 09 Nov 2009) | 1 line Changed paths: R /tags/ITR_5.4.0.118/OptBackEnd (from /trunk/OptBackEnd:47) Iteration 5.4.0.118 label. ------------------------------------------------------------------------ R50 | svnservice | 2009-11-09 18:19:12 +0200 (Mon, 09 Nov 2009) | 1 line Changed paths: A /tags/ITR_5.4.0.118/OptFrontEnd (from /trunk/OptFrontEnd:48) Iteration 5.4.0.118 label. ------------------------------------------------------------------------ [svnad...@subserver:/home/Svn/repos/OPT]> svn log -r 48:50 -v http://subserver/OPT/OPT ------------------------------------------------------------------------ r48 | optauto | 2009-11-09 19:19:19 +0200 (Mon, 09 Nov 2009) | 1 line Changed paths: A /tags/ITR_5.4.0.118/OptBackEnd (from /trunk/OptBackEnd:47) Iteration 5.4.0.118 label. ------------------------------------------------------------------------ r49 | optauto | 2009-11-09 19:19:20 +0200 (Mon, 09 Nov 2009) | 1 line Changed paths: A /tags/ITR_5.4.0.118/OptFrontEnd (from /trunk/OptFrontEnd:48) Iteration 5.4.0.118 label. ------------------------------------------------------------------------ r50 | optauto | 2009-11-09 19:19:21 +0200 (Mon, 09 Nov 2009) | 1 line Changed paths: A /tags/ITR_5.4.0.118/OPT (from /trunk/OPT:49) Iteration 5.4.0.118 label. ------------------------------------------------------------------------ My master repo is on sparc-solaris2.10, apache2.2.10, Subversion 1.6.3 and is physically located in NY. I use standard post-commit hook script to launch the svnsync sync command after each commit. My proxy repo is x86-solaris2.10 and is physically located in Tel Aviv. The user shown in the corrupted revs is our admin account. The other actions just before and just after the corrupted revs show a generic user for our auto-build tool(ANT). Has anyone else seen corrupted syncs before? Is there a patch or something to prevent this in the future? Thank you, Krista -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is for informational purposes only and has been obtained from sources believed to be reliable, but it is not necessarily complete and its accuracy cannot be guaranteed. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Moreover, this material should not be construed to contain any recommendation regarding, or opinion concerning, any security. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Securities products and services provided to Canadian investors are offered by ITG Canada Corp. (member CIPF and IIROC - Investment Industry Regulatory Organization of Canada), an affiliate of Investment Technology Group, Inc. ITG Inc. and/or its affiliates reserves the right to monitor and archive all electronic communications through its network. ITG Inc. Member FINRA, SIPC -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
