gstein_at_tigris.org writes:
> --- trunk/notes/wc-ng-design Thu Aug 14 02:44:52 2008 (r32467)
> +++ trunk/notes/wc-ng-design Thu Aug 14 03:25:35 2008 (r32468)
> @@ -622,12 +622,129 @@ includes all of the "entry" fields *and*
> attached to the files/directories. SQLite transactions will be used
> rather than the "loggy" mechanics of wc-1.0.
>
> +###GJS: note that atomicity across the sqlite database and the content
> + of the ACTUAL tree is freakin' difficult. idea to test: metadata
> + says "not sure of ACTUAL", and when ops complete successfully, then
> + we clear the flag. during any future operation, if the flag is
> + present, then we approach the ACTUAL with extreme prejudice. also
> + note that we can batch clearing of the flags as an optimistic
> + efficiency approach (since if we batch 100 and the last fails, then
> + the other 99 will be slower until the wc-ng determines the ACTUAL
> + is in fine shape and clears the flag for future operations).
Heh -- I hadn't seen the above when I wrote
> Some kind of logginess, or at least carefully ordered actions, will
> still be needed, since we've got working files to deal with. But yeah,
> I think the logginess will get a lot simpler with SQLite transactions.
just now. I'll read all your commits before commenting further. (Or
else just read the doc from the top.)
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-17 15:15:49 CEST