From: Carl Worth <cworth@cworth.org>
Date: Wed, 29 Jun 2011 21:07:06 +0000 (-0700)
Subject: TODO: Add note to fix race condition with directory mtime.
X-Git-Tag: 0.7_rc1~37
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=399277d17a105080db662ededa8510565e3c8980;p=notmuch-old

TODO: Add note to fix race condition with directory mtime.

I recently discussed fixing this with Austin, but want to record it
here just in case we don't remember to fix it right away.
---

diff --git a/TODO b/TODO
index facbda13..4dda6f46 100644
--- a/TODO
+++ b/TODO
@@ -267,6 +267,9 @@ large so the detection could be potentially slow). 2. A "notmuch
 search" syntax could be added to allow the user to find these files,
 (and perhaps delete them or move them away as appropriate).
 
+Fix filesystem/notmuch-new race condition by not updating database
+mtime for a directory if it is the same as the current mtime.
+
 Test suite
 ----------
 Achieve 100% test coverage with the test suite.