[dovecot/core] 4187b0: director: Fix tracking user move count when user i...

GitHub noreply at github.com
Thu Oct 5 13:30:12 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 4187b0f718f33277b378fc6feb12b70447f2daab
      https://github.com/dovecot/core/commit/4187b0f718f33277b378fc6feb12b70447f2daab
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 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: 771734711afb6740dd6b215dcfb44ccced49b200
      https://github.com/dovecot/core/commit/771734711afb6740dd6b215dcfb44ccced49b200
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 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/b230a8863f3b...771734711afb


More information about the dovecot-cvs mailing list