[dovecot/core] 0b45d8: lib-storage: Avoid unnecessary UIDNEXT lookups aft...

GitHub noreply at github.com
Fri May 12 22:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 0b45d816c73e0bfba55d84fb50005ba2714ac0fa
      https://github.com/dovecot/core/commit/0b45d816c73e0bfba55d84fb50005ba2714ac0fa
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M src/lib-storage/index/index-mailbox-size.c

  Log Message:
  -----------
  lib-storage: Avoid unnecessary UIDNEXT lookups after saving a mail

The vsize checking code was expecting that this would always be a cheap
operation, but with imapc code it could trigger a remote STATUS (UIDNEXT)
call. Do this only when we've checked that this mailbox is updating vsize
header at all.


  Commit: 635f1b145fa159d7de55aaf527c904f071667e0b
      https://github.com/dovecot/core/commit/635f1b145fa159d7de55aaf527c904f071667e0b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-sync.c
    M src/lib-storage/index/imapc/imapc-sync.h

  Log Message:
  -----------
  imapc: Try to merge STOREs together as much as possible when syncing


Compare: https://github.com/dovecot/core/compare/dee1520b5166...635f1b145fa1


More information about the dovecot-cvs mailing list