Re: Possible threading issues in nm 0.32

2021-05-11 Thread Michael J Gruber
... just a guess: Could it be that a9f74aee ("CLI/new: drop the write lock to run the pre-new hook.", 2021-03-18) was not enough? notmuch_database_reopen() only reopens the xapian db but does not update other members in notmuch_database_t *notmuch, such as the last doc id and thread id. If a

Re: Possible threading issues in nm 0.32

2021-05-11 Thread Michael J Gruber
Alexander Adolf venit, vidit, dixit 2021-05-11 16:32:22: > Alexander Adolf writes: > > > Michael J Gruber writes: > > > >> [...] > >> So it seems: > >> > >> - The mis-threading happens during `notmuch new`, not with `notmuch > >> reindex`. > >> - In this new case (and if I remember correctly

Re: Possible threading issues in nm 0.32

2021-05-11 Thread Alexander Adolf
Michael J Gruber writes: > [...] > So it seems: > > - The mis-threading happens during `notmuch new`, not with `notmuch > reindex`. > - In this new case (and if I remember correctly also in the others), > it's always a new message getting worngly put into an existing thread, > and if I'm

Re: Possible threading issues in nm 0.32

2021-05-08 Thread Michael J Gruber
David Bremner venit, vidit, dixit 2021-05-05 14:29:38: > Michael J Gruber writes: > > > After updating to notmuch 0.32 I noticed a few strange threadings that > > went away after downgrading to 0.31.3 and reindexing. I can't pin-point > > that yet but wanted to give an early warning so you can

Re: Possible threading issues in nm 0.32

2021-05-05 Thread David Bremner
Michael J Gruber writes: > After updating to notmuch 0.32 I noticed a few strange threadings that > went away after downgrading to 0.31.3 and reindexing. I can't pin-point > that yet but wanted to give an early warning so you can look out for > that, too. I'm not aware of any threading relevant