Commit graph

5871 commits

Author SHA1 Message Date
John Esmet
d037524b70 fixes #188 Renamed the last brt artifacts to ft_handle. Tried to keep
comments etc sane by not dropping a big sed bomb. Hopefully things make
sense from here on out.
2014-03-02 18:04:37 -05:00
John Esmet
34dbe5ecb2 Fix a maybe-uninitialized warning 2014-03-02 17:54:33 -05:00
John Esmet
0d6edd44b6 fixes #189 Clean up huge page detection a bit. It's not perfect but it's
an improvement.
2014-03-02 17:19:46 -05:00
John Esmet
9b875ae5b1 fixes #190 Use the locktree escalator lambda function API, remove
condidtional compilation.
2014-03-02 16:53:41 -05:00
John Esmet
f1e6eda063 Tests compile now 2014-03-01 21:27:32 -05:00
John Esmet
71fc55995f Rename toku_pin_ftnode to toku_pin_ftnode_for_query, since it does
query-specific things like applying ancestors messages and upgrading
PL_READ to PL_WRITE_CHEAP in such a scenario
2014-03-01 21:11:05 -05:00
John Esmet
6ba9232dc1 Renamed 'toku_pin_ftnode_off_client_thread' to 'toku_pin_ftnode_with_dep_nodes' 2014-03-01 21:10:59 -05:00
John Esmet
70c6f6e742 Remove toku_unpin_ftnode_off_client_thread 2014-03-01 20:49:24 -05:00
John Esmet
489e3eab6e Got rid if some stuff, tokufractaltree compiling 2014-03-01 20:43:22 -05:00
John Esmet
10a4b7668b fixes #144 Remove the 'batched' API, which was deprecated long ago when
the cachetable reader-writer lock was replaced with bucket mutexes.
2014-03-01 20:15:47 -05:00
John Esmet
5603451411 fixes #177 Rename cmd to msg when it is referring to a FT_MSG as opposed
to a logentry command in the recovery log / rollback log.
2014-03-01 19:57:40 -05:00
John Esmet
ddacebb1ea fixes #187 Add a paranoid invariant that left endpoints are <= right
endpoints on acquire and release.
2014-03-01 19:25:08 -05:00
John Esmet
7a5f8ba8a8 refs #186 Rename utils/ -> tools/ 2014-03-01 19:13:23 -05:00
John Esmet
6e76df11b1 refs #184 Remove non-production code 2014-03-01 19:07:18 -05:00
John Esmet
3b85f796d8 fixes #184 Remove non-production code 2014-03-01 18:56:22 -05:00
Rich Prohaska
eb500b8cb1 #178 destroy ule status partitioned counters 2014-02-25 11:21:13 -05:00
Rich Prohaska
21421e1f36 #168 fix make problem related to tokudb only tests 2014-02-25 09:57:36 -05:00
Leif Walsh
c6a6cd8cf8 Merge remote-tracking branch 'origin/garbage_collection_extended' 2014-02-23 16:09:07 -05:00
John Esmet
dfcffcc714 Allow txn manager state to be created cheaply, with the option to later
initialize it for full gc if we think it is worth it. This allows for
full gc to run when bringing a basement node up to date.
2014-02-21 19:57:19 -05:00
John Esmet
9ee82c3cce Do not use the newest of our ancestor's oldest_referenced_xid values -
there may be an abort message waiting to be applied.
2014-02-21 16:10:51 -05:00
John Esmet
36a525f978 Fix test 2014-02-21 16:09:34 -05:00
John Esmet
be301362d8 Add test to detect a case of bad implicition promotion 2014-02-21 15:57:58 -05:00
Rich Prohaska
054633c65d #173 allow lock tree waits to be killable 2014-02-21 12:27:23 -05:00
John Esmet
0bd9ff9d3f Fix up a race where two threads could update the oldest referenced xid
in a different order than they began, and blow up a bad assert.
2014-02-20 16:15:14 -05:00
John Esmet
fb76250b7a Consolidate garbage collection information into txn_gc_info. Explicitly
separate the difference between the oldest referenced xid we can use for
implicit promotion vs simple garbage collection.
2014-02-20 13:32:25 -05:00
John Esmet
f12bdc758c Pass down txn manager state to message application, which it can use to
run full garbage collection when a leafentry has > 1 committed entry.
2014-02-20 13:30:30 -05:00
John Esmet
d93fe66d5e refs #171 split the includes that are used for OSX vs linux builds 2014-02-15 10:38:20 -05:00
John Esmet
ca7651e522 fixes #171 maintain a global map of registered tl_stack objects that we
can iterate over and clean up, which prevents a memory leak when the
fractal tree shared library unloads before all thread-local destructors run
2014-02-15 10:13:23 -05:00
Bradley C. Kuszmaul
0a06abb42e Revert "Make the hotbackup library link up"
This reverts commit 843f0050cb.

