1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/server
Martin Schwenke 44e885e98e ctdbd: Fix panic on overlapping shutdowns
The runstate can't be set to SHUTDOWN twice, so the current naive code
causes a panic on the 2nd shutdown.  This regression was introduced in
commit 8076773a9924dcf8aff16f7d96b2b9ac383ecc28.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit f1b7ca8dc3f34a59c7b3e55748f974ac9ed8f458)
2013-06-22 15:51:16 +10:00
..
ctdb_banning.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_call.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_control.c ctdbd: Fix panic on overlapping shutdowns 2013-06-22 15:51:16 +10:00
ctdb_daemon.c ctdbd: Fix panic on overlapping shutdowns 2013-06-22 15:51:16 +10:00
ctdb_freeze.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_keepalive.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_lock_helper.c locking: Add a standalone helper to lock record/db 2013-05-24 09:06:39 +10:00
ctdb_lock.c locking: Set lock helper path once 2013-05-24 09:06:40 +10:00
ctdb_logging.c logging: Notify parent when logging daemon is up 2013-06-20 13:01:10 +10:00
ctdb_ltdb_server.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_monitor.c ctdbd: Fix panic on overlapping shutdowns 2013-06-22 15:51:16 +10:00
ctdb_persistent.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_recover.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_recoverd.c recoverd: Log node that causes takoever run to fail 2013-06-13 15:55:48 +10:00
ctdb_server.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_serverids.c RB_TREE: Add mechanism to abort a traverse 2011-11-08 13:40:28 +11:00
ctdb_statistics.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_takeover.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_traverse.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_tunables.c ctdbd: Update the get_tunable code to return -EINVAL for unknown tunable 2013-05-24 16:04:50 +10:00
ctdb_update_record.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_uptime.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_vacuum.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdbd.c ctdbd: Add --pidfile option 2013-04-18 13:21:59 +10:00
eventscript.c ctdbd: Make sure we don't kill init process by mistake 2013-06-14 16:39:48 +10:00