summaryrefslogtreecommitdiffstats
path: root/ctdb
Commit message (Collapse)AuthorAgeFilesLines
...
| * add an initial recovery control to perform samba3 style recoveryRonnie Sahlberg2007-05-025-39/+251
| | | | | | | | | | | | | | | | | | this is not optimized at all and copies/merges all records between databases instead of only those records for which a certain node is lmaster. (step 7 should later be enhanced to a, delete the database, push only those records for which the node is lmaster) (This used to be ctdb commit 509d2c71169e96a8610f9db91293dc7a73c2cc10)
| * add push/pull of tdb and a control to copy a tdb from one node to Ronnie Sahlberg2007-04-307-143/+166
| | | | | | | | | | | | another node (This used to be ctdb commit c313daff4c1362cd08a9f682ce04cab312678038)
| * merge from tridgeRonnie Sahlberg2007-04-2910-133/+277
| |\ | |/ |/| | | (This used to be ctdb commit a84e9b47a87fc7d4756b4a179aa2ea0bc7c54c78)
* | added reset status controlAndrew Tridgell2007-04-285-1/+84
| | | | | | | | (This used to be ctdb commit ec342b667a085a5c740fbeec8882070571071862)
* | removed unnecessary variableAndrew Tridgell2007-04-282-9/+6
| | | | | | | | (This used to be ctdb commit ef0027faa631b00c7fc1a7c4538fbf3080248f0b)
* | much simpler redirect logicAndrew Tridgell2007-04-285-88/+23
| | | | | | | | (This used to be ctdb commit 95db9afa7dd039e1700e2f3078782f6ac66e9f51)
* | better name for this hackAndrew Tridgell2007-04-282-2/+2
| | | | | | | | (This used to be ctdb commit e5a98eee991a7926ddb6964ea3785b11303d175e)
* | use ctdb_get_connected_nodes for node listingAndrew Tridgell2007-04-284-35/+101
| | | | | | | | (This used to be ctdb commit b4efdd1944207e51dccd6cd5e50f451a7dddcd91)
* | added status all and debug all control operationsAndrew Tridgell2007-04-283-7/+61
| | | | | | | | (This used to be ctdb commit 7f902f6c4270adc0543096c78415d335b88d6232)
* | use rsync to avoid text busy on installAndrew Tridgell2007-04-281-2/+2
| | | | | | | | (This used to be ctdb commit d19be7ea56003faffcb3fb8a76fd804df0431242)
* | report number of clients in pingAndrew Tridgell2007-04-285-7/+10
| | | | | | | | (This used to be ctdb commit 9deaa1892faa8288cad9f6fde20d2aa8ba8af699)
* | merged from ronnieAndrew Tridgell2007-04-287-8/+229
|\ \ | | | | | | | | | (This used to be ctdb commit 521484a462dcddeebe02bb9c725e18939919b6fe)
| | * add a new "recovery mode" field to ctdb.Ronnie Sahlberg2007-04-296-1/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | while recovery is in progress the daemon will discard all CTDB_REQ_CALL and rely on clients retransmitting them add new controls to get/set the recovery mode (This used to be ctdb commit 41458a61577885ac49150f830e92e93e634c5411)
| | * implement a control to pull a database from a remote nodeRonnie Sahlberg2007-04-295-1/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | it does not yet work since ctdb_control can right now only be called from client context and the pull is implemented as the target ctdb node itself using a get_keys to pull the keys from the source node thus ctdb daemon needs to ctdb_control to a remote node (This used to be ctdb commit a55c7c64b4ff87f54b90649c9f469b1ff36dc9ea)
| | * control to delete all records in a databaseRonnie Sahlberg2007-04-295-17/+89
| | | | | | | | | | | | (This used to be ctdb commit 6664e00fc02e1c60cc1a35ecd15f4893a34f23d1)
| | * add a new control to set all records in a database to a new dmaster Ronnie Sahlberg2007-04-296-3/+108
| | | | | | | | | | | | (This used to be ctdb commit fd0d2385206b0329b74d908f3bdf89d3f32095d1)
| | * add a control to read an entire tdb from a node including Ronnie Sahlberg2007-04-296-1/+204
| | | | | | | | | | | | | | | | | | key/lmaster/header and data (This used to be ctdb commit ac00d6271ba6356c1edf804df44d0d2600791610)
| | * merge with tridgeRonnie Sahlberg2007-04-2810-10/+32
| |/| | |/ |/| | | | | | | | | fix the logic in ctdb_connected to print CONNECTED if the node is connected and UNAVAILABLE when the node is dead instead of the opposite (This used to be ctdb commit 0f431d2f3e0bd94d10fe77e56cf0ed6c48402400)
* | allow ctdbd_allocate_pkt to be used in client codeAndrew Tridgell2007-04-281-1/+3
| | | | | | | | (This used to be ctdb commit 2c37cc7bb97dee5bb2e929958e6c834b27c9ae6a)
* | fixed some warningsAndrew Tridgell2007-04-284-8/+10
| | | | | | | | (This used to be ctdb commit b5434a40cf2db008eb1e681fcd2ceeff331324fa)
* | added make test and make valgrindtest targetsAndrew Tridgell2007-04-285-1/+15
| | | | | | | | (This used to be ctdb commit b69fb43643993ee5aaabf8711bb874f95d468f35)
| * print vnn as decimal instead of hexRonnie Sahlberg2007-04-281-1/+1
| | | | | | | | (This used to be ctdb commit 89512fd659c5b1dc450b7162ca985a7083fd40ac)
| * add a few more controls that are useful for debugging a clusterRonnie Sahlberg2007-04-286-9/+122
| | | | | | | | (This used to be ctdb commit 751c1365ab55a217ff33d985d52bd26581578617)
| * add a control to pull the database list from a remote nodeRonnie Sahlberg2007-04-286-8/+116
| | | | | | | | (This used to be ctdb commit d130e02936ea4bdcd3a6f02c53be4b7771993138)
| * you cant dereference ctdb->vnnmap in the client since it is null in hte Ronnie Sahlberg2007-04-281-1/+0
|/ | | | | | client (This used to be ctdb commit cbd01fc8978f798a5eb5c8920a1acb68d43f7a80)
* factor out the packet allocation codeAndrew Tridgell2007-04-287-155/+115
| | | | (This used to be ctdb commit 4cbaf22cc4bede8c95dd9b87e21bbe886307e23b)
* merge from ronnieAndrew Tridgell2007-04-288-0/+34
|\ | | | | | | (This used to be ctdb commit 9253714401de1d7fea6ad44c35f324004683abd7)
| * ctdb will now verify that the generation id for all CTDB_REQ_CALLs that Ronnie Sahlberg2007-04-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it receives from remote nodes with its own generation number. if the generation id do not match the daemon will just discard the packet completely. this will require that clients such as samba3 will have to be aware that calls it sends to remote nodes may get lost and will have to resend the requests after a timeout. during cluster recovery/reconfiguration the generation nnumbers will be changing and this can be used to prevent nodes that are still in the "old" instance from talking to nodes that belong to the new generation instance (This used to be ctdb commit 4c197f1cbfdd5f65af9c059aae2b4508ebd0cd34)
| * clients should not fill in "generation" nor be aware of what generation Ronnie Sahlberg2007-04-281-5/+0
| | | | | | | | | | | | | | | | | | the cluster is currently in. remove all instances where the clients try to fill in the generation field of the header (This used to be ctdb commit fd75463f69f9f9100b2fe4cb710201a8262cdcec)
| * add a generation field to the pdu header.Ronnie Sahlberg2007-04-287-0/+25
| | | | | | | | | | | | | | this will allow a node to verify that a received pdu is sent from a node in the same generation instance of a cluster. (This used to be ctdb commit e32d3ca9a622237c4e2622de98825c0962760d48)
* | added install targetAndrew Tridgell2007-04-271-0/+7
| | | | | | | | (This used to be ctdb commit f24f043a18082d21ba240a73de9daab50cd442a5)
* | always use allocated packets to avoid alignment errorsAndrew Tridgell2007-04-272-37/+38
| | | | | | | | (This used to be ctdb commit 47b53d344941a3203c87788439e7df59477681be)
* | merge from ronnieAndrew Tridgell2007-04-2710-34/+32
|\| | | | | | | (This used to be ctdb commit d21de127cceea7174b2e05701c8846c0b0c881c0)
| * make srvid 64 bits instead of 32 bitsRonnie Sahlberg2007-04-2810-32/+32
| | | | | | | | (This used to be ctdb commit 723bcfbba1d5aa711496d37b9658190b78a2d66b)
| * merge from tridgeRonnie Sahlberg2007-04-276-21/+151
| |\ | | | | | | | | | (This used to be ctdb commit 0d6fb241faa15cb2183d2faa4c5ffa607b9d5f46)
* | | some debug codeAndrew Tridgell2007-04-272-1/+7
| |/ |/| | | | | (This used to be ctdb commit 957801ad6285c21fd11469a60dbdcc170e7009cb)
* | merged broadcast messages from ronnieAndrew Tridgell2007-04-273-13/+29
|\| | | | | | | (This used to be ctdb commit bc20a7de280dbaa5e8ceb5493c51c059aa80d41c)
| * add a special VNN that means "all" nodes so that a message can be Ronnie Sahlberg2007-04-273-13/+29
| | | | | | | | | | | | | | | | | | | | broadcasted to all daemons in the cluster change the message dispatch routine for sending messages so that it allows several clients to use the same srvid messages are then passed on to all clients that have that srvid (This used to be ctdb commit 05d7ebb3556785f0f17a87d808f31ffe8dac288a)
* | debug level controlsAndrew Tridgell2007-04-275-13/+141
| | | | | | | | (This used to be ctdb commit 85f883c081dd1ab069420d2e7f4f2e9d708b3cde)
* | nicer testing of control data sizeAndrew Tridgell2007-04-271-9/+13
|/ | | | (This used to be ctdb commit 67d51cd74c8bbd20cae1da9f04f32ff887fc4f8c)
* add a new control : SETVNNMAP to set the generation id and also the vnn Ronnie Sahlberg2007-04-275-1/+86
| | | | | | map on a ctdbd daemon (This used to be ctdb commit f55707885f7b233ad6ddfc952d08851577063200)
* add a control to read the vnnmap configuration from a nodeRonnie Sahlberg2007-04-275-8/+87
| | | | | | add support in ctdb_control to fetch this information from a node (This used to be ctdb commit 8d7f26c8d78d30c3ccb15a28ddea940d8666e052)
* add a mapping table from a hash value to a lmaster vnn numberRonnie Sahlberg2007-04-274-2/+42
| | | | | | | | | | | update ctdb_lmaster() return the lmaster based on this tables contents initialize the vnn table based on number of nodes for now. later when recovery is implemented the recovery process will populate this mapping table. (This used to be ctdb commit 71e440f6c26ea074f9887237c962101c8cef8c80)
* null terminate a stringAndrew Tridgell2007-04-261-1/+1
| | | | (This used to be ctdb commit a7408802c7bff235bd917d06f98e00e309d2d5ca)
* got rid of the getdbpath callAndrew Tridgell2007-04-267-144/+60
| | | | (This used to be ctdb commit 736ce5c00a1d1b47abb44c4b262b14bfba5202b1)
* added a ctdb_get_config callAndrew Tridgell2007-04-267-1/+107
| | | | | | added a ctdb ping control (This used to be ctdb commit 7d17378b6e6076a922cffe98239e20dfbbae3bf7)
* removed some bogus debug linesAndrew Tridgell2007-04-262-11/+2
| | | | (This used to be ctdb commit 25aa579058ecd2a33b13b4c1d6c7c75427bbdafa)
* merge from peterAndrew Tridgell2007-04-265-9/+55
|\ | | | | | | (This used to be ctdb commit e340d8d2af90d9a2819b0029f048cf4727617e7a)
| * fixed prev. ibwrapper_test optionsPeter Somogyi2007-04-261-1/+1
| | | | | | | | (This used to be ctdb commit 9a810d1f3201ec559d1f4f20ef4a42d7aa7090c4)
| * ctdb/ib: swapped ibwrapper_tets options (-d, -a, -g)Peter Somogyi2007-04-261-4/+4
| | | | | | | | (This used to be ctdb commit 4c11d4a990b792d3bc36e062c674e9573c6de821)