[dovecot/core] 8dfabf: lib-index: mail_transaction_log_find_file() - remo...
GitHub
noreply at github.com
Fri Nov 18 15:00:10 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 8dfabfbc7715df1c9e2016f6a3f2db575265524b
https://github.com/dovecot/core/commit/8dfabfbc7715df1c9e2016f6a3f2db575265524b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-18 (Fri, 18 Nov 2016)
Changed paths:
M src/lib-index/mail-transaction-log.c
Log Message:
-----------
lib-index: mail_transaction_log_find_file() - remove wrong optimization.
When opening the index, it's possible that:
process A: .log is opened with seq=1
process B: Rotates the .log and writes a new dovecot.index with
log_file_seq=2
process A: dovecot.index is opened. mail_transaction_log_view_set() now
wants to file log_file_seq=2 with mail_transaction_log_find_file(), but
because open_count==0, the .log isn't refreshed.
Commit: 6321d9d33937c7fc13a8ff04c220a9e377efeeb8
https://github.com/dovecot/core/commit/6321d9d33937c7fc13a8ff04c220a9e377efeeb8
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-18 (Fri, 18 Nov 2016)
Changed paths:
M src/lib-index/mail-index-modseq.c
M src/lib-index/mail-transaction-log-private.h
M src/lib-index/mail-transaction-log-view.c
M src/lib-index/mail-transaction-log.c
M src/lib-index/test-mail-transaction-log-view.c
Log Message:
-----------
lib-index: Add more information to "Missing middle file" error.
Compare: https://github.com/dovecot/core/compare/0fd7143c38d0...6321d9d33937
More information about the dovecot-cvs
mailing list