X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Flei-store-format.pod;h=625c60f436a8cb3361e905f30e3b4c0a12239252;hb=21fcd8a37c82c1ef654d402cf592f0c9d803aa26;hp=a42c770ee7d4232bd2e5698db321894794a5614a;hpb=ba0c73ae03214e57004af4192b57141c1a0fff9f;p=public-inbox.git diff --git a/Documentation/lei-store-format.pod b/Documentation/lei-store-format.pod index a42c770e..625c60f4 100644 --- a/Documentation/lei-store-format.pod +++ b/Documentation/lei-store-format.pod @@ -30,8 +30,8 @@ prevent them from being accidentally treated as a v2 inbox. $SHARD - Integer starting with 0 based on parallelism ~/.local/share/lei/store - - ipc.lock # lock file for internal lei IPC - local/$EPOCH.git # normal bare git repositories + - mail_sync.sqlite3 # sync state IMAP, Maildir, NNTP Additionally, the following share the same roles they do in extindex: @@ -65,11 +65,18 @@ stored in Xapian indices, volatile metadata is associated with the Xapian document, thus it is shared across different blobs of the "same" message. +=head2 mail_sync.sqlite3 + +This SQLite database maintained for bidirectional mapping of +git blobs to IMAP UIDs, Maildir file names, and NNTP article numbers. + +It is also used for retrieving messages from Maildirs indexed by +L. + =head1 IPC -When L is run in daemon mode, L is used on -C is used to serialize writes to C across -multiple internal lei workers while minimizing commits. +L communicates with the C process using +L C sockets. =head1 CAVEATS