Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 74e2bbb834a3d0f651b2b7d202bdcfcf > files > 167

cyrus-imapd-2.3.11-6mdv2008.1.x86_64.rpm

<html>
<!-- $Id: notes.html,v 1.2 2002/05/25 19:57:43 leg Exp $ -->

<body>
<ul>
<li>appending: it's important that the index records for individual
messages make it to disk before the index header indicating that
they're there. so something like:
<ol>
<li>sync messages to disk (or depend on <tt>link()</tt> being atomic)
<li>create new index records, flush to disk
<li>create new header if necessary (adding new user flag), flush to disk
<li>flush cache file
<li>update index header, flush to disk
</ol>
</li>



</ul>

</body>
</html>