[dovecot/core] 87c3d6: cassandra: Fallback consistency fix - max retry in...

GitHub noreply at github.com
Thu Mar 30 21:00:16 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 87c3d632c4050d28f6fb2707a73982cca235e62e
      https://github.com/dovecot/core/commit/87c3d632c4050d28f6fb2707a73982cca235e62e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  cassandra: Fallback consistency fix - max retry interval was set wrong

The maximum msecs is _MAX_RETRY_MSECS, not _FIRST_RETRY_MSECS


  Commit: 454f3876bff0c876b3992913b9c12149a625fb87
      https://github.com/dovecot/core/commit/454f3876bff0c876b3992913b9c12149a625fb87
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  cassandra: Fallback consistency fix - it wasn't used permanently

Because the "do I want to retry using primary consistency?" check was done
using the first failure timestamp, after 60 seconds that check always
returned TRUE. We should instead be checking the last timestamp for a
query that was sent with the primary consistency.


  Commit: 1fdc2de588c78e9e249eef04fb98c0172ae5d83d
      https://github.com/dovecot/core/commit/1fdc2de588c78e9e249eef04fb98c0172ae5d83d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/config/config-settings.c

  Log Message:
  -----------
  config: Don't stop the process due to idling.

If the config process restarts, it also reloads configuration. We'd rather
want the configuration reloads to always be explicit.


  Commit: ee4ce072d799cb9d3ef115875350dce4b5d9e8dc
      https://github.com/dovecot/core/commit/ee4ce072d799cb9d3ef115875350dce4b5d9e8dc
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  lib-storage: Indicate mail is being autoexpunged

This way plugins, such as mail_log, can detect this.


  Commit: 28cdaf64379e761fa8a58e173e4f783da1b56f63
      https://github.com/dovecot/core/commit/28cdaf64379e761fa8a58e173e4f783da1b56f63
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/plugins/mail-log/mail-log-plugin.c

  Log Message:
  -----------
  mail-log: Differentiate autoexpunges from expunges


  Commit: 5f2a6395a50314aacf3f757fa3751e61568dd87c
      https://github.com/dovecot/core/commit/5f2a6395a50314aacf3f757fa3751e61568dd87c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/lib/guid.c
    M src/lib/guid.h
    M src/lib/test-guid.c

  Log Message:
  -----------
  lib: Add uuid support to guid


  Commit: b0fcc4f492c7b3151abb6c57b661b18009f889c0
      https://github.com/dovecot/core/commit/b0fcc4f492c7b3151abb6c57b661b18009f889c0
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/auth/auth-request.c

  Log Message:
  -----------
  auth: Mark username changed if it's changes in auth_request_try_update_username

It was forgotten in by 865a82c1


  Commit: c2bdba68268556cc7c3d0fdd05a0454ad6d4639d
      https://github.com/dovecot/core/commit/c2bdba68268556cc7c3d0fdd05a0454ad6d4639d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/auth/auth-request.c

  Log Message:
  -----------
  auth: Do not cache username unless it was changed by lookup

This could've caused usernames to be unexpectedly changed
because they were cached by a lookup that did not include
username in the cache key.


  Commit: 90927c83cd54c682d887e22276c497d2faf1e49a
      https://github.com/dovecot/core/commit/90927c83cd54c682d887e22276c497d2faf1e49a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  lib-dict: Keep a linked list of all transactions in dict.

This helps debugging if a transaction is leaked.


  Commit: d6baf552a85470661a1886fbdf2c82cbe27a06c5
      https://github.com/dovecot/core/commit/d6baf552a85470661a1886fbdf2c82cbe27a06c5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  lib-storage: Fix potential dict transaction leak on transaction rollback.


  Commit: 8dca8b41ce00eecc0204f709f0bb2836f8d7f6e6
      https://github.com/dovecot/core/commit/8dca8b41ce00eecc0204f709f0bb2836f8d7f6e6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/doveadm/doveadm-dump-log.c

  Log Message:
  -----------
  doveadm dump log: Use istream for reading the file.

Cleans up the code a bit and removes the 1MB record limit.


  Commit: d49124818069c447d9a640774e0d558e0a2539ab
      https://github.com/dovecot/core/commit/d49124818069c447d9a640774e0d558e0a2539ab
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/doveadm/doveadm-dump-log.c

  Log Message:
  -----------
  doveadm dump log: Cleanup - don't change hdr.size

