summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge remote branch 'martins/master'Ronnie Sahlberg2012-03-155-10/+10
| |\ | | | | | | | | | (This used to be ctdb commit af72f8bc05f78983f9624d81788f9d89af474b11)
| | * Tests - functions/environment - set and use $CTDB_NODESMartin Schwenke2012-02-132-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "ctdb listnodes" changed so that it never tries to contact the daemon but reads the local nodes file instead. This fails if the nodes file is in a non-default place but $CTDB_NODES isn't set. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit a7ad2fb75f06791508dd928d2a0c305fc7f7b814)
| | * Tests - simple - make disconnected node tests handle changed error messageMartin Schwenke2012-02-132-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Recent changes to nodestring parsing generalised the error message logged when trying to talk to a disconnected node. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit db69a39ca010b2c8853b13466e30792dda350cdb)
| | * ctdb tool: fix thinko in nodestatus command outputMartin Schwenke2012-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | If used with -n <nodes> the "current" node needs to change. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit a0340a50c2acd9ccc281faef032a364254f7f95a)
| * | Test: add test tool and test that UPDATE_RECORD works on persistent databasesRonnie Sahlberg2012-03-123-0/+230
| | | | | | | | | | | | (This used to be ctdb commit f06634951331232cddf0b48eac3552b92aca5b93)
| * | ReadOnly: Only restrict the readonly sanity/paranoia check that only allowsRonnie Sahlberg2012-03-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | UPDATE_RECORD to create a record to only apply to normal databases, not persistent databases or else the net registry command breaks and other persistent database creation/updates . (This used to be ctdb commit 68390cb1e8c7f30be034b8ca6c9215b40147305b)
| * | READONLY: when updating a remote node to revoke a delegation, make sure we ↵Ronnie Sahlberg2012-03-022-0/+18
| | | | | | | | | | | | | | | | | | dont create the record if it doesnt already exist (This used to be ctdb commit fb00e1290fcea3386132a46c883994019a43799a)
| * | New version 1.13Ronnie Sahlberg2012-03-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be the new long term stable branch for ctdb Main new features are read-only records: performance/scaling improvement for concurrent access to the same record from multiple nodes. fetch-lock-collapse: performance/scaling improvement for concurrent write access to the same record from multiple nodes. (This used to be ctdb commit 05e75dea9eaa0decc2909e0c2cf1715c81374200)
| * | READONLY: skip vacuuming or deleting records with readonly delegations.Ronnie Sahlberg2012-02-292-0/+20
| | | | | | | | | | | | | | | | | | they are hot. wait until they have been revoked before we recall them. (This used to be ctdb commit 7417d994c2a159f71d27d4bcd2f53684862eece3)
| * | Vacuuming: change default timeout to 120 secondsRonnie Sahlberg2012-02-291-1/+1
| | | | | | | | | | | | (This used to be ctdb commit 5ae94c6b9b3000a6c79fccaaea1e007ebd5be1a9)
| * | Add a tunable variable to control how long we defer after a ctdb addip until ↵Ronnie Sahlberg2012-02-283-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | we force a rebalance and try to failback addresses onto this node Have it default to 300 seconds. (This used to be ctdb commit 49791db7dc74cffd7e88bd73091590cdc1909328)
| * | When adding ips to nodes, set up a deferred rebalance for the whole node to ↵Ronnie Sahlberg2012-02-285-11/+139
| | | | | | | | | | | | | | | | | | trigger after 60 seconds in case the normal ipreallocated is not sufficient to trigger rebalance. (This used to be ctdb commit 4340263b219d75c39f8de22abe3f6f1c1ee63ea2)
| * | Make KILLTCP structure a child of VNN so that it is freed at the same timeRonnie Sahlberg2012-02-271-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | the referenced VNN structure is. Also, remove the circular reference between the two objects KIPPCTP and VNN (This used to be ctdb commit 02b62482164a3c69715949074feb7f191a29d534)
| * | Eventscripts: remove the horrible horrible circular reference between state ↵Ronnie Sahlberg2012-02-232-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | and callback since these two structures do not even share the same parent talloc context. Instead, tie them together via referencing a permanent linked list hung off the ctdb structure. (This used to be ctdb commit a95c02da6c67dc4bd8716b75318a4188301df6f9)
| * | change TDB to be valgrind niceRonnie Sahlberg2012-02-221-0/+2
| | | | | | | | | | | | (This used to be ctdb commit d306c3c9a53e012c412c96ab9743de6cd96826e0)
| * | server:update_record: remove some blood stains (trailing spaces...)Michael Adam2012-02-211-15/+15
| | | | | | | | | | | | (This used to be ctdb commit 0df433496f9c53a2c3759a62ebe355c35caff920)
| * | server:update_record: make ctdb_childwrite staticMichael Adam2012-02-211-1/+2
| | | | | | | | | | | | (This used to be ctdb commit 400364a1d54404787cff48fb2c30c1b172a8b204)
| * | server: move the code for the update_record control to its own fileMichael Adam2012-02-214-309/+336
| | | | | | | | | | | | | | | | | | | | | It is very misleading in ctdb_persistent.c, since it is used for non-persistent dbs... (This used to be ctdb commit a956fa3a27106d0154a3fb46987d61c0a6b7c768)
| * | Fix some documentation typosVolker Lendecke2012-02-211-5/+5
| | | | | | | | | | | | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit 67516f2eaf0b8b0f6aa4ecb0f1c44af53b992fbb)
| * | when shutting down ctdb, allow it 30 seconds instead of 10 before will -9 ↵Ronnie Sahlberg2012-02-211-1/+1
| | | | | | | | | | | | | | | | | | the daemon (This used to be ctdb commit d8b400d76665f37ffd9de302eedcff9f23807225)
| * | Log the "Received SHUTDOWN ..." first in the shutown process instead of last.Ronnie Sahlberg2012-02-211-1/+1
| | | | | | | | | | | | | | | | | | Sometimes ctdb is termnated ifrom the initscript if the shutdown takes too long an no message is logged. (This used to be ctdb commit d3542d43141c1548bab356fbdef34dfedb4f167f)
| * | Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-masterRonnie Sahlberg2012-02-216-27/+29
| |\ \ | | | | | | | | | | | | (This used to be ctdb commit 9b85aa1aa14091dc1de470a587f7c054b9e40078)
| | * | READONLY: only send a control to schedule fast-vacuuming from child context ↵Ronnie Sahlberg2012-02-214-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iff we have a connection open to the main daemon there are some child processes where we do not create a connection to the main daemon (switch_from_server_to_client()) because it is expensive to set up and we normally might not need to talk to the daemon at all via a domainsocket. but we might want to still call to ctdb_ltdb_store() from such chil processes. (This used to be ctdb commit 9e372a08c40087e6b5335aa298e94d88273566a5)
| | * | READONLY: dont schedule for fast vacuum deletion if any of the readonly ↵Ronnie Sahlberg2012-02-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | record flags are set (This used to be ctdb commit b3307d78fd15f446b423f8cdd1e403f89fbe8ac8)
| | * | Revert "ReadOnly: We can not use ctdb_ltdb_store from a client/child context ↵Ronnie Sahlberg2012-02-211-23/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since" This reverts commit 11dee7f3f881494cf5089d6c69fd40e74f07e670. Try to solve this a different way so that ctdb_ltb_store() becomes safe to use also from child context (This used to be ctdb commit 5990fe65a9cc37933ceff15d4cb2ab3b3a0addb6)
| * | | Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-masterRonnie Sahlberg2012-02-202-10/+25
| |\| | | | | | | | | | | | | | (This used to be ctdb commit 0fd3bf919b1b8e5aaa98444c306c6770a6a3209f)
| | * | ReadOnly: We can not use ctdb_ltdb_store from a client/child context sinceRonnie Sahlberg2012-02-201-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it sometimes (for empty records) needs to be able to initiate traffic unde rhte daemon context. This should furhter updated later to allow the use also from non-daemon context. (This used to be ctdb commit 11dee7f3f881494cf5089d6c69fd40e74f07e670)
| | * | ReadOnly: Make sure we dont try to fast-vacuum records that are set for ↵Ronnie Sahlberg2012-02-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | readonly delegation (This used to be ctdb commit 303134cf10a08ce61954d5de9025d9bbcb5f75ef)
| * | | Merge branch 'master' of ssh://git.samba.org/data/git/ctdbRonnie Sahlberg2012-02-2014-21/+422
| |\ \ \ | | |/ / | |/| | | | | | (This used to be ctdb commit d3c54ae9cc83f74d15f40bbfff95404b270d2f80)
| | * | Fix the build on freebsd9. (typo in flags?)Michael Adam2012-02-181-1/+1
| | | | | | | | | | | | | | | | (This used to be ctdb commit 650bb17335876f3e91e76a47b748c9236d0f3045)
| | * | Add common/system_freebsd.cVolker Lendecke2012-02-133-1/+381
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit 89067e12b868974f9909b447ab5e202d612ac44f)
| | * | Add includes required on FreeBSDVolker Lendecke2012-02-137-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit be5c3a57df39d85fbb7ee922924787340e2b0595)
| | * | FreeBSD does not define s6_addr32, only s6_addrVolker Lendecke2012-02-133-20/+29
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit d657af4fb68ce3f7c462856f2934f6bf169e120b)
| | * | Make CTDB_CURRENT_NODE work with CTDB_REQ_MESSAGEVolker Lendecke2012-02-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit be8a153346ca7d40f09a6d03aad655aaa5c4a903)
| * | | TESTS: Add test for wipedb commandRonnie Sahlberg2012-02-161-0/+68
| |/ / | | | | | | | | | (This used to be ctdb commit 4ea05fef886b0680d0ad0936c239a51fd75bf000)
| * | READONLY: add test for creating and revoking delegationsRonnie Sahlberg2012-02-131-0/+163
| | | | | | | | | | | | (This used to be ctdb commit a7e7fa2169ee12f817336f6d03d5bb72df7ec020)
| * | READONLY: Update the fetch-readonly-once test tool to use CTDB_SOCKET if setRonnie Sahlberg2012-02-131-2/+6
| | | | | | | | | | | | (This used to be ctdb commit f4d395165816f74839ed48860e3210e05bc16d3d)
| * | READONLY: document the command to activate readonly record supportRonnie Sahlberg2012-02-133-509/+341
| | | | | | | | | | | | (This used to be ctdb commit f0bc1760c36c8589f58354c50b23880946cb57c6)
| * | READONLY: allow specifying the db name for setdbreadonly instead of just ↵Ronnie Sahlberg2012-02-131-2/+31
| | | | | | | | | | | | | | | | | | the hash (This used to be ctdb commit 3c2117e8e4156e0048fbd2c94546112f0c588522)
| * | Load platform dependent objs instead of Linux oneMathieu Parent2012-02-113-7/+1
| |/ | | | | | | | | | | | | | | | | | | | | This fix compilation on Gnu/Hurd and kFreeBSD See also: https://buildd.debian.org/status/fetch.php?pkg=ctdb&arch=hurd-i386&ver=1.12%2Bgit20120201-1&stamp=1328211119 https://buildd.debian.org/status/fetch.php?pkg=ctdb&arch=kfreebsd-amd64&ver=1.12%2Bgit20120201-1&stamp=1328214761 https://buildd.debian.org/status/fetch.php?pkg=ctdb&arch=kfreebsd-i386&ver=1.12%2Bgit20120201-1&stamp=1328215875 (This used to be ctdb commit 496e8f8540f78606ef23ee8fa100eb2b2cf3f106)
| * ReadOnly: add per-database statistics to view how much delegations/revokes ↵Ronnie Sahlberg2012-02-0811-0/+237
| | | | | | | | | | | | we have (This used to be ctdb commit 751ed46197661eb841042ab6a02855a51dd0b17c)
| * STATISTICS: add total counts for number of delegations and number of revokesRonnie Sahlberg2012-02-084-0/+7
| | | | | | | | | | | | | | | | | | Everytime we give a delegation to another node we count this as one delegation. If the same record is delegated to several nodes we count one for each node. Everytime a record has all its delegations revoked we count this as one revoke. (This used to be ctdb commit b098bcf8007be63889aaed640a951b0eeaa9d191)
| * TESTS: Add a test that verifies that RecoverPDBBySeqNum works as expected.Ronnie Sahlberg2012-02-081-0/+232
| | | | | | | | | | | | If this tunable is set to 1 AND the persistent database contains a record "__db_sequence_number__" then we will recover the whole database as-is instead of doing the record by record recovery (This used to be ctdb commit 3e5d2b61fcb4d0062d2573d99724f630a4fc4622)
| * Ad test tool to store data and ctdb header into a local tdb fileRonnie Sahlberg2012-02-071-1/+64
| | | | | | | | (This used to be ctdb commit c6433e43ad2481d84e8d9a1ee1c6e29b90423a86)
| * TFETCH add verbose flag to print also the record ltdb heaerRonnie Sahlberg2012-02-071-5/+13
| | | | | | | | (This used to be ctdb commit 25d797f61c3b5b7090fb662adde6ed9e434e8a61)
| * CTDB: update tfetch so we can specify a hexadecimal string as keyRonnie Sahlberg2012-02-071-10/+45
| | | | | | | | (This used to be ctdb commit 70d22efdf104db1fc951263cedfbdb95b0b44342)
| * TESTS: ctdb_fetch needs to allow tevent nestingRonnie Sahlberg2012-02-061-0/+1
| | | | | | | | (This used to be ctdb commit 4fa3f109b7ddc40e79c5fbb9688e0e830c0a655e)
| * Merge remote branch 'martins/tests'Ronnie Sahlberg2012-02-063-11/+123
| |\ | | | | | | | | | (This used to be ctdb commit 5f660e5bf321ae5332bf1d32c8af36d6cc2569f4)
| | * Tests: eventscripts - fix breakage in some NFS testsMartin Schwenke2012-02-061-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1341329f6125d491b82c873f793af819e677f714 either contains typos or attempts to influence the test depending on the host system. Whatever the cause, a test system (e.g. my laptop) might not have /etc/sysconfig/nfs, so that can't be used to cause the stub etc/sysconfig/nfs to be loaded. We make the tests work by default again, leaving in some flexibility over configuration file location. If the goal is to force a Debian-style test mode then: * The tests are currently probably quite RHEL-centric anyway, so more work is probably needed. * Use an environment variable to indicate the distro test mode and make functions like setup_nfs() remove all of the various configuration files and create one in the distro-specific location. I won't do this now... ENOTIME... Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 4aa4a5790ea9ad20e4d25404760c449b358b5260)
| | * Tests: eventscripts - make init test pass with recent change to 10.interfaceMartin Schwenke2012-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | e646142f4d28b5401235cd5edee325f7a29f8193 changes the output on the init event. This accommodates that change. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 48cb55aae47d11487bdf004a79df56779d1825a0)