Andrew Tridgell
eb044bb1d6
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
(This used to be ctdb commit e236979e2162d9bd7a495086342168a696cf76c5)
2008-01-22 14:22:41 +11:00
Andrew Tridgell
3c5bf1fa01
merged 60.nfs changes from ronnie
...
(This used to be ctdb commit aa7996d4555883360082d9017185464b3551ae08)
2008-01-21 12:46:11 +11:00
Andrew Tridgell
ef02267c6e
merge from samba4
...
(This used to be ctdb commit 21245b894b32f232251fd7c0e2fbfd073fb10514)
2008-01-18 15:48:36 +11:00
Andrew Tridgell
ce134656d5
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
(This used to be ctdb commit 6d159f2c115dd5e9b8bab8798f7ac710b4427593)
2008-01-18 13:32:54 +11:00
Andrew Tridgell
d945b1af03
merge from ronnie
...
(This used to be ctdb commit 5f6d59b9d18c694d82591238bc7a6bb98726a3ed)
2008-01-17 16:46:56 +11:00
Ronnie Sahlberg
9625483c2d
add ctdb_uptime.c
...
(This used to be ctdb commit 4c7153681ed4d68d601720d043f9ff95ac7647a9)
2008-01-17 16:37:05 +11:00
Ronnie Sahlberg
9055978b46
add a ctdb uptime command that prints when ctdb was started and when the
...
last recovery occured
(This used to be ctdb commit b86e8ccbdac044bb949c4fc2ebb27635126272a9)
2008-01-17 11:33:23 +11:00
Ronnie Sahlberg
31fe67c068
merge from tridge
...
(This used to be ctdb commit 54136ff841459184d44acc314bff3d36c2868391)
2008-01-17 09:39:16 +11:00
Andrew Tridgell
5683a8d1e1
cope better with large debug dumps
...
(This used to be ctdb commit fc3733f8e966376f50799fd1aa7b0a8e1cf66e0e)
2008-01-16 23:06:37 +11:00
Andrew Tridgell
be9594c156
fixed handling of \r from stdout of subprocesses
...
(This used to be ctdb commit f1acec5db4948d8e48412a8546bb181b08a2c5fd)
2008-01-16 22:40:01 +11:00
Andrew Tridgell
e979ca9e60
update for release
...
(This used to be ctdb commit 51dbdb4ddec36e280b2d8e312a85a2589642ffb9)
2008-01-16 22:23:10 +11:00
Andrew Tridgell
0080683da8
fixed two 64bit warnings
...
(This used to be ctdb commit c61fe240713ae2e917f69f827c6927405f02f5d4)
2008-01-16 22:16:15 +11:00
Andrew Tridgell
97ede94e40
The recovery daemon does not need to be a realtime task
...
(This used to be ctdb commit f552acf7c1f9dd37eb35d9716ea3fb02304aae8f)
2008-01-16 22:08:33 +11:00
Andrew Tridgell
d815bc6f26
the event scripts no longer need to show a date, as its done by the main ctdbd logging function
...
(This used to be ctdb commit b5e691c4c3fe80b219a9ac355d28b766cb0303f3)
2008-01-16 22:06:44 +11:00
Andrew Tridgell
b62b7fcde8
added syslog support, and use a pipe to catch logging from child processes to the ctdbd logging functions
...
(This used to be ctdb commit 1306b04cd01e996fd1aa1159a9521f2ff7b06165)
2008-01-16 22:03:01 +11:00
Ronnie Sahlberg
fc9bc20098
merge from tridge
...
(This used to be ctdb commit dbdae68c0a2f58fcd9b2d8ee9c1f8ca8612623b6)
2008-01-16 14:32:29 +11:00
Andrew Tridgell
9f5ce343aa
merge from ronnie
...
(This used to be ctdb commit c0173a5fb9010474064209f2153797b57ff7e2a2)
2008-01-16 14:32:29 +11:00
Ronnie Sahlberg
5f2be8337e
doc updates
...
(This used to be ctdb commit 968866699604bae8cdf43478ad2b2cb1c4df6dbc)
2008-01-16 14:04:16 +11:00
Ronnie Sahlberg
d28d32b2e0
update getdbmap docs
...
(This used to be ctdb commit e04020f09ab4843ed34ea1d93ef8afcb79e0d3ef)
2008-01-16 12:03:22 +11:00
Ronnie Sahlberg
cf1abbedde
update
...
(This used to be ctdb commit ee6eca73193126faea87c051ed550cd8c362487d)
2008-01-16 11:09:16 +11:00
Ronnie Sahlberg
8b8fb37420
update --transport
...
we only supprot tcp now, infiniband may be supported in the future
(This used to be ctdb commit b70790cde9c1cfc8c0e345161e2667ccc3b4bd58)
2008-01-16 11:08:41 +11:00
Ronnie Sahlberg
d8a708f8e2
explain public-interface and single-public-ip better
...
(This used to be ctdb commit 5b1c4fff2795eaa5ef4a1a29ef5a6a136f28ed3d)
2008-01-16 11:06:26 +11:00
Ronnie Sahlberg
44cd0447cd
improve documentation of --nosetsched
...
(This used to be ctdb commit cff8ea7b16c3b166325337ce2085af44affdc4d9)
2008-01-16 10:44:43 +11:00
Ronnie Sahlberg
5b7838d768
ctdb_control_send() does not need to take an outdata parameter
...
remove the outdata parameter from the function and all callers
(This used to be ctdb commit e3951337f8df2ae19cce61c954036590c7a03582)
2008-01-16 10:23:26 +11:00
Ronnie Sahlberg
43ecfd30ac
merge from tridge
...
(This used to be ctdb commit afd2e5c249d0682e843884cb9ddd0a88d598d2bd)
2008-01-16 10:18:26 +11:00
Andrew Tridgell
8bf5790ec8
update for release
...
(This used to be ctdb commit b607ceff4e7337b0671ff1e295b418d55f01d025)
2008-01-16 09:47:43 +11:00
Andrew Tridgell
bf9e33d4cf
- catch a case where the client disconnects during a call
...
- track all talloc memory, using NULL context
(This used to be ctdb commit bf89c56002f5311520e91cb367753bc46e5dddc9)
2008-01-16 09:44:48 +11:00
Ronnie Sahlberg
e89d18cc2b
merge from tridge
...
(This used to be ctdb commit bf7bf6b2c03548b82dde262009d02630d27e9cae)
2008-01-16 08:00:51 +11:00
Andrew Tridgell
6c56e9d347
fixed a memory leak in the recovery daemon
...
(This used to be ctdb commit 73c27cf4c62cbe44b2b8fd00f907974d0808500c)
2008-01-15 20:11:44 +11:00
Andrew Tridgell
840ba4d5f6
minor fix to transaction_write_existing
...
(This used to be ctdb commit aa4e7578f78449c518730811220666e5e34adc06)
2008-01-15 15:28:07 +11:00
Andrew Tridgell
8d504452af
merge from ronnie
...
(This used to be ctdb commit d91fd2747ed42adfb765cdb1cb70cb5402990f36)
2008-01-15 15:27:44 +11:00
Ronnie Sahlberg
ba31feaec0
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
(This used to be ctdb commit 23a57b20c314d5f11a433cf251eb9d9de743849a)
2008-01-15 08:42:12 +11:00
Andrew Tridgell
ddbe31e5aa
fixed the bug that caused tdbtorture to fail
...
It was an error in the new transaction code
(This used to be ctdb commit 27f0dfdfb93d92859de3cbbd3874cfb38c13a169)
2008-01-14 15:11:10 +11:00
Ronnie Sahlberg
59327234ac
add eventscript for http
...
(This used to be ctdb commit 16cba208b041c2bd8dbf801af89dcbcde486abf2)
2008-01-11 10:44:16 +11:00
Ronnie Sahlberg
64c39438df
merge from tridge
...
(This used to be ctdb commit 503419c932a4ab89d71af28d6cc1254c136b04e8)
2008-01-10 15:20:16 +11:00
Andrew Tridgell
b866a147d2
get rid of monitor_retry as well
...
(This used to be ctdb commit c957cf9c1d99d5d3f4ca726f7a867c829660a2b7)
2008-01-10 14:49:43 +11:00
Andrew Tridgell
538f519dba
exponential backoff in health monitoring for faster startup
...
(This used to be ctdb commit 1b04a1f675f73b48366ba98803a58c3d8df1b6e1)
2008-01-10 14:40:56 +11:00
Ronnie Sahlberg
f10d9b8c24
typo
...
(This used to be ctdb commit 88b013977ac6e5b458515c523b2c30d1710d496c)
2008-01-10 11:13:47 +11:00
Ronnie Sahlberg
08a7985793
add documentation for the vacuum and repack commands.
...
document the -T option to ctdb
(This used to be ctdb commit fa5abbddaedc1c330f03cbacaa2ab4a76b0945ff)
2008-01-10 11:06:10 +11:00
Ronnie Sahlberg
6c61bcdf4b
merge from tridge
...
(This used to be ctdb commit 9d21fddc67a6f010420d2b21a40992ac678d542a)
2008-01-10 10:10:37 +11:00
Andrew Tridgell
bccfdc0838
increase version number
...
(This used to be ctdb commit fccaba54d392f983071e38336f792229f5199d13)
2008-01-10 10:05:33 +11:00
Andrew Tridgell
624898bd81
auto-run the vacuum and repack ops every 5 minutes by default
...
(This used to be ctdb commit 3fc3f3d15a0f51811b32ff7b554d1f8ce9715358)
2008-01-10 10:04:03 +11:00
Andrew Tridgell
3b3fceacbe
block alarm signals during critical sections of vacuum
...
(This used to be ctdb commit cfb14ae76f00f10d27b56c034b2247ab12d63065)
2008-01-10 09:43:14 +11:00
Andrew Tridgell
35e8f2ff6c
tdb_freelist_size was reporting 1 more than correct size
...
(This used to be ctdb commit 46214c9234c574b45bce0b88bfb3af437415a69e)
2008-01-10 09:42:44 +11:00
Andrew Tridgell
2119f0a66c
add a max runtime switch to ctdb tool
...
(This used to be ctdb commit b681e4f2011481aebbe18fd0147c2d500caf2705)
2008-01-10 08:04:54 +11:00
Ronnie Sahlberg
73ca357662
merge from tridge
...
(This used to be ctdb commit 8e69e6f89d3acda3960a698cd03e1d883baed4b2)
2008-01-09 18:24:02 +11:00
Andrew Tridgell
fae327d471
report the store rate in ctdb_randrec
...
(This used to be ctdb commit da3fb053d91da76122b12f0efb1d31e085b59574)
2008-01-09 17:45:13 +11:00
Andrew Tridgell
bc85af6b61
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
...
(This used to be ctdb commit f3319ef84c47dc8bf0bfb4ef1c72cee58ed9d88c)
2008-01-09 15:33:10 +11:00
Andrew Tridgell
5b6486c35b
allow delete percentage to be specified on the command line
...
(This used to be ctdb commit 1177b48067a92cbf013e19027d4122327c620361)
2008-01-09 15:32:18 +11:00
Andrew Tridgell
5d9913642f
allow remote variable expansion in onnode, so you can use wildcards that expand on the remote nodes
...
(This used to be ctdb commit def643225a1cb31d4999f3e73fad368ae60048ad)
2008-01-09 15:04:56 +11:00