]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-index: Fix cache purging when index is being rebuilt
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 16 Apr 2020 12:59:24 +0000 (15:59 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 16 Apr 2020 12:59:24 +0000 (15:59 +0300)
commit5f6d2134690e4b84d38d556e3086668e32f30b50
treeab481fb53b15e60466a1f9e5320b074f47ec75a0
parent5535fad2b06709f36e0f362c842d3add2d843a86
lib-index: Fix cache purging when index is being rebuilt

All the messages until trans->first_new_seq no longer exist after reset.
At best they cause confusion and are ignored. They could also point to
high UIDs that the rebuilding removes, causing further corruption errors.
src/lib-index/mail-cache-purge.c