1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

1494 Commits

Author SHA1 Message Date
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
Ronnie Sahlberg
bd8252823c merge from tridge
(This used to be ctdb commit 9c6d470390f80d94592aa22193245dd8d0f15a41)
2008-01-09 10:40:21 +11:00
Andrew Tridgell
59d69bb709 only match vacuum list if on the same database
(This used to be ctdb commit 27e56955e93027534780cc7549ddb224670d82b6)
2008-01-09 10:22:20 +11:00
Ronnie Sahlberg
9862338dd2 merge from tridge
(This used to be ctdb commit 3e40441fbd0b2924def97b04b738f9c186c71c14)
2008-01-09 10:10:33 +11:00
Andrew Tridgell
fa77de5b34 needs to be in Makefile.in too
(This used to be ctdb commit b3dfdf28fa682a55d177564774cde3af8c260d8e)
2008-01-09 08:50:03 +11:00
Andrew Tridgell
4879d465fa forgot this file
(This used to be ctdb commit d715bef49a88f9084f53b3c88307848ed8434a50)
2008-01-09 08:41:27 +11:00
Andrew Tridgell
010e257e64 increase version number
(This used to be ctdb commit 8aa1d26a83fd781e641fa23b14bbfd1c238de0b6)
2008-01-09 08:29:19 +11:00
Andrew Tridgell
bb3f77d61d changed default vacuum limit
(This used to be ctdb commit 7ca2977c12cf7938da639a17a0f857d7029d749c)
2008-01-09 08:28:18 +11:00
Andrew Tridgell
673a2b46f9 nicer outut from repack and vacuum
(This used to be ctdb commit 446c76bc332fe1366c32898fb77279a902d7159c)
2008-01-08 23:02:43 +11:00
Andrew Tridgell
0ee375ad66 this is not an error - it just means the record was busy
(This used to be ctdb commit 749451a4e97330d0fc35f5366dcc61aa500f7ce9)
2008-01-08 22:36:44 +11:00
Andrew Tridgell
9559249e15 ensure the main daemon doesn't use a blocking lock on the freelist
(This used to be ctdb commit 73f8257906b09e6516f675883d8e7a3c455ad869)
2008-01-08 22:31:48 +11:00
Andrew Tridgell
1c91398aef ensure the recovery daemon is not clagged up by vacuum calls
(This used to be ctdb commit ff7e80e247bf5a86adda0ef850d901478449675b)
2008-01-08 21:28:42 +11:00
Andrew Tridgell
96100fcae6 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

(This used to be ctdb commit 3532119c84ab3247051ed6ba21ba3243ae2f6bf4)
2008-01-08 17:23:27 +11:00
Andrew Tridgell
41f63fe162 updated docs from ronnie
(This used to be ctdb commit 0390f9e68210dd7f6e750f7a5909a0f97841193c)
2008-01-08 11:47:29 +11:00
Andrew Tridgell
25bb60f112 show start/stop time of recovery on all nodes
(This used to be ctdb commit 9f7662279c367eb3e8a58e6f4aeca521e6f1f1d0)
2008-01-08 09:30:11 +11:00
Andrew Tridgell
61fd2d5d6f background the smbstatus -n command
(This used to be ctdb commit 0a05cc6763aa6e57089d3ce70516d359fcddb0e4)
2008-01-07 23:41:07 +11:00
Andrew Tridgell
37861932ce merge from ronnie
(This used to be ctdb commit 0aa6e04438aa5ec727815689baa19544df042cf7)
2008-01-07 16:17:22 +11:00
Ronnie Sahlberg
fd227f5d29 merge from tridge
(This used to be ctdb commit 586347cfcb8dd72ab6cef4e5d2fceb584f55cb3a)
2008-01-07 16:16:43 +11:00
Andrew Tridgell
d38fbaa38b nicer onnode output
(This used to be ctdb commit ac5c1e090d007bc2e3965589731620b87c0217fb)
2008-01-07 14:31:13 +11:00
Andrew Tridgell
4258098e98 catch internal traversal errors
(This used to be ctdb commit 8caa85ad71be5d20a8d6f0cb3d52aff6905657a4)
2008-01-07 14:08:25 +11:00
Andrew Tridgell
528e4d7a2b more efficient traversal in pulldb control
(This used to be ctdb commit fe614b10868e63b70e081b5bbfb74bf16fdf5716)
2008-01-07 14:07:01 +11:00
Andrew Tridgell
30e18ed48e don't retstart statd when we don't need to
(This used to be ctdb commit 94059f108b14c4a2442a40cf8f0eceb612c5d14a)
2008-01-07 14:05:30 +11:00
Andrew Tridgell
db6ac79579 new rpm version
(This used to be ctdb commit eb8fba9613e90088b295d6428d5edad7b75315ba)
2008-01-06 13:25:17 +11:00
Andrew Tridgell
748843a3c6 added paranoid transaction ids
(This used to be ctdb commit afc1da53873cdbd31fcc8c6b22fae262e344cf6e)
2008-01-06 13:24:55 +11:00
Andrew Tridgell
c08f2616cd new simpler and much faster recovery code based on tdb transactions
(This used to be ctdb commit 9ef2268a1674b01f60c58fed72af8ac982fe77a3)
2008-01-06 12:38:01 +11:00
Andrew Tridgell
4f5b717aa3 change default tunables to cope with larger dbs
(This used to be ctdb commit d91a2d43d1f0562cc3a12e6e1e2767f75d888f72)
2008-01-06 12:36:58 +11:00
Andrew Tridgell
108aafcdb2 non-persistent databases don't need sync transactions
(This used to be ctdb commit 52fd86addd23e4d6e0af2c716bd83d19675b1f5a)
2008-01-06 12:36:30 +11:00
Andrew Tridgell
4322a86645 ensure tdb log messages appear in ctdbd logs
(This used to be ctdb commit b2439487832230e7b738c0f89eeaa2c0c4ba0951)
2008-01-06 12:35:49 +11:00
Andrew Tridgell
ff039b405f - added tdb_add_flags() and tdb_remove_flags()
- make freelist merging more paranoid

- fixed TDB_DATA_STAART() (broken by earlier commit)

(This used to be ctdb commit c3be8eb7d1ca316111ec51f45dbca2fa5609cf93)
2008-01-06 12:33:57 +11:00
Andrew Tridgell
43aa27c9ee this is needed with merged tdb
(This used to be ctdb commit 3dc07f2bf98ab445ab960ef14173bc6924e3b658)
2008-01-05 17:42:01 +11:00
Andrew Tridgell
841a04924c merge from Samba4
(This used to be ctdb commit 9aed7a1d065272c2e5b54872228a73f37664b526)
2008-01-05 17:41:41 +11:00
Andrew Tridgell
370779a1bb update from Samba4
(This used to be ctdb commit 298118c41bd33acd1a34a35a71a28451a45390c5)
2008-01-05 17:41:01 +11:00