Here’s a more complex fix that reuses the HTTP connections for the same hosts:
http://hg.dovecot.org/dovecot-2.2/rev/26355654c314
On 3.10.2013, at 19.27, Richard Platel wrote:
> Did some more digging.
>
> The problem is that the fts-solr plugin has a global solr_conn pointer, that
> persists
Did some more digging.
The problem is that the fts-solr plugin has a global solr_conn pointer, that
persists between users. I think this patch fixes the problem:
--- a/dovecot/fts_solr_plugin/fts-solr-plugin.c
+++ b/dovecot/fts_solr_plugin/fts-solr-plugin.c
@@ -50,6 +50,13 @@ static void fts_so
I've confirmed that this problem still exists in 2.2.5
It seems that indexer-worker only init's plugins at startup, so the fts_solr
plugin is holding the url= parameter from the first user.
The problem doesn't happen if the indexer-worker process is idle-killed between
users. A new process sta
Hello.
We're setting up fts solr and want to have the solr server host be set per-user
via UserDB.
It looks like if a user connects and fts indexes mail, and then another user
connects and indexes mail, indexer-worker is connecting to the first user's fts
host:
User1, ham...@rp-auth-test.com