1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb
Martin Schwenke 80f3f7c188 ctdb-tests: Improve counting of database records
Record counts are sometimes incomplete for large databases when
relevant tests are run on a real cluster.

This probably has something to do with ssh, pipes and buffering, so
move the filtering and counting to the remote end.  This means that
only the count comes across the pipe, instead of all the record data.

Instead of explicitly excluding the key for persistent database
sequence numbers, just exclude any key starting with '_'.  Such keys
are not used in tests.

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): Mon Oct  8 05:36:11 CEST 2018 on sn-devel-144
2018-10-08 05:36:11 +02:00
..
client ctdb-client: Switch to ETIMEDOUT instead of ETIME 2018-07-28 03:50:10 +02:00
cluster ctdb-cluster: Define cluster configuration file options 2018-05-17 04:04:30 +02:00
common ctdb-common: Process the whole config file even if an error occurs 2018-09-03 10:52:11 +02:00
config ctdb-tests: Replace md5sum with posix cksum 2018-07-28 03:50:11 +02:00
database ctdb-config: Switch tunable TDBMutexEnabled to a config option 2018-08-24 10:59:21 +02:00
doc ctdb-doc: Remove PIDFILE option from ctdbd_wrapper man page 2018-09-12 21:50:57 +02:00
event ctdb-event: Add support to eventd for the startup notification FD 2018-08-30 04:48:56 +02:00
failover ctdb-failover: Add failover configuration options 2018-08-24 10:59:21 +02:00
ib ctdb-ib: Drop a bit-rotted test example from the README 2018-03-19 02:23:17 +01:00
include ctdb-daemon: Drop implementation of RECEIVE_RECORDS control 2018-10-08 02:46:21 +02:00
packaging/RPM ctdb-packaging: Enable some standard event scripts if none are enabled 2018-07-11 11:48:39 +02:00
protocol ctdb-protocol: Drop marshalling code for RECEIVE_RECORDS control 2018-10-08 02:46:21 +02:00
server ctdb-daemon: Drop implementation of RECEIVE_RECORDS control 2018-10-08 02:46:21 +02:00
tcp ctdb: Remove double sanity checks from ctdb_tcp_read_cb 2018-04-04 09:31:04 +02:00
tests ctdb-tests: Improve counting of database records 2018-10-08 05:36:11 +02:00
tools ctdb-tools: Have onnode pass -n option even when regular ssh not in use 2018-10-08 02:46:23 +02:00
utils ctdb: add expiry test for ctdb_mutex_ceph_rados_helper 2018-08-09 16:26:36 +02:00
.bzrignore
.gitignore ctdb-scripts: Move event scripts to events/legacy/ directory 2018-06-05 17:47:26 +02: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
Makefile ctdb-build: Add WAFLOCK magic to manpages target 2017-02-26 23:13:25 +01:00
README
wscript PY3: make sure print stmt is enclosed by '(' & ')' 2018-09-19 22:25:05 +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.