]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by http://id.inelegant.org/: Comment on potential scaling issue.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 16 Mar 2007 12:28:52 +0000 (12:28 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 16 Mar 2007 12:28:52 +0000 (12:28 +0000)
doc/subversion/discussion.mdwn [new file with mode: 0644]

diff --git a/doc/subversion/discussion.mdwn b/doc/subversion/discussion.mdwn
new file mode 100644 (file)
index 0000000..f795e37
--- /dev/null
@@ -0,0 +1 @@
+If the user interrupts the page loading during the running of `svn commit`, the repository will be left in an inconsistent state. The probability of this happening increases with the size of the repository and the number of plugins installed, because these both affect how long the post-commit hook takes to run. (The core issue, I guess, is that we're abusing the concept of a "working copy" by giving everybody the same one). Here are the main solutions that I can see: (1) CGI queues commits so that a single process can act upon them sequentially, or (2) optionally divorce the `ikiwiki --refresh` from the `svn commit` so that commits happen faster. -- [[Ben]]
\ No newline at end of file