]> sipb.mit.edu Git - ikiwiki.git/blob - doc/subversion/discussion.mdwn
426735182cac57517c775d686c42eb951151b128
[ikiwiki.git] / doc / subversion / discussion.mdwn
1 If the user interrupts the page loading during the running of `svn commit`,
2 the repository will be left in an inconsistent state. The probability of
3 this happening increases with the size of the repository and the number of
4 plugins installed, because these both affect how long the post-commit hook
5 takes to run. (The core issue, I guess, is that we're abusing the concept
6 of a "working copy" by giving everybody the same one). Here are the main
7 solutions that I can see: (1) CGI queues commits so that a single process
8 can act upon them sequentially, or (2) optionally divorce the `ikiwiki
9 --refresh` from the `svn commit` so that commits happen faster. -- [[Ben]]
10
11 I'm not aware of web servers, at least apache, killing cgi processes when
12 the user stops a page load. If this is happening ikiwiki should be able to
13 avoid it by blocking whatever signal is causing it to terminate. --[[Joey]]