[dovecot/core] 34642c: director: Fix tracking user move count when user i...

GitHub noreply at github.com
Wed Oct 4 20:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 34642ccff3ad4906cd365d0cb3deaa1e4f16610b
      https://github.com/dovecot/core/commit/34642ccff3ad4906cd365d0cb3deaa1e4f16610b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-04 (Wed, 04 Oct 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Fix tracking user move count when user is freed early

users_moving_count wasn't updated if the user was freed before killing it
finished. This caused "doveadm director flush" to hang while waiting for
the move count to drop to 0, which it never did. Also following flushes
were doing less work in parallel, or possibly even nothing since director
thought there were too many users already being moved.


  Commit: 6c76bcb36f50843dac534fc6aceabe952509e580
      https://github.com/dovecot/core/commit/6c76bcb36f50843dac534fc6aceabe952509e580
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-04 (Wed, 04 Oct 2017)

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

  Log Message:
  -----------
  director: Fix HOST-RESET-USERS when all hosts are down

If there were a lot of users being kicked, the host was flushed after the
initial round of user kills. This caused the rest of the user connections to
be just discarded instead of actually being killed.


Compare: https://github.com/dovecot/core/compare/2e07e3182f35...6c76bcb36f50


More information about the dovecot-cvs mailing list