Commit graph

184 commits

Author SHA1 Message Date
Yoni Fogel
bf4c67f20d refs #46, LOTS of refactoring done.
Isolate mempool and OMT into a new class, bndata.
Remove key from the leafentry.
2013-09-25 11:07:30 -04:00
Zardosht Kasheff
a34734ccbc refs #54, improve the performance of hot indexing. This change does two things:
- gets indexer to run in reverse, that is, start at the end and run to beginning
 - refines locking a bit. An estimate of the position of the hot indexer is stored,
   that is cheap to look at. Threads that use this estimate with a mutex either do
   only a quick comparison or set it to a new value. Threads doing writes (with XXX_multiple calls)
   will check their position with respect to the estimate, and if they see the hot indexer
   is already past where they will modify, they don't grab the more expensive indexer
   lock. For insertion workloads that go to the end of the main dictionary of a table/collection,
   this check should practically always pass.
2013-08-21 15:10:05 -04:00
zkasheff
146344e9bb fixes #55, fix test 2013-08-20 11:31:13 -04:00
Zardosht Kasheff
fcbaec38c8 Merge branch 'bugs/mongo-399' 2013-08-13 15:02:04 -04:00
Zardosht Kasheff
1d0f97c5c7 refs Tokutek/mongo#399, change hot_optimize to take bounds 2013-08-13 15:01:27 -04:00
Yoni Fogel
d0642efd6a Refs Tokutek/ft-index#26 Fixes Tokutek/ft-index#31 Change api for *_multiple to support array indexing. Never call put/del_callback functions for src_db. 2013-08-12 14:20:59 -07:00
Yoni Fogel
4ed0e8ed62 Merge branch '6712' 2013-07-17 15:09:47 -07:00
Yoni Fogel
6a74f0aacd Refs Tokutek/ft-engine/#40 Add c_restrict_to_range function to force cursor to keep track of prelocked range 2013-07-17 14:55:23 -07:00
John Esmet
9858bf38c0 refs #5770 Only check one basement node on pin, remove the assumption that adjacent
available nodes are query-able.
2013-07-15 11:36:31 -04:00
Leif Walsh
5a3aafe974 #6 finish renaming ftdump 2013-04-29 09:02:19 -04:00
Leif Walsh
ca8367eed5 refs #6566 set TOKUDB_DATA in cmake, rather than relying on svn layout
git-svn-id: file:///svn/toku/tokudb@55578 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:36 -04:00
Leif Walsh
9f99932a76 refs #6566 fix typo in license text
git-svn-id: file:///svn/toku/tokudb@55577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:36 -04:00
Leif Walsh
c167d5a4f4 refs #6566 add license and ident strings to the one file missing any of it
git-svn-id: file:///svn/toku/tokudb@55575 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:35 -04:00
Leif Walsh
9fd20e61a4 refs #6566 add license text to all C/C++ files as a comment near the top
git-svn-id: file:///svn/toku/tokudb@55574 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:35 -04:00
Leif Walsh
84fef672e4 refs #6566 update all copyright strings to reflect an end year of 2013
git-svn-id: file:///svn/toku/tokudb@55567 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:35 -04:00
Yoni Fogel
b77c165c15 fixes #6086 Merge 6086 to main. We now read in basement nodes if a full keyrange resides in it so that we can answer more accurately.
git-svn-id: file:///svn/toku/tokudb@54342 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
a85f32968c refs #6058, merge to main!
git-svn-id: file:///svn/toku/tokudb@54234 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
eb18b6ee3a refs #6162, merge fractal tree piece to main
git-svn-id: file:///svn/toku/tokudb@54006 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Yoni Fogel
dc7f5d32b0 refs #5638 Fix bug in tests where we were passing in txnid as the boolean "do_fsync" in logcursor tests
git-svn-id: file:///svn/toku/tokudb@53945 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
571af3c500 refs #5973, add io, decompress, and deserialize time to benchmark
git-svn-id: file:///svn/toku/tokudb@53587 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
d865cbdeb5 refs #5737, merge to main
git-svn-id: file:///svn/toku/tokudb@53577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
40c1bc80c5 refs #6057, merge backing out of read txn work to main
git-svn-id: file:///svn/toku/tokudb@53466 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Zardosht Kasheff
6ee0cf44ea closes #5978, merge to main
git-svn-id: file:///svn/toku/tokudb@53062 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
6e846987c5 refs #5949 fix upgrade_test_simple invocation
git-svn-id: file:///svn/toku/tokudb@52827 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
e4b49ed284 refs #5949 fix upgrade_test_simple invocation
git-svn-id: file:///svn/toku/tokudb@52807 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
89bf561b6d refs #5949 fix le-cursor-*
git-svn-id: file:///svn/toku/tokudb@52767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
d9a440ee26 closes #5949 merge to main
git-svn-id: file:///svn/toku/tokudb@52748 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:28 -04:00
Zardosht Kasheff
266b6bc845 closes #5942, remove cachetable-scan.cc, an old test that was meant to test if cachetable was fast enough. Outdated now
git-svn-id: file:///svn/toku/tokudb@52624 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:28 -04:00
Leif Walsh
2ebaaac149 closes #5916 merge to main
git-svn-id: file:///svn/toku/tokudb@52402 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:27 -04:00
Zardosht Kasheff
f3dc3fdea2 refs #5842, merge Direct I/O to main
git-svn-id: file:///svn/toku/tokudb@52238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:27 -04:00
Leif Walsh
954a994d81 refs #5874 fix a mutex init problem I caught while testing 5874
git-svn-id: file:///svn/toku/tokudb@51923 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:26 -04:00
Zardosht Kasheff
f07a7f1e6a closes #5554, merge to main
git-svn-id: file:///svn/toku/tokudb@51911 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:26 -04:00
Zardosht Kasheff
ebb5315335 refs #5638, merge to main, finally.
git-svn-id: file:///svn/toku/tokudb@51767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:26 -04:00
John Esmet
c1c6e2a17b refs #5723 fix memory leak
git-svn-id: file:///svn/toku/tokudb@51738 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:26 -04:00
John Esmet
2c3fd6c17e refs #5723 fix test leaks
git-svn-id: file:///svn/toku/tokudb@51728 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:26 -04:00
John Esmet
95a8538e95 refs #5723 fix some test memory leaks
git-svn-id: file:///svn/toku/tokudb@51709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:26 -04:00
John Esmet
b604b9d6fc fixes #5762 oldest_referenced_xid and oldest_referenced_xid_known now share a prefix, which makes searching for them together a little easier
git-svn-id: file:///svn/toku/tokudb@51667 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
John Esmet
c9ded07b2f fixes #5848 add "Id" keyword to each file that did not already have it
git-svn-id: file:///svn/toku/tokudb@51639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
2ae96c7073 refs #5798 update cachetable-clock-eviction to reflect new probabilistic eviction strategy
git-svn-id: file:///svn/toku/tokudb@51472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Yoni Fogel
12ccf6ae0a refs #5663 Merge #5663 onto main
git-svn-id: file:///svn/toku/tokudb@51238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Zardosht Kasheff
004cf78b56 closes #5804, merge 51139, work to read in entire internal nodes into memory, compressed, as opposed to using two I/O's, to main.
git-svn-id: file:///svn/toku/tokudb@51185 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
67eb050b40 closes #5773, merge to main from tokudb.5773, Merging r51027 through r51078 into '.'
git-svn-id: file:///svn/toku/tokudb@51079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Leif Walsh
7a174bc306 refs #5778 only build static versions of many utilities
git-svn-id: file:///svn/toku/tokudb@50988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
John Esmet
526c4e7299 refs #5559 fix more tests broken by 5559
git-svn-id: file:///svn/toku/tokudb@50891 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
John Esmet
1cf17f4e3d refs #5559 fix more failures from 5559 on mainline (hint: we need to use initializing functions in tests, no more manually setting fields)
git-svn-id: file:///svn/toku/tokudb@50889 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
John Esmet
ae0053e8dc refs #5559 fix test broken by 5559
git-svn-id: file:///svn/toku/tokudb@50882 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
John Esmet
5575b5e744 refs #5559 fix a test broken by 5559
git-svn-id: file:///svn/toku/tokudb@50877 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
John Esmet
1c62ecd4bb refs #5762 add unit test for oldest referenced xid propogation from parent to child
git-svn-id: file:///svn/toku/tokudb@50832 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
John Esmet
4233ec1e5f refs #5559 merge 5559 to main
git-svn-id: file:///svn/toku/tokudb@50812 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
Zardosht Kasheff
b8b8360aa4 closes #5712, fix test
git-svn-id: file:///svn/toku/tokudb@50683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00