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
Andrew Tridgell
67d2b14d90
convert tdb from u32 to uint32_t to match the current Samba trees
...
(This used to be ctdb commit 0dc754b7e8b0985a252885ed043949dfb7ea1ae1)
2008-01-05 17:22:47 +11:00
Andrew Tridgell
c2f84d6f4e
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.
(This used to be ctdb commit bef8fe3d3ba80c7c660972c5357407f5278f7e26)
2008-01-05 17:19:47 +11:00
Andrew Tridgell
5180a3b756
fixed excludes in tar ball creation for src rpm
...
(This used to be ctdb commit fe0662fb2cdf733c5c9da7e24641e89039cb3e54)
2008-01-05 13:08:10 +11:00
Andrew Tridgell
a54b88dba2
fixed data offset definition
...
(This used to be ctdb commit cef83d74883f6c66866fb7e5e17769322a3473da)
2008-01-05 12:10:18 +11:00
Andrew Tridgell
9311f7fb7e
fixed the bug that make "onnode N service ctdb start" hang
...
(This used to be ctdb commit b50dcb16f30a60abce42f491f9b0aae7948b8206)
2008-01-05 12:09:29 +11:00
Andrew Tridgell
63b2d1c34e
cleanup the new freelist code
...
(This used to be ctdb commit 76137104c7028b061578950d4b6b35ca8267fab1)
2008-01-05 12:09:00 +11:00
Andrew Tridgell
a21afe88bc
added tdb_wipe_all() function
...
(This used to be ctdb commit 8e2d81cf54630970d66af92de2c0333acd2e1d22)
2008-01-05 12:08:41 +11:00
Andrew Tridgell
9bd69e75c8
ensure we always build the right version
...
(This used to be ctdb commit 841943e74355a4347cda5b23b1807522bf12f169)
2008-01-05 09:55:18 +11:00
Andrew Tridgell
02287e5781
update version
...
(This used to be ctdb commit 37a1d17365995f15696e4c338d7c2efcc04c1e6e)
2008-01-05 09:52:53 +11:00
Andrew Tridgell
e4aefbc66d
a new tunable DatabaseMaxDead that enables the tdb max dead cache logic
...
(This used to be ctdb commit 01c519c3658a8fcb9545b507b597e723658e4c4e)
2008-01-05 09:36:53 +11:00
Andrew Tridgell
023a230d9c
a useful hack for checking correct behaviour of recovery
...
(This used to be ctdb commit d88b95a5407b53ead47ca0638ee60653ea3d3d07)
2008-01-05 09:36:21 +11:00
Andrew Tridgell
f79dfd04c0
convert much of the recovery logic to be async and parallel across all nodes
...
(This used to be ctdb commit 8b72a02bf1045d8befb342a4111ca1316889262e)
2008-01-05 09:35:43 +11:00
Andrew Tridgell
9a625534c1
this fixes the non-dmaster bug that has plagued us for months
...
(This used to be ctdb commit 2acf6c6201862debfca054a09262f75c066d2deb)
2008-01-05 09:34:47 +11:00
Andrew Tridgell
69fb0d3874
avoid write locks during delete checks in traversals
...
(This used to be ctdb commit dde9f3f0061988a0cdf10ee9e4db982c1b79ad1a)
2008-01-05 09:33:39 +11:00
Andrew Tridgell
fc21f78231
make some specific cases of the non-dmaster bug non-fatal
...
(This used to be ctdb commit 7b516ab06c7ba7ffe9ecf3f76720df5360176b2c)
2008-01-05 09:32:29 +11:00
Andrew Tridgell
c4826c203a
added async pull, push and rsn handling functions
...
(This used to be ctdb commit 05d30180f64aaff13411b92586ac554d84a35d9a)
2008-01-05 09:31:43 +11:00
Andrew Tridgell
e9987cf236
fixed a warning
...
(This used to be ctdb commit f34d0f9351c1cda3327efb14e173f249f7854570)
2008-01-05 09:30:49 +11:00
Andrew Tridgell
9ea20f3916
expand tdb by minimum of 25% at a time
...
(This used to be ctdb commit 355575878e2b6e85268ca8387f41a19bcd9db651)
2008-01-05 09:30:09 +11:00
Andrew Tridgell
8a10bc6561
update revnumber for custom tree
...
(This used to be ctdb commit 8b36f4a4f131102769782fe2994b846fc2b8da13)
2008-01-04 12:42:29 +11:00