Mercurial > dovecot > core-2.2
changeset 22416:25af68ce9680
mdbox: "Inconsistency in map index" wasn't fixing itself automatically
Broken by b9da8540e665138b3cad0b637c08c0ab7d7a7eeb
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 08 Aug 2017 00:31:57 +0300 |
parents | ebeda476561b |
children | e4c084e70fb6 |
files | src/lib-storage/index/dbox-multi/mdbox-map.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-map.c Tue Aug 01 13:48:55 2017 +0900 +++ b/src/lib-storage/index/dbox-multi/mdbox-map.c Tue Aug 08 00:31:57 2017 +0300 @@ -491,9 +491,8 @@ "(%u,%"PRIuUOFF_T" != %u,%"PRIuUOFF_T")", map->path, seq1, offset1, seq2, offset2); mdbox_storage_set_corrupted(map->storage); - } else { - while (mail_index_sync_next(sync_ctx, &sync_rec)) ; } + while (mail_index_sync_next(sync_ctx, &sync_rec)) ; } int mdbox_map_atomic_lock(struct mdbox_map_atomic_context *atomic,