[dovecot/core] 308048: lib-index: fsck: Don't change log_file_tail_offset...

GitHub noreply at github.com
Sun May 20 19:00:13 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 308048a191425b7a8113414040bc5a3169867def
      https://github.com/dovecot/core/commit/308048a191425b7a8113414040bc5a3169867def
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-20 (Sun, 20 May 2018)

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

  Log Message:
  -----------
  lib-index: fsck: Don't change log_file_tail_offset=0


  Commit: f04adc2f9bb683c746fd6712e5713060231331ef
      https://github.com/dovecot/core/commit/f04adc2f9bb683c746fd6712e5713060231331ef
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-20 (Sun, 20 May 2018)

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

  Log Message:
  -----------
  lib-index: fsck: Fix small log offsets to file's correct header size

Use the file's actual current header size, not
MAIL_TRANSACTION_LOG_HEADER_MIN_SIZE, which is nowadays smaller. This
resulted in unnecessary errors like:

Corrupted transaction log file ...: Invalid min_file_offset: ..., min_file_offset (24) < hdr_size (40)


Compare: https://github.com/dovecot/core/compare/5ea4e2c64a18...f04adc2f9bb6
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list