server transactions
From: Greg Stein <gstein_at_lyra.org>
Date: 2000-08-31 05:05:46 CEST
Jim,
I spoke with Ben and Karl on the phone this morning, talking about the
[ sure, the walker structure will invoke the operations; but the design
Anyway... they described it like this (pseudo-code):
fs = svn_fs_open(...)
svn_fs_commit_xactn(fs, xactn_id)
This is great, but I'd like to ask for a few clarifications/changes:
1) the xactn_id can be marshalled to disk. it will be used by many processes
2) corollary: fs_open/close will occur many times for a given xactn:
fs = svn_fs_open(...)
save_to_disk(xactn_id)
for each incoming request (maybe in different processes):
fs = svn_fs_open(...)
fs = svn_fs_open(...)
3) I'm okay with a "marshal" function from the fs layer for the xactn_id to
4) I'm okay with retaining state associated with the transaction:
node_id = svn_fs_store_file_contents(fs, ...)
If the state is retained by the FS layer, then that's okay too.
5) FYI, the pattern will be:
a) open a transaction
I am also fine with moving (a) to just before (d). Storing files before
FYI:
On the update side of things: the mod_dav_svn module will be operating
This is because I need to get the descriptions of the change *first*. Then,
[ the second trip is the important part: I can't ask the FS layer to stream
[ actually, I might even be able to arrange to do "send file <foo> to me IFF
Cheers,
-- Greg Stein, http://www.lyra.org/Received on Sat Oct 21 14:36:07 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.