[dovecot/core] 407873: lib-index: Avoid opening .log.2 file if .log was r...

GitHub noreply at github.com
Fri Aug 25 16:00:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 4078733e58f156dcf5c472a40eb90ee1026407ff
      https://github.com/dovecot/core/commit/4078733e58f156dcf5c472a40eb90ee1026407ff
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

  Changed paths:
    M src/lib-index/mail-transaction-log.c

  Log Message:
  -----------
  lib-index: Avoid opening .log.2 file if .log was reset

After a reset there's no point in trying to read the older log files.
This avoids trying to open .log.2 at least for newly created mailboxes
when trying to lookup log file sequence 1 (since due to some bug/feature
the log files start from sequence 2).




More information about the dovecot-cvs mailing list