[dovecot/core] 7e290d: lib-index: mail_transaction_log_find_file() - remo...
GitHub
noreply at github.com
Fri Nov 18 15:30:20 UTC 2016
Branch: refs/heads/master-2.2
Home: https://github.com/dovecot/core
Commit: 7e290d2778c736b68af0a81d084cd9b10448d064
https://github.com/dovecot/core/commit/7e290d2778c736b68af0a81d084cd9b10448d064
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: 704657e1c492c729a7c9955f53c76ac2cedb9ed6
https://github.com/dovecot/core/commit/704657e1c492c729a7c9955f53c76ac2cedb9ed6
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.
Commit: 1b0b3b6ae749550fc0ecdf767fe1c6ff449c13e5
https://github.com/dovecot/core/commit/1b0b3b6ae749550fc0ecdf767fe1c6ff449c13e5
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-file.c
M src/lib-index/mail-transaction-log-private.h
M src/lib-index/mail-transaction-log.c
Log Message:
-----------
lib-index: Improve errors - return reason in mail_transaction_log_file_open()
Commit: b5138141c3837beb993cf2f81bcf90931244a472
https://github.com/dovecot/core/commit/b5138141c3837beb993cf2f81bcf90931244a472
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: Improve errors - return reason in mail_transaction_log_refresh()
Compare: https://github.com/dovecot/core/compare/00ecebf8645b...b5138141c383
More information about the dovecot-cvs
mailing list