<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>SVNForum.org - Subversion Forum - Blogs</title>
		<link>http://www.svnforum.org/blog.php</link>
		<description>SVNForum.org is a Subversion community help and discussion forum for exchanging information and tips with other users of Subversion.</description>
		<language>en</language>
		<lastBuildDate>Thu, 17 May 2012 12:38:45 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.svnforum.org/images/misc/rss.jpg</url>
			<title>SVNForum.org - Subversion Forum - Blogs</title>
			<link>http://www.svnforum.org/blog.php</link>
		</image>
		<item>
			<title>Is svnsync good enough?</title>
			<link>http://www.svnforum.org/entries/8-Is-svnsync-good-enough</link>
			<pubDate>Mon, 27 Jun 2011 16:13:14 GMT</pubDate>
			<description>At WANdisco we offer a clustered Subversion solution which provides both Read AND Write access to replicated repositories hosted over multiple nodes....</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">At WANdisco we offer a clustered Subversion solution which provides both Read AND Write access to replicated repositories hosted over multiple nodes. Our products are already in use within many large enterprise shops, where the value of replicating the repository in this active-active way is obvious. But one of the questions we hear most often is whether synsync and the Write-through proxy can deliver the same benefits as WANdisco without the additional cost of a third party solution?<br />
<br />
Obviously enterprise customers who buy our products don't think svnsync is suitable for their needs, but asking this question internally sparked an interesting discussion and, after trying svnsync for myself, it occurred to me that this blog would be a good place to open up the debate and encourage some contributions to the discussion from the Subversion and general developer community. <br />
<br />
Below I've presented the 'WANdisco' view of svnsync when compared to WANdisco's solution. The context here is that we're talking about what is appropriate for *enterprise* development shops who are working in a distributed development environment. <br />
<br />
Svnsync Pros:<br />
<ul><li style="">Free, no external product cost</li></ul><br />
<ul><li style="">Improves local read performance at slave/mirror sites</li></ul><br />
<ul><li style="">Reduces read traffic from WAN</li></ul><br />
<br />
Svnsync Cons:<br />
<ul><li style="">Master/slave model means a single point of failure - If the master is down no-one can write to the repository.</li></ul><br />
<ul><li style="">No performance improvement on writes (these are simply proxied to the master server)</li></ul><br />
<ul><li style="">No guarantee of transactional integrity</li></ul><br />
<ul><li style="">No topology intelligence</li></ul><br />
<ul><li style="">Can’t build against slave/mirror if process requires master</li></ul><br />
<ul><li style="">Manual intervention is normally required in the event of network outage and latency</li></ul><br />
<ul><li style="">Implementation, configuration, and maintenance generally dependent on a specialised resources (the folks that set it up)</li></ul><br />
<ul><li style="">No optimization of SVN traffic</li></ul><br />
<ul><li style="">Recovery time and recovery point objectives are greater than zero</li></ul><br />
<ul><li style="">No dashboard or central administration</li></ul><br />
<ul><li style="">Requires additional solution or approach for DR, business continuity, fault tolerance</li></ul><br />
<ul><li style="">Down time for upgrades or routine maintenance</li></ul><br />
<ul><li style="">Buggy – More than 5 known issues awaiting attention from a Subversion developer</li></ul><br />
<ul><li style="">Little, if any, ongoing development input from the Subversion development community</li></ul><br />
<br />
So it's clear that svnsync has one major advantage - cost. But there's also a long list of reasons why we think WANdisco's approach to clustered Subversion is superior. What do you think? Have I missed things from the Pro list for svnsync? Is there anything lacking in our product that would make it more enterprise capable? What features are you looking for in a distributed development solution to support the future needs of your business?</blockquote>

]]></content:encoded>
			<dc:creator>mpoole</dc:creator>
			<guid isPermaLink="true">http://www.svnforum.org/entries/8-Is-svnsync-good-enough</guid>
		</item>
		<item>
			<title>Subversion 1.7.0 Alpha packages now available!</title>
			<link>http://www.svnforum.org/entries/6-Subversion-1-7-0-Alpha-packages-now-available!</link>
			<pubDate>Mon, 13 Jun 2011 23:25:43 GMT</pubDate>
			<description>Please remember that Subversion 1.7.0 Alpha is for *testing only* do not install this on a production machine. 
 
