diff options
author | Martin Schwenke <martin@meltin.net> | 2017-10-23 11:50:51 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2017-11-07 03:53:27 +0100 |
commit | 4b652c1527afe7eff4075c95946abfa114d74015 (patch) | |
tree | 182066de09ce91e945e8d1787e86c190637c2efb /testprogs | |
parent | f025f5c0a7c33faa4fbcffd6808999f403d164d4 (diff) | |
download | samba-4b652c1527afe7eff4075c95946abfa114d74015.tar.gz |
ctdb-scripts: Don't bother checking PID file when starting ctdbd
This is an optimisation that can cause incorrect results. If ctdbd
was killed and there is a stale PID file then this will often cause
"CTDB exited during initialisation". The wrapper reads the old PID
from the PID file, finds the PID gone, complains and exits.
It is better to drop this code and finally get this right. If ctdbd
does exit early then it will take CTDB_STARTUP_TIMEOUT (default 10)
seconds before the wrapper fails. That's not too bad...
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'testprogs')
0 files changed, 0 insertions, 0 deletions