dovecot-2.2: fts-solr: Removed assert to fix indexing multiple m...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 17 10:58:14 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/fec87fb9b071
changeset: 18876:fec87fb9b071
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 17 13:55:37 2015 +0300
description:
fts-solr: Removed assert to fix indexing multiple mailboxes.
fts plugin may want to do last-uid lookup for a new mailbox while we still
have posting open for the previous one.

diffstat:

 src/plugins/fts-solr/solr-connection.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 3ae8cf3f8320 -r fec87fb9b071 src/plugins/fts-solr/solr-connection.c
--- a/src/plugins/fts-solr/solr-connection.c	Wed Jun 17 13:12:37 2015 +0300
+++ b/src/plugins/fts-solr/solr-connection.c	Wed Jun 17 13:55:37 2015 +0300
@@ -409,8 +409,6 @@
 	const char *url;
 	int parse_ret;
 
-	i_assert(!conn->posting);
-
 	memset(&solr_lookup_context, 0, sizeof(solr_lookup_context));
 	solr_lookup_context.result_pool = pool;
 	hash_table_create(&solr_lookup_context.mailboxes, default_pool, 0,


More information about the dovecot-cvs mailing list