]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
director: Added "up" vs "down" states and doveadm director up/down commands.
authorTimo Sirainen <tss@iki.fi>
Mon, 18 May 2015 11:49:15 +0000 (07:49 -0400)
committerTimo Sirainen <tss@iki.fi>
Mon, 18 May 2015 11:49:15 +0000 (07:49 -0400)
commita5ddfd7a8b473f73135b93d5e081e470a87f0f7e
tree3227fd10716c8c2114bbc4609e4fb79f134ea788
parentf3779c0540f0dc8700fd2aef922d69dcc6b0194e
director: Added "up" vs "down" states and doveadm director up/down commands.
These commands are intended to be used by automated watchdogs that detect if
backends are up or down. This way the vhost count doesn't get forgotten
after server goes down. It also means that admin can manually take down a
server by setting its vhost count to 0 without the watchdog automatically
bringing it back up.
src/director/director-connection.c
src/director/director.c
src/director/director.h
src/director/doveadm-connection.c
src/director/mail-host.c
src/director/mail-host.h
src/doveadm/doveadm-director.c