1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb
Martin Schwenke 46edef25df ctdb-recovery: Limit scope of reclock latency statistics
It does not make sense to update this statistic for the timeout case,
since this could skew the statistic.  To keep it simple, just update
it for the usual case where there is lock contention, since this is
the usual case.  So the daemon statistic measures time to test the
lock and the corresponding recovery daemon statistic measures time to
take the lock.

Additionally, the recovery daemon will eventually use this code to
take the lock, and the method of updating the latency statistic will
need to be pushed further out to a configurable handler that depends
on the calling context.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Feb 23 10:32:06 CET 2016 on sn-devel-144
2016-02-23 10:32:06 +01:00
..
client ctdb-client: Drop support for updating NAT gateway capability 2016-01-27 15:28:17 +01:00
common ctdb-common: New function ctdb_wait_for_process_to_exit() 2016-02-23 07:23:18 +01:00
config ctdb: Install helpers under libexecdir 2016-02-12 09:01:14 +01:00
doc ctdb-doc: Document reasons for separating private and public networks 2016-01-27 12:14:29 +01:00
ib ctdb-transport: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
include ctdb-client: Drop support for updating NAT gateway capability 2016-01-27 15:28:17 +01:00
packaging ctdb: Install helpers under libexecdir 2016-02-12 09:01:14 +01:00
protocol ctdb: NAT gateway capability and control to set it are obsolete 2016-01-27 18:35:24 +01:00
server ctdb-recovery: Limit scope of reclock latency statistics 2016-02-23 10:32:06 +01:00
tcp ctdb-transport: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
tests ctdb: Install helpers under libexecdir 2016-02-12 09:01:14 +01:00
tools ctdb-common: Use documented names for protocol family in socket() 2016-02-02 08:42:09 +01: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
NEWS ctdb: Update NEWS 2013-11-27 18:46:17 +01:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript ctdb: Install helpers under libexecdir 2016-02-12 09:01:14 +01: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.