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
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
Yoni Fogel
c03782608f
refs #5066 Move a free out of the txn_manager_lock
...
git-svn-id: file:///svn/toku/tokudb@44937 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
888b9f83ab
[t:4871] limit svn communication in run.fractal.tree.tests.bash
...
git-svn-id: file:///svn/toku/tokudb@44919 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
82ae5280df
[t:5136] add "NVALGRIND=1" to COMPILE_DEFINITIONS_RELEASE
...
git-svn-id: file:///svn/toku/tokudb@44902 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Yoni Fogel
f7a5890b27
[t:5123] Fix memory leak in test
...
git-svn-id: file:///svn/toku/tokudb@44899 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
Yoni Fogel
b2129ebb7b
[t:5064] Closes #5064 Move most of the work of creating xids (including malloc) out of the txn_manager_lock
...
git-svn-id: file:///svn/toku/tokudb@44892 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
c5fe132a9c
[t:5131] closes #5131 .
...
git-svn-id: file:///svn/toku/tokudb@44864 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
John Esmet
5c4b1d60ce
close[t:5128] updating a descriptor now has two parts: user API that passes a FT and descriptor, and a low layer API that takes those two plus an explicit descriptor. we use the low layer one for deserialization code that wants to upgrade a descriptor for an FT that is not fully opened yet (and thus whose FT does not have a valid cachefile yet). this seems to be a clean enough solution, since it helps some upgrade code do non-standard stuff.
...
most importantly, loader-stress-test3 no longer fails by segfaulting on ft->cf->fd
git-svn-id: file:///svn/toku/tokudb@44839 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