ctdb: Add new helper ctdb_etcd_lock
authorJose A. Rivera <jarrpa@samba.org>
Mon, 25 Jul 2016 19:58:16 +0000 (14:58 -0500)
committerJosé A. Rivera <jarrpa@samba.org>
Mon, 5 Dec 2016 18:39:10 +0000 (19:39 +0100)
commit4e32944b785418ef6d16d921391412d8feb37853
tree8d5a8f64addac5124accff783ac33b8a3a9d103d
parent41c964fdbca552b045568967a2bb5dae0e878b7c
ctdb: Add new helper ctdb_etcd_lock

This introduces a mutex helper called ctdb_etcd_lock, which allows CTDB to
use an existing etcd cluster to provide the functionality of a recovery lock
using the API outlined in ctdb/doc/cluster_mutex_helper.txt.

Signed-off-by: Jose A. Rivera <jarrpa@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): José A. Rivera <jarrpa@samba.org>
Autobuild-Date(master): Mon Dec  5 19:39:10 CET 2016 on sn-devel-144
ctdb/doc/Makefile
ctdb/doc/ctdb-etcd.7.xml [new file with mode: 0644]
ctdb/tools/ctdb_etcd_lock [new file with mode: 0755]
ctdb/wscript