Re: fts-flatcurve 2.4.4: after "doveadm fts optimize" a mailbox stops indexing new mail (empty current.<id> shard, missing iamglass)

Michael Slusarz via dovecot <[email protected]>
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
> On 08/12/2026 4:11 AM MDT Ihor Rusyn via dovecot <[email protected]> wrote:
> 
> Thanks for looking into this. I don't think fts_flatcurve_xapian_refresh()
> alone would close the gap here — as far as I can tell it re-opens/refreshes
> an already-open db handle (to pick up externally-committed changes or drop
> a stale NFS attribute cache), but it doesn't release the write handle the
> process is holding open against the *old* shard directory during optimize.

fts_flatcurve_xapian_refresh() closes all active write DB handles against the mailbox, and destroys their underlying C++ Xapian write database objects. (read handles are irrelevant because they don't lock).

michael

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.