Mercurial > dovecot > original-hg > dovecot-2.2
changeset 17791:ef55b00eef2a
fts-lucene: No .. the rebuilding warning was still in the wrong place.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 11 Sep 2014 16:14:24 +0300 |
parents | 73eb8be089a5 |
children | bbf760c25a9e |
files | src/plugins/fts-lucene/fts-backend-lucene.c src/plugins/fts-lucene/lucene-wrapper.cc |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/fts-lucene/fts-backend-lucene.c Thu Sep 11 16:12:38 2014 +0300 +++ b/src/plugins/fts-lucene/fts-backend-lucene.c Thu Sep 11 16:14:24 2014 +0300 @@ -197,8 +197,6 @@ if (!fts_index_have_compatible_settings(_backend->ns->list, set_checksum)) { /* need to rebuild the index */ - i_warning("fts-lucene: Settings have changed, rebuilding index for mailbox %s", - mailbox_get_vname(box)); *last_uid_r = 0; } else { *last_uid_r = hdr.last_indexed_uid;
--- a/src/plugins/fts-lucene/lucene-wrapper.cc Thu Sep 11 16:12:38 2014 +0300 +++ b/src/plugins/fts-lucene/lucene-wrapper.cc Thu Sep 11 16:14:24 2014 +0300 @@ -416,6 +416,8 @@ if (ret != 0) return ret; + i_warning("fts-lucene: Settings have changed, rebuilding index for mailbox"); + /* settings changed, rebuild index */ if (unlink_directory(index->path, (enum unlink_directory_flags)0) < 0) { i_error("unlink_directory(%s) failed: %m", index->path);