dovecot-2.2: sdbox: Don't log "Rebuilding index" when another pr...
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 20 03:26:30 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/f30437ed63dc
changeset: 14375:f30437ed63dc
user: Timo Sirainen <tss at iki.fi>
date: Thu Mar 22 18:28:59 2012 +0200
description:
sdbox: Don't log "Rebuilding index" when another process already did it and we cancel it.
diffstat:
src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c | 1 +
src/lib-storage/index/dbox-single/sdbox-sync.c | 2 --
2 files changed, 1 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r fb70195b5d47 -r f30437ed63dc src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c
--- a/src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c Thu Mar 22 18:05:08 2012 +0200
+++ b/src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c Thu Mar 22 18:28:59 2012 +0200
@@ -195,6 +195,7 @@
return 0;
}
}
+ i_warning("sdbox %s: Rebuilding index", mailbox_get_path(&mbox->box));
if (dbox_sync_rebuild_verify_alt_storage(mbox->box.list) < 0) {
mail_storage_set_critical(mbox->box.storage,
diff -r fb70195b5d47 -r f30437ed63dc src/lib-storage/index/dbox-single/sdbox-sync.c
--- a/src/lib-storage/index/dbox-single/sdbox-sync.c Thu Mar 22 18:05:08 2012 +0200
+++ b/src/lib-storage/index/dbox-single/sdbox-sync.c Thu Mar 22 18:28:59 2012 +0200
@@ -237,8 +237,6 @@
ret = -1;
} else {
/* do a full resync and try again. */
- i_warning("sdbox %s: Rebuilding index",
- mailbox_get_path(&ctx->mbox->box));
rebuild = FALSE;
ret = sdbox_sync_index_rebuild(mbox,
force_rebuild);
More information about the dovecot-cvs
mailing list