[dovecot/core] 7a7a88: dict-client: If commit fails to send BEGIN, don't ...

GitHub noreply at github.com
Fri Jul 1 15:00:17 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 7a7a88bb506a4af2a79147925b410adeca41a4a8
      https://github.com/dovecot/core/commit/7a7a88bb506a4af2a79147925b410adeca41a4a8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: If commit fails to send BEGIN, don't try sending anything else.

Fixes memory leak and also fixes overwriting the original error message.


  Commit: 7c40beb8af570f64ea23f451e0bfc5e2fa727ac0
      https://github.com/dovecot/core/commit/7c40beb8af570f64ea23f451e0bfc5e2fa727ac0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: When skipping connect() due to earlier failure, preserve the original error.


  Commit: d1b137be882773c5de9e852fbf5efc2b4736d6d3
      https://github.com/dovecot/core/commit/d1b137be882773c5de9e852fbf5efc2b4736d6d3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

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

  Log Message:
  -----------
  LAYOUT=index: Make sure error is preserved if created mailbox can't be added to list index.

mailbox_delete() could overwrite the error.


  Commit: 971d8e933ca780b52d9662c008958e8b25604330
      https://github.com/dovecot/core/commit/971d8e933ca780b52d9662c008958e8b25604330
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

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

  Log Message:
  -----------
  cassandra: Warn if queries take too long (default 5 secs)

Can be changed with e.g. "connect = ... warn_timeout=30s"


  Commit: ae79144cbd249a820b8b201888636e115fd1cab7
      https://github.com/dovecot/core/commit/ae79144cbd249a820b8b201888636e115fd1cab7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

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

  Log Message:
  -----------
  cassandra: If query fails, include how long the reply took in the error message.


  Commit: 0597f83b7230c6dd99c798eb0d258fdcd185b6f1
      https://github.com/dovecot/core/commit/0597f83b7230c6dd99c798eb0d258fdcd185b6f1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

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

  Log Message:
  -----------
  cassandra: Added debug_queries connect setting.

This logs all the queries and how long they took, without having to log all
the other Cassandra library debug messages.


  Commit: e0b20cec3a8d88f4c6a757a5f77ca889ed1221a4
      https://github.com/dovecot/core/commit/e0b20cec3a8d88f4c6a757a5f77ca889ed1221a4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: Don't log slow background async commit/iteration replies.

If a caller has already finished iteration, or does async commit without a
callback, it means that it started the query without caring when it
finishes. The caller may already have been doing blocking work while
waiting for the dict reply. We don't want to log a warning, because it
could be completely wrong.


  Commit: 765b9a433169bc2768f19e712564ffa0319a786a
      https://github.com/dovecot/core/commit/765b9a433169bc2768f19e712564ffa0319a786a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: Make sure query's start_time is up-to-date.


  Commit: 4f6d918d68ded42d5c964d663a9d5bc2f10ec5d0
      https://github.com/dovecot/core/commit/4f6d918d68ded42d5c964d663a9d5bc2f10ec5d0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M src/lib-http/http-client-request.c

  Log Message:
  -----------
  lib-http: Clarify response message when retries have happened.

"1 attempts" sounds like 1 attempt in total, while this was actually the
second attempt.


  Commit: 804d4d397b44840a40c4018074553978e27efb74
      https://github.com/dovecot/core/commit/804d4d397b44840a40c4018074553978e27efb74
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

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

  Log Message:
  -----------
  lib-storage: Fixed mailbox_delete_empty() error message when mails exist


  Commit: 93fa374e8b7e63ff813b29d4db8b4a0847164ceb
      https://github.com/dovecot/core/commit/93fa374e8b7e63ff813b29d4db8b4a0847164ceb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M src/lib-dcrypt/ostream-encrypt.c

  Log Message:
  -----------
  lib-dcrypt: Removed dead code.


  Commit: 8f254394f85d643bcec86c23bcb62b8348f04b08
      https://github.com/dovecot/core/commit/8f254394f85d643bcec86c23bcb62b8348f04b08
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M doc/man/doveadm-mailbox.1.in

  Log Message:
  -----------
  man: Provide usage for doveadm mailbox update


  Commit: 943b057de7a22cd3e97899600a9ff49cea2d67eb
      https://github.com/dovecot/core/commit/943b057de7a22cd3e97899600a9ff49cea2d67eb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-07-01 (Fri, 01 Jul 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: Attempt to connect to dict socket for 1 second before failing.


Compare: https://github.com/dovecot/core/compare/74bb40acd771...943b057de7a2


More information about the dovecot-cvs mailing list