File: notes.rst.txt

package info (click to toggle)
cyrus-imapd 3.10.0~beta1-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 86,332 kB
  • sloc: ansic: 284,810; perl: 135,824; javascript: 9,562; sh: 5,728; yacc: 2,565; cpp: 2,147; makefile: 2,133; lex: 662; xml: 621; awk: 303; python: 279; asm: 262
file content (19 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.. _imap-developer-thoughts-notes:

..  Note: This document was converted from the original by Nic Bernstein
    (Onlight).  Any formatting mistakes are my fault and not the
    original author's.  Converted via the pandoc tool from HTML.

Cyrus IMAP Server: Notes
========================

-  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:

   #. sync messages to disk (or depend on ``link()`` being atomic)
   #. create new index records, flush to disk
   #. create new header if necessary (adding new user flag), flush to
      disk
   #. flush cache file
   #. update index header, flush to disk