summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Undo damage done by d8d37493478a26c5f1809a5f3df89ffd6e149281Martin Schwenke2012-03-223-3/+4
| |/ | | | | | | | | | | | | | | | | | | The implementation of DisableIPFailover got intermingled with --nopublicipcheck. This just looks wrong - Ronnie must have been having a bad day. :-) Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 5083b266dd68b292c4275505f3d1b878dbf12f11)
| * DOC: regenerate manpagesRonnie Sahlberg2012-03-222-74/+83
| | | | | | | | (This used to be ctdb commit 270edc87e6bcfd6e76c526bf86df865e4d47d11c)
| * NoIPTakeover: change the tunable name for the "dont allow failing addresses ↵Ronnie Sahlberg2012-03-225-20/+45
| | | | | | | | | | | | over onto the node" to NoIPTakeover (This used to be ctdb commit 35592e618cfd827b6978af6332f80504f232c46a)
| * NoIPFailback: Exclude nodes which have NoIPFailback as failback targets ↵Ronnie Sahlberg2012-03-221-0/+22
| | | | | | | | | | | | during reallocation (This used to be ctdb commit c262c29773d1608e7ce04bdfb7f4469df0a9637b)
| * Make NoIPFailback a node local setting. Nodes that have NoIPFailback set to ↵Ronnie Sahlberg2012-03-222-17/+50
| | | | | | | | | | | | | | | | | | | | !0 can not takeover new ip addresses during failover. Remove the old global setting for this unused tunable and add it as a new node flag. This node flag is only valid/defined within the takeover subsystem in the recovery daemon. Add async functions to collec the NoIPFailback settings for each node. This will later e used to disqualify certain nodes from being takeover targets when we perform reallocation. (This used to be ctdb commit 668f3e88a9e5f598706952b7140547640c85a5ed)
| * DOC regenerate the manpageRonnie Sahlberg2012-03-202-316/+543
| | | | | | | | (This used to be ctdb commit 0ae2a46e37df8d84ce0c76b7a5d32d6e93af709b)
| * STICKY document the sticky record parametersRonnie Sahlberg2012-03-201-0/+35
| | | | | | | | (This used to be ctdb commit e6a8306257dece02313043274789b52cef1a5647)
| * STICKY: add prototype code to make records stick to a node to "calm" down if ↵Ronnie Sahlberg2012-03-2010-13/+403
| | | | | | | | | | | | | | | | they are found to be very hot and accessed by a lot of clients. This can improve performance and stop clients from having to chase a rapidly migrating/bouncing record (This used to be ctdb commit d0d98f7e45e5084b81335b004d50bddc80cdc219)
| * DOC: Document the MaxLACount tunable variableRonnie Sahlberg2012-03-201-0/+13
| | | | | | | | (This used to be ctdb commit cf96d6380de974c1abff7a33c62a7e31ac980551)
| * LACOUNT: Add back lacount mechanism to defer migrating a fetched/read copy ↵Ronnie Sahlberg2012-03-206-14/+30
| | | | | | | | | | | | | | | | until after default of 20 consecutive requests from the same node This can improve performance slightly on certain workloads where smbds frequently read from the same record (This used to be ctdb commit 035c0d981bde8c0eee8b3f24ba8e2dc817e5b504)
| * STATISTICS: add per-db hop count statisticsRonnie Sahlberg2012-03-203-5/+13
| | | | | | | | (This used to be ctdb commit 1c976d83b1d7dac6f0ef81306774998e4c8b56a1)
| * CTDB: change how the hop count buckets are displayed in ctdb statisticsRonnie Sahlberg2012-03-201-1/+1
| | | | | | | | (This used to be ctdb commit 05923a14bc8ae8e3c5cda28ff4e0fb0d473d5f7d)
| * DOC document the FetchCollapse tunableRonnie Sahlberg2012-03-201-0/+23
| | | | | | | | (This used to be ctdb commit c37aa6f3738693653f64c2fa015ace061da38b5a)
| * FETCH COLLAPSE : Change the fetch-lock collapse to collapse ALL fetches, ↵Ronnie Sahlberg2012-03-203-7/+10
| | | | | | | | | | | | including fetch-locks into a single command in flight per record. Also add a tunable to enable/disable this optimization for hot records (This used to be ctdb commit eafd7bbaaa5931546a96c8beae3cf9a39a49c925)
| * add max hop count buckets to see how bad hopcounts areRonnie Sahlberg2012-03-203-0/+20
| | | | | | | | (This used to be ctdb commit 7d3931298e6477d92f43652c3006b0c426cb1307)
| * 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)