]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-index: mail_cache_set_seq_corrupted_reason() - Don't delete entire cache if trans...
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 2 Apr 2020 21:07:23 +0000 (00:07 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 15 Apr 2020 09:41:43 +0000 (12:41 +0300)
commitcdbd12509d9808cf1a5006433420ec0bb4969c2a
treea35ac4776bb1550028802ca9efa682c3968589ab
parent4db539d8fc542ebb44e01b28fbbcdd75787e7157
lib-index: mail_cache_set_seq_corrupted_reason() - Don't delete entire cache if transaction commit fails

It can only happen on I/O errors, which most likely means that there's no
disk space to write to transaction log. There's no reason to delete the
entire cache, since it might be expensive to recreate.
src/lib-index/mail-cache.c