diff options
author | Martin Schwenke <martin@meltin.net> | 2015-02-13 20:55:43 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2015-03-04 10:42:27 +0100 |
commit | 500c6e194babe06b6aead7a053a9442c94db6e38 (patch) | |
tree | 58c0fe5333048032879d8d5f3ff8e88a2841fb09 /python/samba/tests/docs.py | |
parent | 032441d9a2974584cde455e4dbd5cc33fe6a23c2 (diff) | |
download | samba-500c6e194babe06b6aead7a053a9442c94db6e38.tar.gz samba-500c6e194babe06b6aead7a053a9442c94db6e38.tar.xz samba-500c6e194babe06b6aead7a053a9442c94db6e38.zip |
ctdb-scripts: Change statd-callout to be more scalable
Updating ctdb.tdb on each add-client, del-client and each delete
during notify was too ambitious. Persistent transactions do not
perform well enough to do this.
Revert to having add-client and del-client create touch files. Each
monitor event calls "statd-callout update" to convert touch files into
ctdb.tdb records.
Update testcases to do the "update" and add an extra test.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'python/samba/tests/docs.py')
0 files changed, 0 insertions, 0 deletions