1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-07 09:49:30 +03:00

- 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)
This commit is contained in:
Andrew Tridgell
2007-04-19 16:27:56 +10:00
parent 49458c5946
commit 273a3944a8
9 changed files with 137 additions and 97 deletions

View File

@ -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;
}