[Xapian-devel] buffered tables, sessions, and transactions

Richard Boulton richard at lemurconsulting.com
Wed May 19 12:36:05 BST 2004


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




More information about the Xapian-devel mailing list