summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/src/ctdb_persistent.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove explicit include of lib/tevent/tevent.h.Amitay Isaacs2012-04-131-1/+0
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 0681014ca5ed2a9b56f63fdace7f894beccf8a9a)
* client: add timeout argument to ctdb_attachDavid Disseldorp2011-09-061-2/+4
| | | | | | Rather than using a fixed 2 second CTDB_CONTROL_GETDBPATH timeout. (This used to be ctdb commit 9e178671560cb95121e11d718a76b05380ecd6c5)
* client: add req timeout argument to ctdb_cmdline_clientDavid Disseldorp2011-09-061-1/+1
| | | | | | | | | | | Following connection to the local ctdbd, ctdb_cmdline_client() currently issues a CTDB_CONTROL_GET_PNN request with a fixed 3 second timeout. The ctdb cmd line client accepts a --timelimit argument for specifying a per request timeout, pass this value through to ctdb_cmdline_client() for use as a CTDB_CONTROL_GET_PNN request timeout. (This used to be ctdb commit 0634d0305f42f17048b6830733767e8dc300e11c)
* event: Update events to latest Samba version 0.9.8Rusty Russell2010-08-181-1/+1
| | | | | | | | | | | | | In Samba this is now called "tevent", and while we use the backwards compatibility wrappers they don't offer EVENT_FD_AUTOCLOSE: that is now a separate tevent_fd_set_auto_close() function. This is based on Samba version 7f29f817fa939ef1bbb740584f09e76e2ecd5b06. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 85e5e760cc91eb3157d3a88996ce474491646726)
* Revert "Revert "allow the transaction commit to fail""Ronnie Sahlberg2009-10-011-1/+1
| | | | | | This reverts commit 74e416108df6934f45ca646d709785dd76ab3c35. (This used to be ctdb commit d1d370033d5007ad1c2c34cd9eeac53001f4b13e)
* Revert "allow the transaction commit to fail"Michael Adam2009-09-211-1/+1
| | | | | | | | | | | This reverts commit 7a6134e684c9ac4763bf198ef1410867b6082c94. Transaction commit should not be allowed to fail. This is a fatal error. Michael (This used to be ctdb commit 74e416108df6934f45ca646d709785dd76ab3c35)
* Revert "try to restart statd everytime it fails, not just the first time"Ronnie Sahlberg2009-09-151-7/+18
| | | | | | This reverts commit 4f7b39a4871af28df1c4545ec37db179fa47a7da. (This used to be ctdb commit db7b96304e4725f29b12398b7582e385daed63ed)
* try to restart statd everytime it fails, not just the first timeRonnie Sahlberg2009-09-151-18/+7
| | | | (This used to be ctdb commit 4f7b39a4871af28df1c4545ec37db179fa47a7da)
* allow the transaction commit to failRonnie Sahlberg2009-09-091-1/+1
| | | | (This used to be ctdb commit 7a6134e684c9ac4763bf198ef1410867b6082c94)
* Test suite: ctdb_persistent.c needs to use transactions.Martin Schwenke2009-08-141-7/+18
| | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 49de8429d2a996dc055370541a12ea36762abe94)
* Whitespace changes and using the CTDB_NO_MEMORY() macro changes toRonnie Sahlberg2009-05-211-1/+1
| | | | | | the previous patch. (This used to be ctdb commit d623ea7c04daa6349b42d50862843c9f86115488)
* add missing checks on so far ignored return valuesSumit Bose2009-05-211-1/+9
| | | | | | Most of these were found during a review by Jim Meyering <meyering@redhat.com> (This used to be ctdb commit 3aee5ee1deb4a19be3bd3a4ce3abbe09de763344)
* Move tests/*.c to tests/src/*.c and adjust Makefile.in accordingly.Martin Schwenke2008-11-211-0/+248
Move setting of $CTDB_NODES_SOCKETS to tests/scripts/run_tests and make it only happen if $CTDB_TEST_REAL_CLUSTER is not set. Bugfix in function ips_are_on_nodeglob. New/proper implementations of functions stop_daemons and start_daemons, now called by function restart_ctdb. In start_daemons.sh, add public addresses file generation/usage, use new option --nopublicipcheck to ctdbd to avoid crazy behaviour and kill ctdbd more carefully to avoid killing real daemons on a real cluster - this should be able to coexist on a node of a real cluster. start_daemons.sh is temporarily incompatible with start_daemons function, but expecting to replace that script with function calls very soon anyway... Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 4c54772c5c2fa7d2a25963379b5b96caf0c2521c)