[dovecot/core] 24ffb6: lib-storage: Once hooks have run, set vlast to NUL...

GitHub noreply at github.com
Sat Feb 4 14:00:15 UTC 2017


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

  Changed paths:
    M src/lib-storage/mail-storage-hooks.c

  Log Message:
  -----------
  lib-storage: Once hooks have run, set vlast to NULL to make sure it's not used

The functions can't be correctly overridden outside their own specific
hooks. It would work only if hook_build_update() is called afterwards and
currently there's no public API for that.


  Commit: 921f061651619d9f1cd056926ad0c32ce508bcfc
      https://github.com/dovecot/core/commit/921f061651619d9f1cd056926ad0c32ce508bcfc
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-02-04 (Sat, 04 Feb 2017)

  Changed paths:
    M src/plugins/fts/fts-plugin.c
    M src/plugins/fts/fts-storage.c
    M src/plugins/fts/fts-storage.h

  Log Message:
  -----------
  fts: Use mailbox_list_created hook

Otherwise the deinit hook might get lost and fts would not be deinitialized.

Reverts 11f12ca1c97583b551a4286fa6cd1ab33aa67680 which seems to have been unnecessary

Fixes indexer-worker signal 11 crash


  Commit: ab14fa88a5c447f94eb4f9e6eb737e47704162f6
      https://github.com/dovecot/core/commit/ab14fa88a5c447f94eb4f9e6eb737e47704162f6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-02-04 (Sat, 04 Feb 2017)

  Changed paths:
    M src/lib-storage/mail-autoexpunge.c

  Log Message:
  -----------
  lib-storage: Fix autoexpunge locking to actually work correctly.

It wasn't actually skipping the autoexpunging if the lock already existed.
It autoexpunged anyway.


  Commit: 9c65e8699036ff6d25de740043c752d7c1a991f2
      https://github.com/dovecot/core/commit/9c65e8699036ff6d25de740043c752d7c1a991f2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-02-04 (Sat, 04 Feb 2017)

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

  Log Message:
  -----------
  lib-storage: Expunging now uses GUID only if it's in cache.

Otherwise the GUID lookup may be expensive, which is especially bad when
deleting a large number of mails.


Compare: https://github.com/dovecot/core/compare/7954017659a3...9c65e8699036


More information about the dovecot-cvs mailing list