[dovecot/core] 4ff562: fts: Don't reindex FTS mails if .cache file is del...

GitHub noreply at github.com
Fri Feb 9 12:00:18 EET 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 4ff562147f7b6b944b199e0cfcd0c5f365171346
      https://github.com/dovecot/core/commit/4ff562147f7b6b944b199e0cfcd0c5f365171346
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

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

  Log Message:
  -----------
  fts: Don't reindex FTS mails if .cache file is deleted

This means that if fts is enabled, "doveadm index" no longer adds mails
to dovecot.index.cache if it's deleted. However, it was rarely used for
that purpose. More likely due to a corrupted cache file all the mails were
unnecessarily being opened and reindexed.


  Commit: 34c8465c8505c6000be30357f5e4c54dcbcc05a0
      https://github.com/dovecot/core/commit/34c8465c8505c6000be30357f5e4c54dcbcc05a0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  fs-posix: Fix iterating directories when readdir() returns DT_UNKNOWN

Files were iterated correctly, but directories weren't. This mainly broke
directory iteration with NFS when nordirplus mount option was used.


Compare: https://github.com/dovecot/core/compare/3d1f927e3cf5...34c8465c8505


More information about the dovecot-cvs mailing list