Should have been on a branch.
2014-02-14 17:07:26 -05:00
Bradley C. Kuszmaul
d0223116ac Revert "Cleanup"
This reverts commit 7fa771e0f3.

Should have been on a branch.
2014-02-14 17:07:10 -05:00
Bradley C. Kuszmaul
6154c3d31b Revert "Cleanup"
This reverts commit fbd9685991.

Should have been on a branch.
2014-02-14 17:06:22 -05:00
Bradley C. Kuszmaul
d76887a9c2 Revert "backup stress test runs"
This reverts commit d467d3cf42.

Should have been on a branch.
2014-02-14 17:06:01 -05:00
Bradley C. Kuszmaul
7c6bd00edf backup stress test runs 2014-02-14 16:02:58 -05:00
Bradley C. Kuszmaul
00ef6d8498 Cleanup 2014-02-14 15:27:23 -05:00
Bradley C. Kuszmaul
91e2af2b42 Cleanup 2014-02-14 15:16:54 -05:00
Bradley C. Kuszmaul
d71b0003a5 Make the hotbackup library link up 2014-02-14 14:31:14 -05:00
John Esmet
3c0a9bcedd refs #145 capture the node's height before calling finalize(), which is
the last point we may read the node variable safely.
2014-02-13 12:35:19 -05:00
Leif Walsh
3fe7781a19 added tokumx to readme 2014-02-12 11:01:20 -05:00
John Esmet
8efe8d1175 refs #170 Add overall compression ratio. Add all compression ratios to
TOKU_GLOBAL_STATUS
2014-02-11 16:22:56 -05:00
John Esmet
ec1dc2dc22 fixes #170 Add compression ratio engine status values for leaf/nonleaf
disk bytes written. Need to add a 'double' engine status type, which
apparnetly exists in the union, but not as a type tag.
2014-02-11 14:28:08 -05:00
John Esmet
3c2958a4b9 Merge branch 'releases/tokumx-1.4' 2014-02-08 18:02:04 -05:00
John Esmet
f7323d26d9 fixes #168 Run full garbage collection if promotion injects into a leaf
node and notices that it is over 32mb
2014-02-08 17:59:22 -05:00
Leif Walsh
9d3d681d04 Revert "Merge remote-tracking branch 'origin/ft-index/46merge-a'"
This reverts commit b1c1e93dc4, reversing
changes made to 60be90af92.
2014-02-04 11:08:30 -05:00
Leif Walsh
a03b9926d7 Merge remote-tracking branch 'origin/ft-index/46merge-a' 2014-02-04 10:37:07 -05:00
Yoni Fogel
4d9ba2645a fixes Tokutek/ft-index#163 frwlock is properly split into .h and .cc. Users only include .h 2014-01-29 22:09:33 -08:00
Yoni Fogel
198b4d60bd Refs Tokutek/ft-index#46 Updated comments in dmt.h 2014-01-29 20:59:40 -08:00
Yoni Fogel
a5e7b6aca6 Refs Tokutek/ft-index#46 Rename dmt_size->num_klpairs, dmt_iterate*->iterate* 2014-01-29 20:59:36 -08:00
Yoni Fogel
4d3451acd0 Refs Tokutek/ft-index#46 Unify toku_mempool_*_(size|space) to be toku_mempool_*_size 2014-01-29 20:59:34 -08:00
Yoni Fogel
5c9a1a4ca1 Refs Tokutek/ft-index#46 don't (malloc|alloca)+memcpy before le_pack;
Instead just keep mempool around a little longer (like pre-refactoring).  This should
reduce large mallocs and remove a memcpy
2014-01-29 20:59:32 -08:00
Yoni Fogel
7a2e9511a3 Refs Tokutek/ft-index#46 improve test coverage, minor formatting 2014-01-29 20:59:28 -08:00