[dovecot/core] 1654e6: director: Fix crash when flush is run and all back...

GitHub noreply at github.com
Thu Sep 21 11:30:13 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 1654e67e593eed104b80ace69616e84458402579
      https://github.com/dovecot/core/commit/1654e67e593eed104b80ace69616e84458402579
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

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

  Log Message:
  -----------
  director: Fix crash when flush is run and all backends are down.

Instead of moving the users elsewhere, just kill them and flush the backend.


  Commit: 9b3025548d3a7d6b098147fc978616d329cfdeda
      https://github.com/dovecot/core/commit/9b3025548d3a7d6b098147fc978616d329cfdeda
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

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

  Log Message:
  -----------
  doveadm director: Improve logging unexpected disconnections from director socket

Previously it just logged "failed", which wasn't very understandable.


  Commit: 9f103210f9e1f408592f4d1594b80a68d671adb5
      https://github.com/dovecot/core/commit/9f103210f9e1f408592f4d1594b80a68d671adb5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Delay calling state_change_callback() after user kick is finished

Otherwise it can get into recursive loop and cause problems.


  Commit: 31865444eca6f34ce129194025fa19147e24a235
      https://github.com/dovecot/core/commit/31865444eca6f34ce129194025fa19147e24a235
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

  Changed paths:
    M src/director/main.c

  Log Message:
  -----------
  director: Avoid "ring sync timeout" errors when all backends are down

doveadm commands were failing with it. Also pending request failures were
logged as failing due to ring sync timeout, instead of because no hosts.


  Commit: a0ec1e9eb07d93db164994590cb46c11a7ba5d1e
      https://github.com/dovecot/core/commit/a0ec1e9eb07d93db164994590cb46c11a7ba5d1e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-21 (Thu, 21 Sep 2017)

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

  Log Message:
  -----------
  director: Fix flush to kick the user also when all backends are down

The user's host can't change, because there are no other hosts. So add a
new parameter to force the kick anyway.


Compare: https://github.com/dovecot/core/compare/a3de897e2a85...a0ec1e9eb07d


More information about the dovecot-cvs mailing list