bzr too slow
Denys Duchier
duchier at ps.uni-sb.de
Wed Jan 11 12:53:08 GMT 2006
John Arbash Meinel <john at arbash-meinel.com> writes:
> I'm also concerned about the semantics of finish() versus commit(). Do
> we always call Transaction.finish() whether we commit() or abort()?
> Do we need a separate callback queue for things to run if the
> transaction succeeds versus what happens if it is canceled?
After thinking about it some more, I believe that there are two kinds of tasks
that may need to be executed at the end of a transaction:
- commit tasks
- cleanup tasks (in which I include "cache updates")
probably "commit tasks" should be FIFO and "cleanup tasks" LIFO. "commit tasks"
are executed only if we choose to commit, but "cleanup tasks" are always
executed.
Cheers,
--Denys
More information about the bazaar
mailing list