[dovecot/core] c7a5b3: imapc-quota: Avoid sending unnecessarily many GETQ...

GitHub noreply at github.com
Tue May 16 11:00:13 EEST 2017


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

  Changed paths:
    M src/plugins/quota/quota-imapc.c

  Log Message:
  -----------
  imapc-quota: Avoid sending unnecessarily many GETQUOTA[ROOT] commands

The last_refresh == ioloop_timeval check didn't work, because the refresh
itself updated ioloop_timeval. This caused a single quota lookup to issue
multiple GETQUOTA[ROOT] commands to imapc.


  Commit: d9d4a247b9a7b3e3bb8044e83e4ad2c83e7d813a
      https://github.com/dovecot/core/commit/d9d4a247b9a7b3e3bb8044e83e4ad2c83e7d813a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-16 (Tue, 16 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: ab396a8a0ea43def867c97a256c83b4be674ac6e
      https://github.com/dovecot/core/commit/ab396a8a0ea43def867c97a256c83b4be674ac6e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-16 (Tue, 16 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/be741f4c5bed...ab396a8a0ea4


More information about the dovecot-cvs mailing list