More ideas about logging.

David Bremner bremner at debian.org
Fri Dec 16 03:56:47 PST 2011


On Thu, 15 Dec 2011 23:07:22 -0500, Austin Clements <amdragon at MIT.EDU> wrote:

> Quoth David Bremner on Dec 15 at 10:09 pm:
>
> you could come back with Xapian saying you have 500 log entries when
> your logfile comes back with only 20.  The only way I know of to fix
> this is to fsync after the logfile write, which would obviously have
> performance issues.  But maybe there are cleverer ways?

This might be why jlog uses journalling to write log entries. I'm not
familiar with the details though.

d


More information about the notmuch mailing list