Leif Walsh
3c72e807bd
closes #5138 add test for 5138
...
git-svn-id: file:///svn/toku/tokudb@45196 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
John Esmet
1fecf0b715
refs #5179 improve comment for get_next_ule that fixed hot indexing but, and document the client contract regarding hot db writes and index create/abort/close
...
git-svn-id: file:///svn/toku/tokudb@45190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Zardosht Kasheff
e3800077b8
refs #5142 ], add function for getting cursor on directory
...
git-svn-id: file:///svn/toku/tokudb@45158 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
1a4158859f
refs #4871 increase test timeout for recovery_fileops_unit.tdb
...
git-svn-id: file:///svn/toku/tokudb@45153 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
3284441529
refs #4871 increase test timeout for test_rand_insert_mult_db.tdb
...
git-svn-id: file:///svn/toku/tokudb@45143 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
4f4936a1fb
refs #5133 , fix compilation error
...
git-svn-id: file:///svn/toku/tokudb@45097 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
80ec7a872a
refs #4871 don't build perf_insert_multiple on bdb
...
git-svn-id: file:///svn/toku/tokudb@45090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Yoni Fogel
dc48569937
refs #5170 Fix memory allocation (and use macros) during hot indexing.
...
Also make some invariants cleaner
git-svn-id: file:///svn/toku/tokudb@45075 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
John Esmet
92be5bc8ae
[t:5133] properly fix the memory leak introduced earlier today.
...
the big idea is that we need to allocate space for a leaf entry and keep it around if we want to create a ULE for it. so now the provisional info holds a pointer to both the le and the ule so the caller can free it later.
git-svn-id: file:///svn/toku/tokudb@45071 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Yoni Fogel
a60e32e580
refs #4964 fix compiler warnings
...
git-svn-id: file:///svn/toku/tokudb@45069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Yoni Fogel
1a68be729b
refs #4964 Cleanups during review
...
git-svn-id: file:///svn/toku/tokudb@45068 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
7e12a20049
refs #5153 fix another typo
...
git-svn-id: file:///svn/toku/tokudb@45065 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
John Esmet
f2df2994c5
refs #5164 fix some garbage in the threaded helpers file
...
also fix the ule interface to not use const, since it doesn't do what I want because of a pesky typedef
git-svn-id: file:///svn/toku/tokudb@45064 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
John Esmet
49927cf809
refs #5164 perf insert multiple does env->put_multiple
...
git-svn-id: file:///svn/toku/tokudb@45061 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
beb00d9edd
refs #4964 , add some comments for changing a descriptor
...
git-svn-id: file:///svn/toku/tokudb@45060 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Yoni Fogel
864e6270a2
refs #5153 fix typo made during cleanup
...
git-svn-id: file:///svn/toku/tokudb@45059 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Yoni Fogel
d2b02de315
refs #5153 minor cleanups from review
...
git-svn-id: file:///svn/toku/tokudb@45058 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
a9cffad7ca
add 6.0.0 stress test envs to nightly tests and stress test script
...
refs #4797
git-svn-id: file:///svn/toku/tokudb@45053 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
80be88e439
increase a couple of test timeouts that were close to their limits anyway
...
also, sort those lists
refs #4871
git-svn-id: file:///svn/toku/tokudb@45045 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
John Esmet
83b5038c67
[t:5133] fix a memory leak, clean up the ule API.
...
git-svn-id: file:///svn/toku/tokudb@45044 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
3633147794
tightened the drd_large_* timeout too much last night. bringing it back
...
up a little
refs #4871
git-svn-id: file:///svn/toku/tokudb@45038 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
3a32edcd5c
only run the small upgrade tests nightly.
...
refs #4871
refs #4797
git-svn-id: file:///svn/toku/tokudb@45027 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
8a94c7b28a
fix some more cmake stuff with upgrade stress tests
...
refs #4871
git-svn-id: file:///svn/toku/tokudb@45025 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
ce1191d312
fix cmake syntax
...
refs #4871
git-svn-id: file:///svn/toku/tokudb@45021 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
e4d3537d29
cmake syntax fix
...
refs #4797
git-svn-id: file:///svn/toku/tokudb@45020 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
25cf61bd4c
add upgrade stress tests to the nightly suite
...
refs #4797
git-svn-id: file:///svn/toku/tokudb@45019 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
7a83428999
tighten up timeouts for drd_mid_test_stress* and drd_large_test_stress*
...
now that they don't take nearly as long
refs #4871
git-svn-id: file:///svn/toku/tokudb@45016 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
2e1821b199
make scan_op check run_test periodically so it doesn't cause the test to
...
take forever under valgrind
refs #5157
git-svn-id: file:///svn/toku/tokudb@45013 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Yoni Fogel
bb0c2acf6d
refs #5153 minor cleanups from review
...
git-svn-id: file:///svn/toku/tokudb@45006 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Yoni Fogel
d0227a5eca
refs #4964 Comments/cleanups due to review
...
git-svn-id: file:///svn/toku/tokudb@45005 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Yoni Fogel
2b1c108a6f
refs #5154 removed commented out code
...
git-svn-id: file:///svn/toku/tokudb@45004 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
John Esmet
56fd009567
[t:5153] fix the error handling code for toku_ltm_get_lt() and better explain what the client contract is for the on_create and on_close callbacks.
...
the idea is you should only pass an on_create callback if there is also an on_close callback, and vice-versa. the on_create callback is called if
the lock tree is created and the on_close callback is called only if the on_create callback was actually called, either because of a user close
of the locktree or by an error path in toku_ltm_get_lt().
we never assume that either of these callbacks are non-null and we know both can be called at most once.
git-svn-id: file:///svn/toku/tokudb@45002 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Yoni Fogel
9cec4ca1f9
closes #5149 Skips taking MO lock for readonly transactions on
...
commit, abort, and prepare
git-svn-id: file:///svn/toku/tokudb@44989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Yoni Fogel
0fca2e35d7
refs #4964 Cleanups during review
...
Trying to disable syncs during child txns does nothing, also for parents when doing a dbremove
Removed pointers
Cleanup with regards to indentation/style
git-svn-id: file:///svn/toku/tokudb@44988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Zardosht Kasheff
de706bd5d8
closes #5146 , fix test and fix bug
...
git-svn-id: file:///svn/toku/tokudb@44973 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Zardosht Kasheff
cefaf7d0b1
refs #5146 , add test exposing bug
...
git-svn-id: file:///svn/toku/tokudb@44970 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Zardosht Kasheff
9083c11d40
[t:5144], do not prepare transactions that need to be aborted
...
git-svn-id: file:///svn/toku/tokudb@44967 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
John Esmet
5a6cd59d91
#refs 5133 merge undo-do algorithm changes to main. now, we read a row from the source db AND gather up the leaf entrie's provisional data in the cursor callback, which makes it atomic with respect to commit and abort on that DB. had to fix a few tests after changing some leaf entry signatures
...
git-svn-id: file:///svn/toku/tokudb@44949 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Yoni Fogel
f5d76ac4a9
refs #4964 cleanup during review
...
git-svn-id: file:///svn/toku/tokudb@44940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
John Esmet
fb72102eeb
close[t:5134] le_cursor api cleaned up, followed up on a TODO to get rid of the DB parameter from is_key_right (and improved its name too) by using a fake_db in the le_cursor plus the new toku_ft_get_descriptor() api to grab a descriptor reference. refactored some tests to get it all compiling. LE and hot indexer tests pass
...
git-svn-id: file:///svn/toku/tokudb@44895 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Zardosht Kasheff
78c88095ed
refs #5130 , remove test_db_change_xxx from BDB tests
...
git-svn-id: file:///svn/toku/tokudb@44893 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Zardosht Kasheff
665f1acff4
refs #5130 , refs #4870 , merge changes of adding db->change_XXX functions to main
...
git-svn-id: file:///svn/toku/tokudb@44890 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
357a2ae13e
[t:5077] add a comparison function that compares 8 byte ints. closes #5077 .
...
git-svn-id: file:///svn/toku/tokudb@44885 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
5e21f02837
[t:5132] cast pthread_t through uintptr_t in order to print it in a way that's portable between linux and osx. closes #5132
...
git-svn-id: file:///svn/toku/tokudb@44882 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
60f6d80f4c
[t:5132] remove void * cast to at least fix on linux
...
git-svn-id: file:///svn/toku/tokudb@44874 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
4a505f74c4
[t:5078] closes #5078 .
...
also adds csv and tsv output formats (and some work on gnuplot)
git-svn-id: file:///svn/toku/tokudb@44863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Leif Walsh
d038eef712
[t:4871] silly fix: parameter number test for 1426
...
git-svn-id: file:///svn/toku/tokudb@44837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Leif Walsh
7a06c949f0
[t:4871] remove the need for the pre-dumped file for test1426, since we removed it from the repo
...
git-svn-id: file:///svn/toku/tokudb@44836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Leif Walsh
a2e135d4dd
[t:4838] remove test_locktree_close from bdb tests
...
git-svn-id: file:///svn/toku/tokudb@44834 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Leif Walsh
64b7587bed
[t:4871] fix ipo error for lock tree tests
...
git-svn-id: file:///svn/toku/tokudb@44829 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00