diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-04-19 16:27:56 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-04-19 16:27:56 +1000 |
commit | 273a3944a84b5b9e0c0929812b21ada717f85fb7 (patch) | |
tree | 86033beff454806c50e618b71ccdd80a6ff0788f /ctdb/tcp/tcp_init.c | |
parent | 49458c5946e06775151c6888ccc0f00b778f113a (diff) | |
download | samba-273a3944a84b5b9e0c0929812b21ada717f85fb7.tar.gz samba-273a3944a84b5b9e0c0929812b21ada717f85fb7.tar.xz samba-273a3944a84b5b9e0c0929812b21ada717f85fb7.zip |
- added a --torture option to all ctdb tools. This sets
CTDB_FLAG_TORTURE, which forces some race conditions to be much more
likely. For example a 20% chance of not getting the lock on the
first try in the daemon
- abstraced the ctdb_ltdb_lock_fetch_requeue() code to allow it to
work with both inter-node packets and client->daemon packets
- fixed a bug left over in ctdb_call from when the client updated the
header on a call reply
- removed CTDB_FLAG_CONNECT_WAIT flag (not needed any more)
(This used to be ctdb commit 7559dcd184666c3853127e3c8f5baef4fea327c4)
Diffstat (limited to 'ctdb/tcp/tcp_init.c')
-rw-r--r-- | ctdb/tcp/tcp_init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ctdb/tcp/tcp_init.c b/ctdb/tcp/tcp_init.c index 7b5a7b1f43..9b54bb75ba 100644 --- a/ctdb/tcp/tcp_init.c +++ b/ctdb/tcp/tcp_init.c @@ -46,12 +46,6 @@ static int ctdb_tcp_start(struct ctdb_context *ctdb) ctdb_tcp_node_connect, node); } - if (ctdb->flags&CTDB_FLAG_CONNECT_WAIT) { - /* wait until all nodes are connected (should not be needed - outide of test code) */ - ctdb_connect_wait(ctdb); - } - return 0; } |