]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-index: Change "missing middle file seq" error into warning
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 1 Feb 2021 15:49:18 +0000 (17:49 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Thu, 11 Feb 2021 09:51:13 +0000 (09:51 +0000)
It's not really an error, but it has been useful in finding performance
problems. Possibly it should be changed into a named event at some point.

src/lib-index/mail-index-view-sync.c

index 1ce645dde7e884432a915ede18563517b5647956..f4befb9df811d22eba7acdc19a6aec5943355d31 100644 (file)
@@ -591,7 +591,8 @@ mail_index_view_sync_begin(struct mail_index_view *view,
        }
 
        if (ret == 0) {
-               mail_index_set_error(view->index, "%s", error);
+               e_warning(view->index->event,
+                         "%s - generating missing logs", error);
                ctx->log_was_lost = TRUE;
                if (!sync_expunges)
                        i_array_init(&ctx->expunges, 64);