From 273090c96e3b5c214605decf5a755546116cc9bd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 26 Oct 2021 10:35:50 +0000 Subject: doc: lei-store-format: mail sync section, update IPC mail_sync.sqlite3 needs to be documented, and brings the IPC section up-to-date while we're in the area. --- Documentation/lei-store-format.pod | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Documentation') diff --git a/Documentation/lei-store-format.pod b/Documentation/lei-store-format.pod index 71aa72cb..625c60f4 100644 --- a/Documentation/lei-store-format.pod +++ b/Documentation/lei-store-format.pod @@ -30,7 +30,6 @@ 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 @@ -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 -- cgit v1.2.3-24-ge0c7