Andrew Tridgell [Tue, 29 Jan 2008 03:11:49 +0000 (14:11 +1100)]
update for release 1.0.25
Andrew Tridgell [Tue, 29 Jan 2008 03:08:09 +0000 (14:08 +1100)]
update download instructions for new git tree
Andrew Tridgell [Tue, 29 Jan 2008 03:00:16 +0000 (14:00 +1100)]
ignore some autogenerated test files
Andrew Tridgell [Tue, 29 Jan 2008 02:59:28 +0000 (13:59 +1100)]
merge async recovery changes from Ronnie
Andrew Tridgell [Tue, 29 Jan 2008 00:46:32 +0000 (11:46 +1100)]
useful for building with equivalent options to the spec file
Andrew Tridgell [Tue, 29 Jan 2008 00:46:09 +0000 (11:46 +1100)]
added an ignore file
Andrew Tridgell [Tue, 29 Jan 2008 00:39:06 +0000 (11:39 +1100)]
partial merge from ronnie
Andrew Tridgell [Mon, 28 Jan 2008 06:27:16 +0000 (17:27 +1100)]
fixed egrep pattern to use more compatible expression for spaces
Andrew Tridgell [Tue, 22 Jan 2008 03:22:41 +0000 (14:22 +1100)]
make ctdb dumpmemory work remotely, and dump the talloc
memory tree to stdout. This is much more useful than putting it in the log, and also fixes
a bug where the pipe would overflow internally and cause ctdbd to lockup
Andrew Tridgell [Mon, 21 Jan 2008 01:46:11 +0000 (12:46 +1100)]
merged 60.nfs changes from ronnie
Andrew Tridgell [Fri, 18 Jan 2008 04:48:36 +0000 (15:48 +1100)]
merge from samba4
Andrew Tridgell [Fri, 18 Jan 2008 02:32:54 +0000 (13:32 +1100)]
more efficient freelist allocation
This takes advantage of the fact that we can do left merges but not right merges
By allocating data from the end of the freelist entry rather than the beginning
we can guarantee that if we immediately free the record again it will be merged
with the previous freelist entry, reducing fragmentation
Andrew Tridgell [Thu, 17 Jan 2008 05:46:56 +0000 (16:46 +1100)]
merge from ronnie
Ronnie Sahlberg [Thu, 17 Jan 2008 05:37:05 +0000 (16:37 +1100)]
add ctdb_uptime.c
Ronnie Sahlberg [Thu, 17 Jan 2008 00:33:23 +0000 (11:33 +1100)]
add a ctdb uptime command that prints when ctdb was started and when the
last recovery occured
Ronnie Sahlberg [Wed, 16 Jan 2008 22:39:16 +0000 (09:39 +1100)]
merge from tridge
Andrew Tridgell [Wed, 16 Jan 2008 12:06:37 +0000 (23:06 +1100)]
cope better with large debug dumps
Andrew Tridgell [Wed, 16 Jan 2008 11:40:01 +0000 (22:40 +1100)]
fixed handling of \r from stdout of subprocesses
Andrew Tridgell [Wed, 16 Jan 2008 11:23:10 +0000 (22:23 +1100)]
update for release
Andrew Tridgell [Wed, 16 Jan 2008 11:16:15 +0000 (22:16 +1100)]
fixed two 64bit warnings
Andrew Tridgell [Wed, 16 Jan 2008 11:08:33 +0000 (22:08 +1100)]
The recovery daemon does not need to be a realtime task
Andrew Tridgell [Wed, 16 Jan 2008 11:06:44 +0000 (22:06 +1100)]
the event scripts no longer need to show a date, as its done by the main ctdbd logging function
Andrew Tridgell [Wed, 16 Jan 2008 11:03:01 +0000 (22:03 +1100)]
added syslog support, and use a pipe to catch logging from child processes to the ctdbd logging functions
Ronnie Sahlberg [Wed, 16 Jan 2008 03:32:29 +0000 (14:32 +1100)]
merge from tridge
Andrew Tridgell [Wed, 16 Jan 2008 03:32:29 +0000 (14:32 +1100)]
merge from ronnie
Ronnie Sahlberg [Wed, 16 Jan 2008 03:04:16 +0000 (14:04 +1100)]
doc updates
Ronnie Sahlberg [Wed, 16 Jan 2008 01:03:22 +0000 (12:03 +1100)]
update getdbmap docs
Ronnie Sahlberg [Wed, 16 Jan 2008 00:09:16 +0000 (11:09 +1100)]
update
Ronnie Sahlberg [Wed, 16 Jan 2008 00:08:41 +0000 (11:08 +1100)]
update --transport
we only supprot tcp now, infiniband may be supported in the future
Ronnie Sahlberg [Wed, 16 Jan 2008 00:06:26 +0000 (11:06 +1100)]
explain public-interface and single-public-ip better
Ronnie Sahlberg [Tue, 15 Jan 2008 23:44:43 +0000 (10:44 +1100)]
improve documentation of --nosetsched
Ronnie Sahlberg [Tue, 15 Jan 2008 23:23:26 +0000 (10:23 +1100)]
ctdb_control_send() does not need to take an outdata parameter
remove the outdata parameter from the function and all callers
Ronnie Sahlberg [Tue, 15 Jan 2008 23:18:26 +0000 (10:18 +1100)]
merge from tridge
Andrew Tridgell [Tue, 15 Jan 2008 22:47:43 +0000 (09:47 +1100)]
update for release
Andrew Tridgell [Tue, 15 Jan 2008 22:44:48 +0000 (09:44 +1100)]
- catch a case where the client disconnects during a call
- track all talloc memory, using NULL context
Ronnie Sahlberg [Tue, 15 Jan 2008 21:00:51 +0000 (08:00 +1100)]
merge from tridge
Andrew Tridgell [Tue, 15 Jan 2008 09:11:44 +0000 (20:11 +1100)]
fixed a memory leak in the recovery daemon
Andrew Tridgell [Tue, 15 Jan 2008 04:28:07 +0000 (15:28 +1100)]
minor fix to transaction_write_existing
Andrew Tridgell [Tue, 15 Jan 2008 04:27:44 +0000 (15:27 +1100)]
merge from ronnie
Ronnie Sahlberg [Mon, 14 Jan 2008 21:42:12 +0000 (08:42 +1100)]
split node health monitoring and checking for connected/disconnected
nodes into two separate files.
move the monitoring of keepalives for detecting connected/disconnected
remote nodes into ctdb_keepalive.c
Andrew Tridgell [Mon, 14 Jan 2008 04:11:10 +0000 (15:11 +1100)]
fixed the bug that caused tdbtorture to fail
It was an error in the new transaction code
Ronnie Sahlberg [Thu, 10 Jan 2008 23:44:16 +0000 (10:44 +1100)]
add eventscript for http
Ronnie Sahlberg [Thu, 10 Jan 2008 04:20:16 +0000 (15:20 +1100)]
merge from tridge
Andrew Tridgell [Thu, 10 Jan 2008 03:49:43 +0000 (14:49 +1100)]
get rid of monitor_retry as well
Andrew Tridgell [Thu, 10 Jan 2008 03:40:56 +0000 (14:40 +1100)]
exponential backoff in health monitoring for faster startup
Ronnie Sahlberg [Thu, 10 Jan 2008 00:13:47 +0000 (11:13 +1100)]
typo
Ronnie Sahlberg [Thu, 10 Jan 2008 00:06:10 +0000 (11:06 +1100)]
add documentation for the vacuum and repack commands.
document the -T option to ctdb
Ronnie Sahlberg [Wed, 9 Jan 2008 23:10:37 +0000 (10:10 +1100)]
merge from tridge
Andrew Tridgell [Wed, 9 Jan 2008 23:05:33 +0000 (10:05 +1100)]
increase version number
Andrew Tridgell [Wed, 9 Jan 2008 23:04:03 +0000 (10:04 +1100)]
auto-run the vacuum and repack ops every 5 minutes by default
Andrew Tridgell [Wed, 9 Jan 2008 22:43:14 +0000 (09:43 +1100)]
block alarm signals during critical sections of vacuum
Andrew Tridgell [Wed, 9 Jan 2008 22:42:44 +0000 (09:42 +1100)]
tdb_freelist_size was reporting 1 more than correct size
Andrew Tridgell [Wed, 9 Jan 2008 21:04:54 +0000 (08:04 +1100)]
add a max runtime switch to ctdb tool
Ronnie Sahlberg [Wed, 9 Jan 2008 07:24:02 +0000 (18:24 +1100)]
merge from tridge
Andrew Tridgell [Wed, 9 Jan 2008 06:45:13 +0000 (17:45 +1100)]
report the store rate in ctdb_randrec
Andrew Tridgell [Wed, 9 Jan 2008 04:33:10 +0000 (15:33 +1100)]
a compromise for freelist scanning - we now will look for other than the first fit, but get exponentially more desperate as we get deeper into the freelist
Andrew Tridgell [Wed, 9 Jan 2008 04:32:18 +0000 (15:32 +1100)]
allow delete percentage to be specified on the command line
Andrew Tridgell [Wed, 9 Jan 2008 04:04:56 +0000 (15:04 +1100)]
allow remote variable expansion in onnode, so you can use wildcards that expand on the remote nodes
Ronnie Sahlberg [Tue, 8 Jan 2008 23:40:21 +0000 (10:40 +1100)]
merge from tridge
Andrew Tridgell [Tue, 8 Jan 2008 23:22:20 +0000 (10:22 +1100)]
only match vacuum list if on the same database
Ronnie Sahlberg [Tue, 8 Jan 2008 23:10:33 +0000 (10:10 +1100)]
merge from tridge
Andrew Tridgell [Tue, 8 Jan 2008 21:50:03 +0000 (08:50 +1100)]
needs to be in Makefile.in too
Andrew Tridgell [Tue, 8 Jan 2008 21:41:27 +0000 (08:41 +1100)]
forgot this file
Andrew Tridgell [Tue, 8 Jan 2008 21:29:19 +0000 (08:29 +1100)]
increase version number
Andrew Tridgell [Tue, 8 Jan 2008 21:28:18 +0000 (08:28 +1100)]
changed default vacuum limit
Andrew Tridgell [Tue, 8 Jan 2008 12:02:43 +0000 (23:02 +1100)]
nicer outut from repack and vacuum
Andrew Tridgell [Tue, 8 Jan 2008 11:36:44 +0000 (22:36 +1100)]
this is not an error - it just means the record was busy
Andrew Tridgell [Tue, 8 Jan 2008 11:31:48 +0000 (22:31 +1100)]
ensure the main daemon doesn't use a blocking lock on the freelist
Andrew Tridgell [Tue, 8 Jan 2008 10:28:42 +0000 (21:28 +1100)]
ensure the recovery daemon is not clagged up by vacuum calls
Andrew Tridgell [Tue, 8 Jan 2008 06:23:27 +0000 (17:23 +1100)]
added two new ctdb commands:
ctdb vacuum : vacuums all the databases, deleting any zero length
ctdb records
ctdb repack : repacks all the databases, resulting in a perfectly
packed database with no freelist entries
Andrew Tridgell [Tue, 8 Jan 2008 00:47:29 +0000 (11:47 +1100)]
updated docs from ronnie
Andrew Tridgell [Mon, 7 Jan 2008 22:30:11 +0000 (09:30 +1100)]
show start/stop time of recovery on all nodes
Andrew Tridgell [Mon, 7 Jan 2008 12:41:07 +0000 (23:41 +1100)]
background the smbstatus -n command
Andrew Tridgell [Mon, 7 Jan 2008 05:17:22 +0000 (16:17 +1100)]
merge from ronnie
Ronnie Sahlberg [Mon, 7 Jan 2008 05:16:43 +0000 (16:16 +1100)]
merge from tridge
Andrew Tridgell [Mon, 7 Jan 2008 03:31:13 +0000 (14:31 +1100)]
nicer onnode output
Andrew Tridgell [Mon, 7 Jan 2008 03:08:25 +0000 (14:08 +1100)]
catch internal traversal errors
Andrew Tridgell [Mon, 7 Jan 2008 03:07:01 +0000 (14:07 +1100)]
more efficient traversal in pulldb control
Andrew Tridgell [Mon, 7 Jan 2008 03:05:30 +0000 (14:05 +1100)]
don't retstart statd when we don't need to
Andrew Tridgell [Sun, 6 Jan 2008 02:25:17 +0000 (13:25 +1100)]
new rpm version
Andrew Tridgell [Sun, 6 Jan 2008 02:24:55 +0000 (13:24 +1100)]
added paranoid transaction ids
Andrew Tridgell [Sun, 6 Jan 2008 01:38:01 +0000 (12:38 +1100)]
new simpler and much faster recovery code based on tdb transactions
Andrew Tridgell [Sun, 6 Jan 2008 01:36:58 +0000 (12:36 +1100)]
change default tunables to cope with larger dbs
Andrew Tridgell [Sun, 6 Jan 2008 01:36:30 +0000 (12:36 +1100)]
non-persistent databases don't need sync transactions
Andrew Tridgell [Sun, 6 Jan 2008 01:35:49 +0000 (12:35 +1100)]
ensure tdb log messages appear in ctdbd logs
Andrew Tridgell [Sun, 6 Jan 2008 01:33:57 +0000 (12:33 +1100)]
- added tdb_add_flags() and tdb_remove_flags()
- make freelist merging more paranoid
- fixed TDB_DATA_STAART() (broken by earlier commit)
Andrew Tridgell [Sat, 5 Jan 2008 06:42:01 +0000 (17:42 +1100)]
this is needed with merged tdb
Andrew Tridgell [Sat, 5 Jan 2008 06:41:41 +0000 (17:41 +1100)]
merge from Samba4
Andrew Tridgell [Sat, 5 Jan 2008 06:41:01 +0000 (17:41 +1100)]
update from Samba4
Andrew Tridgell [Sat, 5 Jan 2008 06:22:47 +0000 (17:22 +1100)]
convert tdb from u32 to uint32_t to match the current Samba trees
Andrew Tridgell [Sat, 5 Jan 2008 06:19:47 +0000 (17:19 +1100)]
Rewrote the tdb transaction code to be O(N) instead of O(N^2)
The previous transaction code was fast as long as you didn't do too
many writes within the transaction. The new code is a bit slower for
very small numbers of writes, but scales linearly as the number of
writes increases. The old code scaled as O(N^2) with the number of
writes, making it unusable for large N.
After testing, this needs to be merged into the Samba version of tdb,
along with many of the other recent tdb changes in the ctdb tree.
Andrew Tridgell [Sat, 5 Jan 2008 02:08:10 +0000 (13:08 +1100)]
fixed excludes in tar ball creation for src rpm
Andrew Tridgell [Sat, 5 Jan 2008 01:10:18 +0000 (12:10 +1100)]
fixed data offset definition
Andrew Tridgell [Sat, 5 Jan 2008 01:09:29 +0000 (12:09 +1100)]
fixed the bug that make "onnode N service ctdb start" hang
Andrew Tridgell [Sat, 5 Jan 2008 01:09:00 +0000 (12:09 +1100)]
cleanup the new freelist code
Andrew Tridgell [Sat, 5 Jan 2008 01:08:41 +0000 (12:08 +1100)]
added tdb_wipe_all() function
Andrew Tridgell [Fri, 4 Jan 2008 22:55:18 +0000 (09:55 +1100)]
ensure we always build the right version
Andrew Tridgell [Fri, 4 Jan 2008 22:52:53 +0000 (09:52 +1100)]
update version
Andrew Tridgell [Fri, 4 Jan 2008 22:36:53 +0000 (09:36 +1100)]
a new tunable DatabaseMaxDead that enables the tdb max dead cache logic
Andrew Tridgell [Fri, 4 Jan 2008 22:36:21 +0000 (09:36 +1100)]
a useful hack for checking correct behaviour of recovery