Re: Mailbox deletion race: folders and files are never deleted

2015-02-27 Thread Samir Aguiar
On Friday 27 February 2015 09:31:00 Bron Gondwana wrote: On Fri, Feb 27, 2015, at 06:31 AM, Jeroen van Meeuwen (Kolab Systems) wrote: On 2015-02-26 16:51, Samir Aguiar wrote: Proposed solution: - Patch the mailbox_close() function to reload the index before trying to clean the files

Mailbox deletion race: folders and files are never deleted

2015-02-26 Thread Samir Aguiar
Hi, we found a race condition problem in Cyrus IMAP 2.4.17 where mailbox folders (and the files inside them) are not removed when deleting a mailbox with delete mode set to immediate. The steps to reproduce are: - Open a mailbox in one session (session A); - Delete that mailbox with another

Re: Mailbox deletion race: folders and files are never deleted

2015-02-26 Thread Jeroen van Meeuwen (Kolab Systems)
On 2015-02-26 16:51, Samir Aguiar wrote: Proposed solution: - Patch the mailbox_close() function to reload the index before trying to clean the files (and merge the current index changes with the ones found) - Because the above would still be skipped when shutting down Cyrus: expand