Source code and official site:...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Please remember that Subversion 1.7.0 Alpha is for <b>testing only</b> do not install this on a production machine.<br />
<br />
Source code and official site: <a href="http://subversion.apache.org" target="_blank" rel="nofollow">http://subversion.apache.org</a><br />
Release notes: <a href="http://subversion.apache.org/docs/release-notes/1.7.html" target="_blank" rel="nofollow">http://subversion.apache.org/docs/re...notes/1.7.html</a><br />
Change log: <a href="http://svn.apache.org/repos/asf/subversion/trunk/CHANGES" target="_blank" rel="nofollow">http://svn.apache.org/repos/asf/subv.../trunk/CHANGES</a><br />
<br />
WANdisco have created Subversion 1.7.0 Alpha packages for:<br />
<ul><li style="">CentOS 5</li></ul><br />
<ul><li style="">RHEL 5</li></ul><br />
<br />
We plan to have Windows and Ubuntu support shortly. Want us to support a platform? Post and let us know: <a href="http://www.svnforum.org/forums/56-Apache-Subversion-1.7.0-Alpha-Support" target="_blank">http://www.svnforum.org/forums/56-Ap...-Alpha-Support</a><br />
<br />
You can download subversion 1.7.0 Alpha from here: <a href="http://www.wandisco.com/subversion/download/1_7-alpha" target="_blank">http://www.wandisco.com/subversion/download/1_7-alpha</a></blockquote>

]]></content:encoded>
			<dc:creator>mpoole</dc:creator>
			<guid isPermaLink="true">http://www.svnforum.org/entries/6-Subversion-1-7-0-Alpha-packages-now-available!</guid>
		</item>
		<item>
			<title>Windows 7: Bogus ERROR_FILE_CORRUPT error</title>
			<link>http://www.svnforum.org/entries/3-Windows-7-Bogus-ERROR_FILE_CORRUPT-error</link>
			<pubDate>Thu, 09 Jun 2011 01:32:12 GMT</pubDate>
			<description>Subversion performs a lot of tricks, on the both client and server, to keep your data safe.  Even in the event of a random power failure or bug in...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Subversion performs a lot of tricks, on the both client and server, to keep your data safe.  Even in the event of a random power failure or bug in the program, Subversion is designed to make sure your data isn't lost.  One of the most common tricks Subversion uses is to take advantage of the underlying operating system's &quot;atomic file move&quot; APIs to make sure a file is never half-written to disk.  By first writing a temporary file, and then atomically moving that file into the correct location, Subversion can be sure all of the content is written or none of it is; you don't get half-baked data.<br />
