[Xapian-devel] buffered tables, sessions, and transactions
Richard Boulton
richard@lemurconsulting.com
Wed, 19 May 2004 12:36:05 +0100
Olly Betts wrote:
> Unfortunately, begin_transaction also needs to flush (so we can
> implement cancel_transaction, at least in the design I sketched out).
> So this doesn't help a series of transcations - only the last flush is
> avoided, and only if there are non-transactional changes after the
> series of transactions.
Ah yes, that makes sense. I agree, then, that supporting
commit_transaction isn't actually very important, and that implementing
end_transaction as you suggest would be a sensible approach.
--
Richard