[dovecot/core] 9cd764: cassandra: Fix confusing debug logging for paged q...

GitHub noreply at github.com
Tue Aug 22 14:25:10 EEST 2017


  Branch: refs/tags/2.2.32.rc2
  Home:   https://github.com/dovecot/core
  Commit: 9cd764c8bf2c3acc97221d13334528f6a29b83cf
      https://github.com/dovecot/core/commit/9cd764c8bf2c3acc97221d13334528f6a29b83cf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/lib-sql/driver-cassandra.c

  Log Message:
  -----------
  cassandra: Fix confusing debug logging for paged query results.

Even when caller supported paged queries, the debug output contained
"Paged query has more results, but not supported by the caller".
Clear out the error after sql_result_more() is called, so it won't be
logged.


  Commit: a9fc39fe95941be50c721f4f52163f318d83d483
      https://github.com/dovecot/core/commit/a9fc39fe95941be50c721f4f52163f318d83d483
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/imap/imap-master-client.c

  Log Message:
  -----------
  imap: Flush response to client before starting possibly long operation

Fixes Error: Timeout communicating with /var/run/dovecot/imap-master (version received)


  Commit: 6b0afefa3c57d09f6f8ef615873b2c5c366c20bf
      https://github.com/dovecot/core/commit/6b0afefa3c57d09f6f8ef615873b2c5c366c20bf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/lib/file-create-locked.c

  Log Message:
  -----------
  lib: file_create_locked() - Treat mkdir() EEXIST error as success

This can happen in race conditions when multiple processes are mkdir()ing
the same directory. It shouldn't result in failure.


  Commit: 3240e15e780e010c46df5d6e08f7d4cef02854a6
      https://github.com/dovecot/core/commit/3240e15e780e010c46df5d6e08f7d4cef02854a6
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/imap/imap-master-client.c

  Log Message:
  -----------
  imap: Set client created before initializing namespaces

Fixes Panic: file master-service.c: line 819 (master_service_client_connection_destroyed): assertion failed: (service->master_status.available_count < service->total_available_count)


  Commit: c3e19570491ac709f3427aef7f804aa4976fb44a
      https://github.com/dovecot/core/commit/c3e19570491ac709f3427aef7f804aa4976fb44a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/lib-ldap/ldap-connection.c

  Log Message:
  -----------
  lib-ldap: Store error if sending request to LDAP fails

If the request cannot be sent e.g. due to bad search filter
store the error into the result.

Fixes Panic: file ldap-connection.c: line 709 (ldap_result_has_failed): assertion failed: ((result->openldap_ret == LDAP_SUCCESS) == (result->error_string == NULL))


  Commit: 9b52f07e5da5a9011e291b20a1eb8c98686f5cf9
      https://github.com/dovecot/core/commit/9b52f07e5da5a9011e291b20a1eb8c98686f5cf9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/plugins/dict-ldap/dict-ldap.c

  Log Message:
  -----------
  dict-ldap: Escape LDAP search filter properly

This is syntaxical escaping to make ldap servers accept queries
with escapable characters, instead of erroring out. It is possible
that the filter could have been modified in unexpected ways
if the input comes from untrusted sources.


  Commit: 21bcb7bd6d2cbed1b129d68a075b211fe7d3ebdf
      https://github.com/dovecot/core/commit/21bcb7bd6d2cbed1b129d68a075b211fe7d3ebdf
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/auth/db-ldap.c

  Log Message:
  -----------
  auth: Escape LDAP search filter properly

This is syntaxical escaping to make ldap servers accept queries
with escapable characters, instead of erroring out.


  Commit: 5f3f3a6f4a5232c83c2803926f1369cf05aeba5e
      https://github.com/dovecot/core/commit/5f3f3a6f4a5232c83c2803926f1369cf05aeba5e
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

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

  Log Message:
  -----------
  lib-storage: added settings updating function for the mail_storage_service user


  Commit: e0bc01d7f1427ef0685e2ea2da0a174028d1993b
      https://github.com/dovecot/core/commit/e0bc01d7f1427ef0685e2ea2da0a174028d1993b
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/doveadm/doveadm-mail.c

  Log Message:
  -----------
  doveadm: mailbox_list_index_very_dirty_syncs disabled for force-resync

prerun of cmd force-resync sets mailbox_list_index_very_dirty_syncs to
no for mail_storage_service_user befor mail_user is allocated.


  Commit: 77418781e94a8491cbc637a3432be6585367415c
      https://github.com/dovecot/core/commit/77418781e94a8491cbc637a3432be6585367415c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

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

  Log Message:
  -----------
  lib-index: Fix compiler warning in test-mail-transaction-log-file


  Commit: a0bee45282f00bd447d29e3ade9ad58d5db09ff8
      https://github.com/dovecot/core/commit/a0bee45282f00bd447d29e3ade9ad58d5db09ff8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

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

  Log Message:
  -----------
  lib-index: Add mail_cache_close_mail() to smartly drop cached data with INDEX=MEMORY

Instead of reseting the entire transaction buffer when 256 kB is reached,
just drop mails have have been marked closed with mail_cache_close_mail().
If that's not enough, continue deleting forcibly until the buffer is below
256 kB.

This is especially important when mail_prefetch_count>0 and INDEX=MEMORY.
In that case there can be multiple mails that are being added to cache
and used later on. If they were dropped from cache too early, the work
would have to be done all over again.


  Commit: 55d0d2b779b5d492c0756c56c5db8365d84bf912
      https://github.com/dovecot/core/commit/55d0d2b779b5d492c0756c56c5db8365d84bf912
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

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

  Log Message:
  -----------
  lib-storage: Call mail_cache_close_mail() when mail is closed

Fixes caching problems with INDEX=MEMORY


  Commit: 15e10cd47d260113a3324bbb5a179b4086d4171d
      https://github.com/dovecot/core/commit/15e10cd47d260113a3324bbb5a179b4086d4171d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M configure.ac
    A m4/want_apparmor.m4
    M src/plugins/Makefile.am
    A src/plugins/apparmor/Makefile.am
    A src/plugins/apparmor/apparmor-plugin.c

  Log Message:
  -----------
  apparmor: Add apparmor plugin

It lets dovecot temporarily switch to a new apparmor
context for a user.


  Commit: 48f0cec1780a1a32c43605d7d6bae60f5591eaa0
      https://github.com/dovecot/core/commit/48f0cec1780a1a32c43605d7d6bae60f5591eaa0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-22 (Tue, 22 Aug 2017)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Fix rapid reconnection on failed outgoing connections

last_network_failure wasn't set, which caused a failed outgoing connection
to immediately reconnect to it. This resulted in rapid logging of
connect() errors.


  Commit: a350120caedc5de4ae3dec2b67cd44b39524b227
      https://github.com/dovecot/core/commit/a350120caedc5de4ae3dec2b67cd44b39524b227
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-22 (Tue, 22 Aug 2017)

  Changed paths:
    M NEWS
    M configure.ac

  Log Message:
  -----------
  Released v2.2.32.rc2.


Compare: https://github.com/dovecot/core/compare/9cd764c8bf2c^...a350120caedc


More information about the dovecot-cvs mailing list