The above approach works great, and is portable to a large number of operating systems.  It works great, that is, until there is a bug in the underlying operating system.  Microsoft has been kind enough to introduce such a bug in Windows 7.<br />
Windows 7 introduces the concept of the &quot;oplock&quot; for locking file access.  The APIs which Subversion uses for platform portability have been updated to use oplocks.  In previous versions of Windows, if two applications, such as a virus scanner and Subversion, were to attempt to access the same file, one would get an &quot;Access Denied&quot; error, which that application could then notice and use to retry the access later.<br />
Windows 7, in contrast, emits a &quot;File Corrupted&quot; error in this same scenario.  Not only does the calling application not know how to handle the error, this error also gets propagated to the operating system.  Windows displays a notice to the user in the system tray, and a complete check disk gets scheduled for the next reboot.  To an unsuspecting user, this could look like a serious application bug, or even some kind of hardware failure.  Scary stuff!<br />
<br />
<img src="http://forum.ourdarkskies.com/uploads/1264423322/gallery_131_16_5019.jpg" border="0" alt="" /><br />
<br />
The key thing here, though is that even though Windows reports corruption, and even though it runs a check disk on the next reboot, no corruption has actually occurred.  The check disk runs without incident, and the file contents are unmodified, but the buggy API has caused a confused user, and lots of wasted time.<br />
<br />
Microsoft <a href="http://social.technet.microsoft.com/Forums/fi-FI/w7itprogeneral/thread/df935a52-a0a9-4f67-ac82-bc39e0585148" target="_blank" rel="nofollow">has confirmed</a> this bug:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_quote">
		<div class="quote_container">
			<div class="bbcode_quote_container"></div>
			
				This is a known regression in Windows 7 in the NTFS file system.  It occurs when doing a superseding rename over a file that has an atomic oplock on it (atomic oplocks are a new feature in Windows 7).  The indexer uses atomic oplocks which is why it helped when you disabled the indexer.  Explorer also uses atomic oplocks which is why you are still seeing the issue.  When this occurs STATUS_FILE_CORRUPT is incorrectly returned and the volume is marked &quot;dirty&quot; which is a signal to the system that chkdsk needs to be run.  No actual corruption has occurred.
			
		</div>
	</div>
</div>Although this is a bug in Windows itself, there are a few workarounds you can try.  Disabling the indexing service, as well as anti-virus scanners will decrease the chance of encountering this error.  Subversion 1.7, with the next generation working copy library, will remove many of the scenarios where Subversion needs to do the &quot;atomic rename&quot; trick.  But ultimately, the fix will have to come from Microsoft, so I encourage you to use whatever means you have to lobby Microsoft to fix the problem and issue a hot fix.<br />
<br />
You can track the status of the bug, via Microsoft's TechNet forums here:<br />
<a href="http://social.technet.microsoft.com/Forums/fi-FI/w7itprogeneral/thread/df935a52-a0a9-4f67-ac82-bc39e0585148" target="_blank" rel="nofollow">http://social.technet.microsoft.com/...2-bc39e0585148</a><br />
You can visit the Subversion issue which tracks this bug here:<br />
<a href="http://subversion.tigris.org/issues/show_bug.cgi?id=3574" target="_blank" rel="nofollow">http://subversion.tigris.org/issues/...ug.cgi?id=3574</a><br />
<br />
UPDATE: Microsoft has released a <a href="http://support.microsoft.com/kb/982927/en-us" target="_blank" rel="nofollow">hot fix</a> for the issue, and indicated that it will included in Windows 7 Service Pack 1.</blockquote>

]]></content:encoded>
			<dc:creator>mpoole</dc:creator>
			<guid isPermaLink="true">http://www.svnforum.org/entries/3-Windows-7-Bogus-ERROR_FILE_CORRUPT-error</guid>
		</item>
		<item>
			<title>Subversion 1.6.17 packages available for Mac OS X</title>
			<link>http://www.svnforum.org/entries/1-Subversion-1-6-17-packages-available-for-Mac-OS-X</link>
			<pubDate>Sun, 05 Jun 2011 05:53:44 GMT</pubDate>
			<description>WANdisco have now released Subversion packages for Mac OS X 10.5 and 10.6 
 
Click here to Download Subversion for Mac OS X...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">WANdisco have now released Subversion packages for Mac OS X 10.5 and 10.6<br />
<br />
Click here to <a href="http://www.wandisco.com/subversion/download#osx" target="_blank">Download Subversion for Mac OS X</a></blockquote>

]]></content:encoded>
			<dc:creator>mpoole</dc:creator>
			<guid isPermaLink="true">http://www.svnforum.org/entries/1-Subversion-1-6-17-packages-available-for-Mac-OS-X</guid>
		</item>
	</channel>
</rss>

