[dovecot/core] 22ed97: lib-storage: Fix accessing the same "raw" mailbox ...
GitHub
noreply at github.com
Sat Jan 14 15:30:09 UTC 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 22ed97ce474ef40616a873d7356fd54faa8fec29
https://github.com/dovecot/core/commit/22ed97ce474ef40616a873d7356fd54faa8fec29
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-01-14 (Sat, 14 Jan 2017)
Changed paths:
M src/lib-storage/index/raw/raw-sync.c
Log Message:
-----------
lib-storage: Fix accessing the same "raw" mailbox multiple times in process.
If the same file was opened as the raw mailbox multiple times, the previous
mail_index was cached by mail-index-alloc-cache. Opening it the second time
already contained a mail in the index, so trying to add another one logged
an error:
Error: Log synchronization error at seq=1,offset=256 for (in-memory index): Append with UID 1, but next_uid = 2
More information about the dovecot-cvs
mailing list