Mercurial > dovecot > core-2.2
changeset 20819:e25ae081b1eb
lib-index: When finding a view is reset, don't attempt any further syncing.
This could cause various errors to be logged, such as:
Error: Append with UID 7103, but next_uid = 7242
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 27 Sep 2016 19:45:57 +0300 |
parents | 139b1e3beb85 |
children | 0901db0db1c4 |
files | src/lib-index/mail-index-view-sync.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index-view-sync.c Tue Sep 27 19:41:25 2016 +0300 +++ b/src/lib-index/mail-index-view-sync.c Tue Sep 27 19:45:57 2016 +0300 @@ -601,6 +601,8 @@ mail_index_set_error(view->index, "%s reset, view is now inconsistent", view->index->filepath); + ctx->failed = TRUE; + return ctx; } if (!have_expunges && !partial_sync) {