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

GitHub noreply at github.com
Mon Sep 18 10:30:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f5d82a4b87a9b17894e1869cfe8b1a90afbced59
      https://github.com/dovecot/core/commit/f5d82a4b87a9b17894e1869cfe8b1a90afbced59
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-18 (Mon, 18 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: c300d63f279be299ed07d749c4de7a3443278117
      https://github.com/dovecot/core/commit/c300d63f279be299ed07d749c4de7a3443278117
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-18 (Mon, 18 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: 68ba222d8a82047c1b85f5ae31ec7758089fdfe8
      https://github.com/dovecot/core/commit/68ba222d8a82047c1b85f5ae31ec7758089fdfe8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-18 (Mon, 18 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: 5a444fdfabcc0c75708c21e84dc8b87eddab7335
      https://github.com/dovecot/core/commit/5a444fdfabcc0c75708c21e84dc8b87eddab7335
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-18 (Mon, 18 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.


Compare: https://github.com/dovecot/core/compare/9bea325875d1...5a444fdfabcc


More information about the dovecot-cvs mailing list