1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb
Martin Schwenke 4842b6bb91 ctdb-recovery: Rename recovery lock functions and struct
Use the more general name "cluster mutex", since we are likely to end
up with more than one cluster-wide lock.  There will probably be a
dedicated recovery lock, held only during recovery, and also a second
lock that is held by the master node.  Currently one lock is used for
both purposes.

At the moment the struct and functions are involved with setting the
recovery mode.  However, they'll be abstracted out to more generally
deal with the cluster mutexes, so "recmode" -> "cluster_mutex".  Drop
"set" from names, since this is used to test the lock.  Also drop
"ctdb" prefix from functions, since they are local to this file.  The
struct will eventually be a long-lived handle that will release the
mutex when freed, so name it accordingly.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2016-04-28 09:39:16 +02:00
..
client ctdb-client: Use correct TDB flags for opening database 2016-04-24 03:25:26 +02:00
common ctdb-daemon: Remove unused controls related to server_id 2016-04-23 23:55:14 +02:00
config ctdb-scripts: Fix incorrect comment 2016-04-25 07:10:14 +02:00
doc ctdb-tools: Drop onnode node specifications for recmaster/lvs/natgw 2016-04-25 10:34:47 +02:00
ib ctdb-transport: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
include ctdb-protocol: Remove data structures for obsolete server_id controls 2016-04-23 23:55:15 +02:00
packaging ctdb-tools: Add new ctdb_lvs helper 2016-04-15 05:57:17 +02:00
protocol ctdb-protocol: Consistency check for opcode in the reply structure 2016-04-23 23:55:15 +02:00
server ctdb-recovery: Rename recovery lock functions and struct 2016-04-28 09:39:16 +02:00
tcp ctdb-transport: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
tests ctdb-tests: Fix CID 1358704 use of "=" where "==" may have been intended 2016-04-26 19:21:24 +02:00
tools ctdb-tools: Drop onnode node specifications for recmaster/lvs/natgw 2016-04-25 10:34:47 +02:00
utils ctdb-common: Use documented names for protocol family in socket() 2016-02-02 08:42:09 +01:00
web ctdb/web: Fix typo. 2016-01-11 21:40:36 +01:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore git: Ignore generated documentation files 2013-10-22 13:07:13 +11:00
configure ctdb-build: Allow configure and Makefile to find waf in tarball 2014-09-10 01:36:14 +02:00
configure.rpm ctdb-packaging: Package private libraries 2015-07-01 07:19:43 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
Makefile ctdb-build: Allow configure and Makefile to find waf in tarball 2014-09-10 01:36:14 +02:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript ctdb-build: ctdb-system depends on samba-util for debug 2016-04-28 09:39:16 +02:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.