Needed by the next commit.


  Commit: 6c6fe8d884c8ba69af5abc28adacea81f0027af6
      https://github.com/dovecot/core/commit/6c6fe8d884c8ba69af5abc28adacea81f0027af6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/doveadm/doveadm-dump-log.c

  Log Message:
  -----------
  doveadm dump log: Use shared lib-index code for updating modseq

When MAIL_TRANSACTION_MODSEQ_UPDATE records were seen, the printed modseqs
afterwards weren't correct.

Now that mail_transaction_update_modseq() is used, we don't need to keep
this code synchronized with it.


  Commit: ac37a92a9314f80d96237122a2c6b404093909ee
      https://github.com/dovecot/core/commit/ac37a92a9314f80d96237122a2c6b404093909ee
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/master/service-process.c

  Log Message:
  -----------
  master: When logging fork() EAGAIN failure, include current ulimit -u value


  Commit: 276dedbc72e9e8755d9b79b4d846be90ba0682b5
      https://github.com/dovecot/core/commit/276dedbc72e9e8755d9b79b4d846be90ba0682b5
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/director/director-connection.c
    M src/director/doveadm-connection.c
    M src/director/mail-host.c
    M src/director/mail-host.h

  Log Message:
  -----------
  director: Log vhost count changes and HOST-UP/DOWN


  Commit: b4820284ae0d5f07c5a88ac256580f175ae3557e
      https://github.com/dovecot/core/commit/b4820284ae0d5f07c5a88ac256580f175ae3557e
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  push-notification-driver-ox: Wait for http requests to finish in deinit

This is to make sure mail_user is still usable in http response
callback.


  Commit: d2cda64e7ab14ba1eb216315b16557c6905927fd
      https://github.com/dovecot/core/commit/d2cda64e7ab14ba1eb216315b16557c6905927fd
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  driver-cassandra: Add metric for slow queries


  Commit: f76d3786a74496476c2db402f324e439abee99d3
      https://github.com/dovecot/core/commit/f76d3786a74496476c2db402f324e439abee99d3
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/lib/test-ostream-escaped.c

  Log Message:
  -----------
  test: lib: Check o_stream_send return value

Make static analyzers happier


  Commit: 63bc80a8e50327329554eb17605882253f21680b
      https://github.com/dovecot/core/commit/63bc80a8e50327329554eb17605882253f21680b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/lib-http/test-http-server.c

  Log Message:
  -----------
  test: lib-http: Check o_stream_send return value

Makes static analyzers happier


  Commit: dc50da71ba181a5f524fd40cfdbdf857fc0837dc
      https://github.com/dovecot/core/commit/dc50da71ba181a5f524fd40cfdbdf857fc0837dc
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/plugins/mail-crypt/test-mail-key.c

  Log Message:
  -----------
  test: mail-crypt: Check dcrypt_id_key_private_old return value

Makes static analyzers happier


  Commit: 3c269a88e10869c8610dd29e8f9a8e37111d038b
      https://github.com/dovecot/core/commit/3c269a88e10869c8610dd29e8f9a8e37111d038b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/lib-fts/test-fts-tokenizer.c

  Log Message:
  -----------
  test: lib-fts: Ignore uni_utf8_get_valid_data return value

Makes static analyzers happier


  Commit: df6396438c58587ebb34e2100c2de041843e902b
      https://github.com/dovecot/core/commit/df6396438c58587ebb34e2100c2de041843e902b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/lib/test-priorityq.c

  Log Message:
  -----------
  test: lib: Ensure item is not null

Makes static analyzers happier


  Commit: f5132aa882f0773d2227d75bd0cc3228b584602d
      https://github.com/dovecot/core/commit/f5132aa882f0773d2227d75bd0cc3228b584602d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  test: lib-index: Ensure conficts_seqs is created in test

Makes static analyzers happier


  Commit: b64df825306071ed0948e845a56d5d0f27281833
      https://github.com/dovecot/core/commit/b64df825306071ed0948e845a56d5d0f27281833
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M src/plugins/fts-squat/squat-test.c

  Log Message:
  -----------
  test: fts-squat: Ignore gettimeofday return value in test

Makes static analyzers happier


  Commit: 1389da1b90ffce05497b10dbb9423e81c7a0dec7
      https://github.com/dovecot/core/commit/1389da1b90ffce05497b10dbb9423e81c7a0dec7
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  test: lib-http: Check write_full return value in test

Makes static analyzers happier


Compare: https://github.com/dovecot/core/compare/c1b218cd6da5...1389da1b90ff


More information about the dovecot-cvs mailing list