On 09/24/2015 07:08 PM, Timo Sirainen wrote:
On 09/24/2015 09:23 AM, Jean-Baptiste Vignaud wrote:
Hello;
Some issue with virtual storage and fts-lucene:
Sep 24 08:12:16 imap(jbv00@x <jbv00@d1.dc.xandmail.com>xx): Panic: file virtual-storage.c: line 370 (virtual_backend_box_close): assertion failed: (mbox->backends_open_count > 0)
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/4b5b8e6a4a32
Although I think this code can now cause a lot of mailboxes to be opened again if the search result is found from all the mailboxes. So probably needs some more work.
After a bit more testing, it looks like it would happen for all the searches regardless of the results. So, implemented it using another method that should always work: http://hg.dovecot.org/dovecot-2.2/rev/055d1e2d894c