[dovecot/core] d708ff: imapc: Fix re-sending retryable commands after rec...

GitHub noreply at github.com
Sun Jan 15 18:00:13 UTC 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: d708ff35e61678f3b9f3c6db45fe51450092a86d
      https://github.com/dovecot/core/commit/d708ff35e61678f3b9f3c6db45fe51450092a86d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

  Changed paths:
    M src/lib-imap-client/imapc-client.c
    M src/lib-imap-client/imapc-connection.c
    M src/lib-imap-client/imapc-connection.h

  Log Message:
  -----------
  imapc: Fix re-sending retryable commands after reconnect


  Commit: 327fa45dad2f809320670a6895e2199549ee7394
      https://github.com/dovecot/core/commit/327fa45dad2f809320670a6895e2199549ee7394
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  lib-storage: Fix accessing the same "raw" mailbox multiple times in process.

If the same file was opened as the raw mailbox multiple times, the previous
mail_index was cached by mail-index-alloc-cache. Opening it the second time
already contained a mail in the index, so trying to add another one logged
an error:

Error: Log synchronization error at seq=1,offset=256 for (in-memory index): Append with UID 1, but next_uid = 2


  Commit: bfd7b7ec4af8e1d1ba2c67a884a40f357c7ee5b2
      https://github.com/dovecot/core/commit/bfd7b7ec4af8e1d1ba2c67a884a40f357c7ee5b2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  dict-sql: Fix previous "merge sets" to flush at commit

The last dict_set() within transaction was being ignored.


  Commit: 25d27047cbb87df06e6f85f3da1545a02c0ea6ed
      https://github.com/dovecot/core/commit/25d27047cbb87df06e6f85f3da1545a02c0ea6ed
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  dict-sql: Remove unnecessary "affected rows" tracking from dict_set()

This was useful for dict_atomic_inc(), but not for dict_set().

Fixes assert-crash with Cassandra:
Panic: file driver-cassandra.c: line 1350 (driver_cassandra_update): assertion failed: (affected_rows == NULL)


  Commit: b1305848bc19cd1f4196a913c01bcb5f5faf973c
      https://github.com/dovecot/core/commit/b1305848bc19cd1f4196a913c01bcb5f5faf973c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

  Changed paths:
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-sql.c
    M src/lib-dict/dict.c
    M src/lib-dict/dict.h
    M src/plugins/dict-ldap/dict-ldap.c

  Log Message:
  -----------
  lib-dict: Add support for lookup to return multiple values

Implements only the initial stubs to the drivers.


  Commit: f58c640875186a360dbcaf96d959840c3d6ccf0f
      https://github.com/dovecot/core/commit/f58c640875186a360dbcaf96d959840c3d6ccf0f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  dict-client: Support multiple values for lookups


  Commit: a08f235fd1ebb32eedc50b779bb5286994a6af2b
      https://github.com/dovecot/core/commit/a08f235fd1ebb32eedc50b779bb5286994a6af2b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

  Changed paths:
    M src/lib-dict/dict-sql-settings.c
    M src/lib-dict/dict-sql-settings.h
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: Support multiple values for lookups

The value's fields must be comma-separated without spaces, for example:

map {
  value_field = field1,field2
  value_type = string,uint
  ...

Only the first field is used for INSERTs and UPDATEs.


  Commit: 5f6b6dcb672e4fc276644db96534ab1a9c842f02
      https://github.com/dovecot/core/commit/5f6b6dcb672e4fc276644db96534ab1a9c842f02
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  doveadm dict get: Support printing multiple values.


  Commit: fffd49ca0097f7b0e5fc05bf877a8a7749a6279b
      https://github.com/dovecot/core/commit/fffd49ca0097f7b0e5fc05bf877a8a7749a6279b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  lib-storage: Stop namespaces_added|created hooks immediately when user has failed


  Commit: 23c8b1877c476e604c920662e24df67fa71fe2de
      https://github.com/dovecot/core/commit/23c8b1877c476e604c920662e24df67fa71fe2de
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  lib-storage: Add struct mail_user.namespaces_created

This makes it easier to determine in mail_namespaces_added hook if the
namespaces being added are the initial ones or later ones.


  Commit: b1dc39e5363969ba74919b2419c1f8cdeebfaf61
      https://github.com/dovecot/core/commit/b1dc39e5363969ba74919b2419c1f8cdeebfaf61
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-15 (Sun, 15 Jan 2017)

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

  Log Message:
  -----------
  lib-storage: If namespaces weren't successfully created, don't autoexpunge at deinit.


Compare: https://github.com/dovecot/core/compare/00fc96e99db2...b1dc39e53639


More information about the dovecot-cvs mailing list