- added a --torture option to all ctdb tools. This sets
authorAndrew Tridgell <tridge@samba.org>
Thu, 19 Apr 2007 06:27:56 +0000 (16:27 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 19 Apr 2007 06:27:56 +0000 (16:27 +1000)
commit7559dcd184666c3853127e3c8f5baef4fea327c4
tree6502a7699e2710eed1354f6a4a480d088d0d04f9
parent257af5c31a311217315e07d6a194c3f96c8dfa80
- 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)
common/cmdline.c
common/ctdb.c
common/ctdb_call.c
common/ctdb_client.c
common/ctdb_daemon.c
common/ctdb_ltdb.c
include/ctdb.h
include/ctdb_private.h
tcp/tcp_init.c