Commit graph

195 commits

Author SHA1 Message Date
Rich Prohaska
ad2f063d99 #119 translate CRNL to NL 2013-12-16 15:12:51 -05:00
Zardosht Kasheff
6721a2c1e7 Merge branch 'bugs/115' 2013-12-09 15:46:56 -05:00
Zardosht Kasheff
41364a4ba8 refs #115, don't allow mempools to grow unbounded by restricting their size in
omt_compress_kvspace.
2013-12-09 15:46:49 -05:00
zkasheff
b5d8ed6066 refs Tokutek/mongo#645, change signature of hot_optimize to have output variable
of number of loops run
2013-10-21 16:02:14 -04:00
Zardosht Kasheff
548bc646b2 refs #78 for minicrons with a period of longer than one second (checkpoints),
change minicron to count the period from the beginning of
the callback's execution and not the end. For checkpoints, this makes them
reliably start every 60 seconds.
2013-10-07 10:17:03 -04:00
rich prohaska
d067419ae9 tokutek/ft-index#80 tokutek/ft-engine#94 impose an upper bound on loader memory reservations 2013-10-07 08:35:52 -04:00
Rich Prohaska
2796c2d35c tokutek/ft-index#76 add US Patent 8,489,638 2013-10-04 16:49:53 -04:00
Zardosht Kasheff
64cdcbc261 refs #61,
- have closed cachefiles not immedietely free pairs, but set them to the side
 - leave freeing of pairs to the evictor and/or shutdown
 - should a cachefile be reopened before all pairs are freed,
   the pairs belonging to that cachefile are reintegrated into the cachetable
2013-10-02 09:53:00 -04:00
Zardosht Kasheff
fbadc9f864 refs #61, remove test helper function toku_cachefile_flush,
fix tests that use it to not need it
2013-09-26 11:10:12 -04:00
Zardosht Kasheff
4e69563663 refs #61, several code simplifications:
- break up cachetable_flush_cachefile into more digestable functions,
 - decouple hash_id from filenum
 - break up close_userdata into close_userdata and free_userdata
2013-09-25 17:49:05 -04:00
Zardosht Kasheff
e68aba3046 refs #61, clean up code relating to cachefiles, expand the
cachefiles_list class and move some functionality in there.
2013-09-25 15:23:03 -04:00
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