[dovecot/core] e0f4fb: lib-index: Add macros to check if transaction log ...

GitHub noreply at github.com
Sun Apr 2 21:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: e0f4fbf127b192667c62af7875c4f2ca294b6c7a
      https://github.com/dovecot/core/commit/e0f4fbf127b192667c62af7875c4f2ca294b6c7a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-02 (Sun, 02 Apr 2017)

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

  Log Message:
  -----------
  lib-index: Add macros to check if transaction log file version is new enough.

The version numbers are 8bit, so we can generate a single 16bit number out
of them.


  Commit: 92dab926b2f2270057b40a907a00cf8eb2309ed6
      https://github.com/dovecot/core/commit/92dab926b2f2270057b40a907a00cf8eb2309ed6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-02 (Sun, 02 Apr 2017)

  Changed paths:
    M src/doveadm/doveadm-dump-log.c
    M src/lib-index/mail-index-transaction-export.c
    M src/lib-index/mail-transaction-log-append.c
    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-view.c
    M src/lib-index/mail-transaction-log.c
    M src/lib-index/mail-transaction-log.h
    M src/lib-index/test-mail-transaction-log-append.c
    M src/lib-index/test-mail-transaction-log-view.c

  Log Message:
  -----------
  lib-index: Don't increase modseq for backend/dirty flag changes

These flags are used only for internal changes and they shouldn't be
triggering any modseq changes.

To avoid modseqs from unexpectedly shrinking, the new modseq counting
behavior is enabled only for newly rotated transaction log files that have
a new minor_version.


Compare: https://github.com/dovecot/core/compare/28be42b4c27b...92dab926b2f2


More information about the dovecot-cvs mailing list