History log of /dovecot/src/lib-storage/list/mailbox-list-index-storage.h
Revision Date Author Comments Expand
e081e906f19870b7a7b5aafb4201918e50e963d6 18-Jan-2018 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-storage: INDEX_LIST_STORAGE_CONTEXT now requires context Satisfies static analyzers

f5447068410d91377dad69e5393553015032ef6f 13-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

LAYOUT=index: Fix updating STATUS changes in mailbox list index Mailbox list index backend code was overriding sync_init and sync_deinit methods, which STATUS handling had already already overridden. They both used the same super struct, so STATUS's sync_* were never called.

c29df09edced96e7cbea19a8e8afef74eec16006 10-Jul-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Try to avoid opening mailbox list index on mailbox access Perform the STATUS (and other relevant) updates only if syncing or transaction commits changed anything. This could be optimized further to check even more strongly whether the seen changes could cause changes to the list index, but it's probably not worth the effort.

e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2 27-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added initial implementation for layout=index. The idea is that all of the mailbox names only exist in the mailbox list index. Storage directories use mailbox GUIDs. This avoids all kinds of race conditions with mailbox renames. mailbox_list_index=yes is required for this layout to work. There are probably still some race conditions within the indexing code itself. Also error recovery is missing.