summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a cut&paste errorVolker Lendecke2012-01-181-1/+1
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit 488de939b78125ac38822760102e05298a5e70c5)
* server: fix a comment typoMichael Adam2012-01-101-1/+1
| | | | (This used to be ctdb commit 85879edd09ffa26f87c566954cbd2c14f1e331ed)
* explain why we use FIONREADRonnie Sahlberg2012-01-041-0/+6
| | | | (This used to be ctdb commit d0f85478c37828eb8a24315d4326eb4eaedb9afc)
* Merge branch 'master' of ssh://git.samba.org/data/git/ctdbRonnie Sahlberg2012-01-0311-1292/+1247
|\ | | | | | | (This used to be ctdb commit 15d8ae8b0f80f95d7839528b8ac60aa0e2485c77)
| * vacuum: improve logging in remove_record_from_delete_queue()Michael Adam2011-12-231-5/+20
| | | | | | | | (This used to be ctdb commit 809d1f3b8a9232fce0376cb47e4f633b49237529)
| * vacuum: improve logging in delete_record_traverse()Michael Adam2011-12-231-3/+12
| | | | | | | | (This used to be ctdb commit 40ca781b3305d9f0bfee5b109d4eefde461a3f13)
| * vacuum: improve logging in insert_record_into_delete_queue()Michael Adam2011-12-231-4/+4
| | | | | | | | (This used to be ctdb commit db59ac2ee6a9f5f7f088ebbc5e2800d9e57aae17)
| * vacuum: improve debugging in delete_queue_traverse()Michael Adam2011-12-231-4/+12
| | | | | | | | (This used to be ctdb commit 2c44c6dc583872c603a399afb01936abcbb05158)
| * vacuum: add debug message to insert_record_into_delete_queue() for failed insertMichael Adam2011-12-231-0/+4
| | | | | | | | (This used to be ctdb commit ae78e8d991636a3a79dd9fbcefc15032afb08f55)
| * vacuum: improve debugging in insert_record_into_delete_queue()Michael Adam2011-12-231-4/+6
| | | | | | | | (This used to be ctdb commit 6e6aaba28ac560d51d7450ebcf99babf868d0aea)
| * vacuum: initialize (to zero) the vacuum fetch list in ↵Michael Adam2011-12-231-1/+1
| | | | | | | | | | | | ctdb_vacuum_init_vacuum_data() (This used to be ctdb commit 772e08c29ef70a4cc73f7887939e5071a90a98cb)
| * vacuum: add statistics output for processing of the delete listMichael Adam2011-12-231-2/+22
| | | | | | | | (This used to be ctdb commit bec2ff46402b6d90521c75e8d46b9f6f2f47239a)
| * doc:ctdb.1: add generated files after updateMichael Adam2011-12-232-407/+598
| | | | | | | | (This used to be ctdb commit 4f23976fad3de63a47cf81d26dff1973d025e262)
| * doc:ctdb.1: explain that "ctdb listvars" does not list obsolete tunables any ↵Michael Adam2011-12-231-1/+3
| | | | | | | | | | | | more (This used to be ctdb commit 4ed94279f243729d521d365a44607fd086ae7c41)
| * doc:ctdb.1: adapt example output of "ctdb listvars" to current stateMichael Adam2011-12-231-43/+43
| | | | | | | | (This used to be ctdb commit 583cbf1bf8f6b1a805d77a2a1d521015868c7828)
| * ctdb-tool: adapt formatting of "listvars" output to lenght of longest nameMichael Adam2011-12-231-1/+1
| | | | | | | | (This used to be ctdb commit 295168d99183d2d21f27a8ac6825d421fa866b28)
| * tunables: don't list obsolete tunables in the list_tunables controlMichael Adam2011-12-231-0/+3
| | | | | | | | (This used to be ctdb commit d8ab86f0eb11437e50d18183858dd3177a8f61e6)
| * tunables: add a bool obsolete flag to the tunable_map listMichael Adam2011-12-231-49/+50
| | | | | | | | (This used to be ctdb commit 1a7d9b25fdcf7b59598618d406c2a681c90d9163)
| * vacuum: add a comment explaining a race in the vacuum code.Michael Adam2011-12-231-0/+11
| | | | | | | | (This used to be ctdb commit 07f1ba54b1617fadd6fe83826dd8e76f37cea071)
| * vacuum: factor out initialization of the vacuum data from ctdb_vacuum_db()Michael Adam2011-12-231-161/+165
| | | | | | | | | | | | for readability (This used to be ctdb commit 1963e33859e9dc51e9e88664c6d95e62c7c8b8be)
| * vacuum: streamline ctdb_process_delete_list()Michael Adam2011-12-231-114/+127
| | | | | | | | | | | | Reducing indentiation and improving use of talloc. (This used to be ctdb commit 11f52ba18370f1dda983f2263f9af82045b4fdea)
| * vacuum: factor processing of the delete list out of ctdb_vacuum_db()Michael Adam2011-12-231-103/+121
| | | | | | | | (This used to be ctdb commit cf68b762432a18e4a3cda137591b3f005c196906)
| * vacuum: factor processing of vacuum fetch lists out of ctdb_vacuum_db()Michael Adam2011-12-231-30/+47
| | | | | | | | (This used to be ctdb commit 905fc9cd7126ab84c23d4a803c59e32b9c54e6f0)
| * vacuum: factor out full vacuum run out of ctdb_vacuum_db() as ↵Michael Adam2011-12-231-30/+49
| | | | | | | | | | | | ctdb_vacuum_db_full() (This used to be ctdb commit e31594e0c13899e88013ce7eb7e3dc434c2f0723)
| * vacuum: factor out the fast vacuuming run into ctdb_vacuum_db_fast()Michael Adam2011-12-231-25/+34
| | | | | | | | | | | | for readability (This used to be ctdb commit 6596f2c4a6b4783b6498502fbbf50f87d4f59085)
| * vacuum: rename delete_tree to delete_listMichael Adam2011-12-231-23/+23
| | | | | | | | | | | | It is not important for the user that this is implemented as a tree. (This used to be ctdb commit f686bc440560074c1ce866f2037ae3671f182185)
| * vacuum: appropriately rename vdata.list to vdata.vacuum_fetch_listMichael Adam2011-12-231-9/+11
| | | | | | | | (This used to be ctdb commit 09c55b76c96c4ab3fe812763007b81cf0a2ac86c)
| * vacuum: introduce a helper variable for the vacuum fetch list in ↵Michael Adam2011-12-231-4/+5
| | | | | | | | | | | | ctdb_vacuum_db() (This used to be ctdb commit 019106e035520e6b3e5702b6e76d910626c3df13)
| * vacuum: introduce a helper variable in add_record_to_vacuum_fetch_list() to ↵Michael Adam2011-12-231-7/+10
| | | | | | | | | | | | reduce verbosity (This used to be ctdb commit 48fe56ea27e3649ae7a67257fdce54f973e7c3c5)
| * tools/ctdb: allow the "ctdb vacuum" stub to be run without the daemon running.Michael Adam2011-12-231-1/+1
| | | | | | | | (This used to be ctdb commit e71afbf731f06a3b89b64220c7fd1b1ea5492d4a)
| * tools/ctdb: remove functionality of "ctdb vacuum", just keeping a stub.Michael Adam2011-12-231-440/+1
| | | | | | | | (This used to be ctdb commit 8fc4d5018ee6eee8856634095694d3ad0de5b4ae)
| * vacuum: locally delete the records in the delete_tree that have be deleted ↵Michael Adam2011-12-231-8/+116
| | | | | | | | | | | | | | | | | | | | remotely This way, especially records added in the fast vacuuming runs are deleted direclty instead of being handed back to the repack run which will probably not hit because of the vacuum limit. (This used to be ctdb commit ea3e640a28178ddcb85285f4efec62ccba2483d9)
| * vacuum: improve vacuuming statistics for handling the delete_tree.Michael Adam2011-12-231-8/+24
| | | | | | | | | | | | | | | | Track the number of records failed to delete remotely with the TRY_DELETE_RECORDS control. And add a number of records left to delete locally. (This used to be ctdb commit 536aad024d52f2c32dd397fc86294c963b91341b)
| * vacuum: fix and improve a commentMichael Adam2011-12-231-3/+4
| | | | | | | | (This used to be ctdb commit 0ed349c24c7399b3b440c1f5d573db77ddb988b3)
| * vacuum: appropriately rename delete_traverse() to delete_marshall_traverse()Michael Adam2011-12-231-2/+3
| | | | | | | | (This used to be ctdb commit 7c5b27bc8dce9e30f2aff05297113da981f7b9a3)
| * vacuum: initialize the delete_count in the vacuum dataMichael Adam2011-12-231-0/+1
| | | | | | | | (This used to be ctdb commit 970b8fc60857ad2f18f45312d355c571fb2f0246)
| * vacuum: fix the VacuumInterval tunable's type to uint32_t in ↵Michael Adam2011-12-231-2/+2
| | | | | | | | | | | | get_vacuum_interval() (This used to be ctdb commit a5a29bf92b23e9b5a1523b06461eced422b22ffe)
| * vacuum: add new tunable VacuumInterval and mark ↵Michael Adam2011-12-233-4/+6
| | | | | | | | | | | | | | | | Vacuum{Default,Min,Max}Interval obsolete And use VacuumInterval instead of VacuumDefaultInterval in the code. (This used to be ctdb commit 78530f40338f511a7cd1d33ada450905742bfa8f)
| * vacuum: remove struct vacuum_tuning_data (unused)Michael Adam2011-12-231-10/+0
| | | | | | | | (This used to be ctdb commit 1f62afbe1ae0b3e7dbad4081d1b51e3ab6ee5c39)
| * vacuum: use get_vacuum_interval() in ctdb_vacuum_event()Michael Adam2011-12-231-3/+9
| | | | | | | | | | | | (instead of using the tunable directly) (This used to be ctdb commit e40fa9efd1c77aa35c917aba6e6e4d21d9c5cdea)
| * vacuum: change get_vacuum_interval() to simply return the ↵Michael Adam2011-12-231-49/+0
| | | | | | | | | | | | VacuumDefaultInterval tunable (This used to be ctdb commit 621c3ce957cb946ca05a2d527c037746ae2f01d3)
| * vacuum: remove update_tuning_db()Michael Adam2011-12-231-101/+0
| | | | | | | | (This used to be ctdb commit d93750ea3f5cb854e5893e53795fd08656e7c12c)
| * ctdb_ltdb_store_server: when storing a record that is not to be scheduled ↵Michael Adam2011-12-231-6/+14
| | | | | | | | | | | | | | | | for deletion, remove it from the delete queue Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 489148e465e2b8aed87ea836e3518f43490671ca)
| * vacuum: add ctdb_local_remove_from_delete_queue()Michael Adam2011-12-232-0/+57
| | | | | | | | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit a5065b42a98c709173503e02d217f97792878625)
| * rb_tree: fix possible access-after-free-error in trbt_traversearray32_nodeMichael Adam2011-12-231-4/+7
| | | | | | | | | | | | | | | | | | When the traverse callback frees the current node, the traverse of the rbtree can fail (the next node->right fails since node is not there any more...). This is fixed by introducing variables to store the right (and left) pointers before the callback is called. (This used to be ctdb commit 8b0caaeed154d26c67a73659d3bbbdd63b21be11)
| * fix zero-initialization of header in _ctdbd_allocate_pkt to the correct sizeMichael Adam2011-12-231-2/+1
| | | | | | | | (This used to be ctdb commit 6c4d1b768ccade344a7462ecad7cf5cbbf3873d4)
* | Merge remote branch 'martins/nodestatus'Ronnie Sahlberg2012-01-038-146/+680
|\ \ | |/ |/| | | (This used to be ctdb commit adcb076612c56f92cfb6f3ba90721981a067a494)
| * Tests - make a comment more accurateMartin Schwenke2011-12-081-2/+1
| | | | | | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 726b598076132a5a73f9259d6b65ee2a4012099f)
| * Tests - test code for parse_nodestring() functionMartin Schwenke2011-12-084-5/+429
| | | | | | | | | | | | | | | | | | | | | | This function is fairly complex so here is some test code. This reworks Makefile a bit and also provides test stubs for some libctdb functions. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 5b11f990404c26c279c9ae389483e560f1c01a81)
| * Rename struct traverse_state to allow tools C files to be #included.Martin Schwenke2011-12-081-3/+3
| | | | | | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 54377ef8b992f92d3a4ece42ee72e37d22cd2de6)