]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-index: Don't compress cache file if there are cache transactions with changes
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 1 Apr 2020 19:19:52 +0000 (22:19 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 15 Apr 2020 09:41:43 +0000 (12:41 +0300)
commitefe492c5c067df472280fec7e182e788d7731381
tree52e4f95d1938a0165dc08befa8b747ee4e75f8b6
parentbbd1549ed4136cd4299e5f4406ceb4f5cb6f3b11
lib-index: Don't compress cache file if there are cache transactions with changes

The cache compression could have lost changes in the uncommitted
transactions if they had already written some changes to the file.
This seems to have happened sometimes at least with dsync.
src/lib-index/mail-cache-private.h
src/lib-index/mail-cache-transaction.c
src/lib-index/mail-index-sync.c