[dovecot/core] 950a6e: lib-index: mail_index_sync_next() didn't always re...
GitHub
noreply at github.com
Sun Feb 21 01:45:06 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 950a6e61d6c2dac961ce031bdd8b2895bc32b827
https://github.com/dovecot/core/commit/950a6e61d6c2dac961ce031bdd8b2895bc32b827
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-02-21 (Sun, 21 Feb 2016)
Changed paths:
M src/lib-index/mail-index-sync.c
Log Message:
-----------
lib-index: mail_index_sync_next() didn't always return expunges sorted
Maildir and mbox formats were using index_sync_changes_read(), which assumed that
they were sorted. So some of the intended expunges weren't actually always being
done. This mainly affected when expunges were being done simultaneously by multiple
processes or by pipelined commands. For example:
printf "a select inbox\nb uid move 2 Trash\nc uid move 1 Trash\nd logout\n" | ./imap
More information about the dovecot-cvs
mailing list