X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Flei-store-format.pod;h=625c60f436a8cb3361e905f30e3b4c0a12239252;hb=6416cd67c9e52111d37d12452a3f8046fd5f8e1e;hp=3e1ddc658579b6cbcc2873157713c33ff805e8ff;hpb=21c0a681c3c9bdcdeffc6516db65812c7635cd68;p=public-inbox.git diff --git a/Documentation/lei-store-format.pod b/Documentation/lei-store-format.pod index 3e1ddc65..625c60f4 100644 --- a/Documentation/lei-store-format.pod +++ b/Documentation/lei-store-format.pod @@ -30,9 +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 - - net_last.sqlite3 # import state for IMAP & NNTP + - mail_sync.sqlite3 # sync state IMAP, Maildir, NNTP Additionally, the following share the same roles they do in extindex: @@ -66,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