[Dovecot] Bug in new mail-index-transaction.c
These changes apparently broke something:
2006-04-24 09:17 Timo Sirainen <timo.sirainen@movial.fi>
- src/lib-index/mail-index-transaction.c: Fixed crash while updating keywords (broken by recent changes).
2006-04-20 14:10 Timo Sirainen <tss@iki.fi>
- src/lib-index/mail-index-transaction.c: If we sorted appended messages, we weren't sorting extensions and keywords so they were mapped to wrong messages (dbox-only problem, keywords not yet fixed by this change).
What I am seeing is when there are messages that have keywords set, Dovecot occasionally hangs while building the index and/or uidlist. It leaves a lock file "dovecot-uidlist.lock" around and the IMAP process reading that folder never completes successfully. To fix it, I have have to rename the message files to remove the keyword. For example:
$ mv 1146246349.P365Q2.mail1b.r1.iad.emailsrvr.com:2,Sa 1146246349.P365Q2.mail1b.r1.iad.emailsrvr.com:2,S
I reverted back to the copy of src/lib-index/mail-index-transaction.c from the 4/14/2006 CVS snapshot, and this problem completely went away. And mailboxes that were encountering the .lock problem suddenly worked again.
If there is any additional information that you need in order to troubleshoot this bug, please let me know and I'll be happy to send it.
Bill
On Fri, 2006-04-28 at 17:36 -0400, Bill Boebel wrote:
What I am seeing is when there are messages that have keywords set, Dovecot occasionally hangs while building the index and/or uidlist. It leaves a lock file "dovecot-uidlist.lock" around and the IMAP process reading that folder never completes successfully. To fix it, I have have to rename the message files to remove the keyword. For example:
Could you check if this still happens? I did pretty large changes to that part of code.
I guess I should update my imaptest to update flags/keywords too so I could easily test these kind of problems too..
On Tue, May 2, 2006 18:49, Timo Sirainen said:
On Fri, 2006-04-28 at 17:36 -0400, Bill Boebel wrote:
What I am seeing is when there are messages that have keywords set, Dovecot occasionally hangs while building the index and/or uidlist. It leaves a lock file "dovecot-uidlist.lock" around and the IMAP process reading that folder never completes successfully. To fix it, I have have to rename the message files to remove the keyword. For example:
Could you check if this still happens? I did pretty large changes to that part of code.
This appears to be fixed now as well. Thanks,
Bill
participants (2)
-
Bill Boebel
-
Timo Sirainen