On Fri, Apr 05, 2019 at 17:45:36 +0800, Joan Moreau wrote:> I am on master (very latest) > > No clue exactly when this problem appears, but > > 1 - the "request twice the fts plugin instead of once" issue has always > been there (since my first RC release of fts-xapian)Ok, good to know.> 2 - the body/text loop has appeared recently (maybe during the month of > March)Our testing doesn't seem to be able to reproduce this. Can you try to git-bisect this to find which commit broke it? Thanks, Jeff.> > On 2019-04-05 16:36, Josef 'Jeff' Sipek via dovecot wrote: > > > On Wed, Apr 03, 2019 at 19:02:52 +0800, Joan Moreau via dovecot wrote: > > > >> issue seems in the Git version : > > > > Which git revision? > > > > Before you updated to the broken revision, which revision/version were you > > running? > > > > Can you try it with 5f6e39c50ec79ba8847b2fdb571a9152c71cd1b6 (the commit > > just before the fts_enforced=body introduction)? That's the only recent fts > > change. > > > > Thanks, > > > > Jeff. > > > > On 2019-04-03 18:58, @lbutlr via dovecot wrote: > > > > On 3 Apr 2019, at 04:30, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > > > > doveadm search -u jom at grosjo.net mailbox inbox text milan > > Did that search over my list mail and got 83 results, not able to duplicate your issue. > > > > What version of dovecot and have you tried to reindex? > > > > dovecot-2.3.5.1 here.-- I already backed up the [server] once, I can do it again. - a sysadmin threatening to do more frequent backups
Hi If you plan to fix the FTS part of Dovecot, I will be very gratefull. Not sure this is related to any specific commit but rahter the overall design The list of bugs so far 1 - Double call to fts plugins with inconsistent parameter (first call diferent from second call for the same request) 2 - "Rescan" features for now consists of deleting indexes. SHall be resending emails to rescan to the fts plugin instead 3 - the loop when body search (just do a "doveadm search -u user at domain mailbox inbox text whatevertexte") Refer to my email to Timo on 2019-04-03 18:30 on the same thread for bug details (especially the loop) 4 - Most notably, I notice that header search usually does not care about fts plugin (even with fts_enforced) and rely on some internal search , which si total non-sense Let me know how can I help on thos 4 points On 2019-04-05 18:37, Josef 'Jeff' Sipek wrote:> On Fri, Apr 05, 2019 at 17:45:36 +0800, Joan Moreau wrote: > >> I am on master (very latest) >> >> No clue exactly when this problem appears, but >> >> 1 - the "request twice the fts plugin instead of once" issue has always >> been there (since my first RC release of fts-xapian) > > Ok, good to know. > >> 2 - the body/text loop has appeared recently (maybe during the month of >> March) > > Our testing doesn't seem to be able to reproduce this. Can you try to > git-bisect this to find which commit broke it? > > Thanks, > > Jeff. > > On 2019-04-05 16:36, Josef 'Jeff' Sipek via dovecot wrote: > > On Wed, Apr 03, 2019 at 19:02:52 +0800, Joan Moreau via dovecot wrote: > > issue seems in the Git version : > Which git revision? > > Before you updated to the broken revision, which revision/version were you > running? > > Can you try it with 5f6e39c50ec79ba8847b2fdb571a9152c71cd1b6 (the commit > just before the fts_enforced=body introduction)? That's the only recent fts > change. > > Thanks, > > Jeff. > > On 2019-04-03 18:58, @lbutlr via dovecot wrote: > > On 3 Apr 2019, at 04:30, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > > doveadm search -u jom at grosjo.net mailbox inbox text milan > Did that search over my list mail and got 83 results, not able to duplicate your issue. > > What version of dovecot and have you tried to reindex? > > dovecot-2.3.5.1 here.-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190405/2cb57783/attachment.html>
On Fri, Apr 05, 2019 at 19:33:57 +0800, Joan Moreau via dovecot wrote:> Hi > > If you plan to fix the FTS part of Dovecot, I will be very gratefull.I'm trying to figure out what is causing the 3rd issue you listed, so we can decide how severe it is and therefore how quickly it needs to be fixed. At the moment we are unable to reproduce it, and therefore we cannot fix it.> Not sure this is related to any specific commit but rahter the overall > designOk.> The list of bugs so far > > 1 - Double call to fts plugins with inconsistent parameter (first call > diferent from second call for the same request)Understood. It is my understanding that this is simply suboptimal rather than causing crashes/etc.> 2 - "Rescan" features for now consists of deleting indexes. SHall be > resending emails to rescan to the fts plugin insteadI'm not sure I follow. The rescan operation is invoked on the fts backend and it is up to the implementation to somehow ensure that after it is done the fts index is up to date. The easiest way to implement it is to simply delete the fts index and re-index all the mails. That is what currently happens in the solr backend. The lucene fts backend does a more complicated matching of the fts index with the emails. Finally, the deprecated squat backend seem to ignore the rescan requests (its rescan vfunc is NULL).> 3 - the loop when body search (just do a "doveadm search -u user at domain > mailbox inbox text whatevertexte") > > Refer to my email to Timo on 2019-04-03 18:30 on the same thread for bug > details > > (especially the loop)This seems to be the most important of the 4 issues you listed, so I'd like to focus on this one for now. As I mentioned, we cannot reproduce this ourselves. So, we need your help to narrow things down. Therefore, can you give us the commit hashes of revisions that you know are good and which are bad? You can use git-bisect to narrow the range down.> 4 - Most notably, I notice that header search usually does not care > about fts plugin (even with fts_enforced) and rely on some internal > search , which si total non-senseYou're right, that doesn't seem to make sense. Can you provide a test case? Jeff.> Let me know how can I help on thos 4 points > > On 2019-04-05 18:37, Josef 'Jeff' Sipek wrote: > > > On Fri, Apr 05, 2019 at 17:45:36 +0800, Joan Moreau wrote: > > > >> I am on master (very latest) > >> > >> No clue exactly when this problem appears, but > >> > >> 1 - the "request twice the fts plugin instead of once" issue has always > >> been there (since my first RC release of fts-xapian) > > > > Ok, good to know. > > > >> 2 - the body/text loop has appeared recently (maybe during the month of > >> March) > > > > Our testing doesn't seem to be able to reproduce this. Can you try to > > git-bisect this to find which commit broke it? > > > > Thanks, > > > > Jeff. > > > > On 2019-04-05 16:36, Josef 'Jeff' Sipek via dovecot wrote: > > > > On Wed, Apr 03, 2019 at 19:02:52 +0800, Joan Moreau via dovecot wrote: > > > > issue seems in the Git version : > > Which git revision? > > > > Before you updated to the broken revision, which revision/version were you > > running? > > > > Can you try it with 5f6e39c50ec79ba8847b2fdb571a9152c71cd1b6 (the commit > > just before the fts_enforced=body introduction)? That's the only recent fts > > change. > > > > Thanks, > > > > Jeff. > > > > On 2019-04-03 18:58, @lbutlr via dovecot wrote: > > > > On 3 Apr 2019, at 04:30, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > > > > doveadm search -u jom at grosjo.net mailbox inbox text milan > > Did that search over my list mail and got 83 results, not able to duplicate your issue. > > > > What version of dovecot and have you tried to reindex? > > > > dovecot-2.3.5.1 here.-- What is the difference between Mechanical Engineers and Civil Engineers? Mechanical Engineers build weapons, Civil Engineers build targets.