On 2/17/19 2:13 AM, Danil Smirnov wrote:
Could you advise how to rebuild the failing threads please? I've done index update with 'django-admin update_index' command but it seems irrelevant to the issue, I still have all those messages separated: https://firstname.lastname@example.org/2019/2/
I've not tried it and have no idea if it will work, but the query
select message_id, message_id_hash, in_reply_to from hyperkitty_email;
will show those things. You will see some (most) entries have a message_id of the form 'left-part@right-part' with no angle brackets, but some are of form ' left-part@right-part'.
After doing this, you probably need to run 'django-admin runjob thread_order_depth'.
Obviously, make backups before you start.
An alternative might be to 'fix' the message_id which may or may not require recomputing message_id_hash.