Zardosht Kasheff
308fff4577
closes #5171 , don't reference cachefile or fd in flush_callback when calling cachetable_free_pair, fix cachetable-test2 and toku_rollback_flush_callback to take this into account
...
git-svn-id: file:///svn/toku/tokudb@45100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
23f9000a87
refs #5171 , fix cachetable-test.c
...
git-svn-id: file:///svn/toku/tokudb@45099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
57203d20b8
refs #5171 , remove tabs from cachetable-test2
...
git-svn-id: file:///svn/toku/tokudb@45098 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
Bradley C. Kuszmaul
6df381afb1
refs #5138 add code that will help debug the lzma failure tonight
...
git-svn-id: file:///svn/toku/tokudb@45070 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
2ee18e3d18
fix valgrind finding algorithm and usage
...
refs #4871
git-svn-id: file:///svn/toku/tokudb@45046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -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
e25642d9ac
fixes to nightly fractal tree test script:
...
- update to yesterday before letting ctest update to today, for each run
(so failures get emailed right)
- use a third of the cores as -j
- don't build tag databases
- swap memcheck and coverage to prioritize getting more results out earlier
refs #5159
git-svn-id: file:///svn/toku/tokudb@45043 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
fd7fd2aaca
run more tests now that the drd_mid_* and drd_large_* tests are quicker
...
refs #4871
closes #5157
git-svn-id: file:///svn/toku/tokudb@45017 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
0c3a284313
[t:4871] set generated
...
git-svn-id: file:///svn/toku/tokudb@45015 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
Leif Walsh
8bd5423b51
syntax error in run.stress-tests.py
...
git-svn-id: file:///svn/toku/tokudb@44991 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
99dd0a1cb9
don't run test_stress_openclose.tdb on existing environments
...
git-svn-id: file:///svn/toku/tokudb@44990 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
Leif Walsh
e58a55df2a
update run.stress-tests.py to avoid running test_stress4.tdb on already
...
stressed envs
git-svn-id: file:///svn/toku/tokudb@44980 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
TokuBuild
3d9bf660f6
small fix to fractal tree test script
...
git-svn-id: file:///svn/toku/tokudb@44972 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -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
Leif Walsh
57d1435693
fix some small things in run.stress-tests.py
...
git-svn-id: file:///svn/toku/tokudb@44962 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
4e823bac63
fix path error in run.stress-tests.py
...
git-svn-id: file:///svn/toku/tokudb@44961 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
f0f0ee04af
fix syntax error in run.stress-tests.py when checking for icc
...
git-svn-id: file:///svn/toku/tokudb@44960 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
672571959f
change directory that run.stress-tests.py looks for old envs in by default
...
git-svn-id: file:///svn/toku/tokudb@44959 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
11fbb2f2ef
fix run.stress-tests.py to work with cmake (compilation fix). refs #4871 .
...
git-svn-id: file:///svn/toku/tokudb@44958 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