Re: More ideas about logging.

Subject: Re: More ideas about logging.

Date: Fri, 16 Dec 2011 07:56:47 -0400

To: Austin Clements

Cc: Notmuch Mail

From: David Bremner


On Thu, 15 Dec 2011 23:07:22 -0500, Austin Clements <amdragon@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

Thread: