Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 6cc4fb05a1d9c18695f865a966b9204f > files > 289

cyrus-imapd-2.5.15-1.mga7.armv7hl.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<HEAD>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<TITLE>Notes</title>
</head>
<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>