Commit graph

4388 commits

Author SHA1 Message Date
Zardosht Kasheff
c4960e31ea [t:3748], remove test3748, no longer applies
git-svn-id: file:///svn/toku/tokudb@42747 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
86646f79af [t:4740], remove fifo->memory_start
git-svn-id: file:///svn/toku/tokudb@42746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Rich Prohaska
0657bfdf18 #4779 fix the comments in the lock tree memory footprint tests closes[t:4779]
git-svn-id: file:///svn/toku/tokudb@42741 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
049e92ad0b [t:4764], remove setting of prepared transactions txn->state to TOKUTXN_LIVE before doing commit/abort
git-svn-id: file:///svn/toku/tokudb@42728 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
75f841684f [t:4748], rename nb_mutex_write_lock to nb_mutex_lock. nb_mutex_write_lock implies there is a read equivalent, which it does not.
git-svn-id: file:///svn/toku/tokudb@42725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Leif Walsh
85c058de69 [t:4797] fix print statements, save commands better
git-svn-id: file:///svn/toku/tokudb@42672 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Leif Walsh
13515287ef [t:4797] adding upgrade test runner stuff to run.stress-tests.py
git-svn-id: file:///svn/toku/tokudb@42669 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
8d4a28f4c9 [t:4803], fix compile
git-svn-id: file:///svn/toku/tokudb@42633 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
1b3cec0503 [t:4803], fix capture_persistent_env_contents
git-svn-id: file:///svn/toku/tokudb@42632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
d68965f973 [t:4803], create upgrade_v19_time_key and upgrade_v19_footprint_key instead of reusing v14 variables
git-svn-id: file:///svn/toku/tokudb@42626 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
32ebfca6ad [t:4793], add a test
git-svn-id: file:///svn/toku/tokudb@42600 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Rich Prohaska
cf28e8ea6c #4799 turn off valgrind for upgrade_test_simple refs[t:4799]
git-svn-id: file:///svn/toku/tokudb@42598 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
59e0cd1c9b [t:4793], fix maybe_destroy_child_blbs
git-svn-id: file:///svn/toku/tokudb@42595 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Christian Rober
6678733691 [t:4759] Adding extra checks to existing auto upgrade tests.
git-svn-id: file:///svn/toku/tokudb@42487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Christian Rober
fc4ab2c4c2 [t:4759] Checking in MSN fix found due to recent test changes.
git-svn-id: file:///svn/toku/tokudb@42485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Christian Rober
ec50aa0d0a [t:4758] Added printing to error log if trying to upgrade the log after a non-clean shutdown.
git-svn-id: file:///svn/toku/tokudb@42472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
1cd679d790 [t:4773], [t:4774], make blind fix on main
git-svn-id: file:///svn/toku/tokudb@42406 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Christian Rober
d29722d4fb [t:4772] Checking in fix to main, preventing cleaner threads from incorrectly evicting recently basement nodes.
git-svn-id: file:///svn/toku/tokudb@42404 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Rich Prohaska
8edb3fc9b9 #4762 criteria for garbage collection changed, so the stat64 behaviour is slightly different for the root node refs[t:4762]
git-svn-id: file:///svn/toku/tokudb@42385 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
0b4bc426bc [t:4762], move comment
git-svn-id: file:///svn/toku/tokudb@42351 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
80fd1d38f3 [t:4762], fix memory leak
git-svn-id: file:///svn/toku/tokudb@42337 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
340045d062 [t:4762], merge to main
git-svn-id: file:///svn/toku/tokudb@42336 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Rich Prohaska
80ca6d255c #4761 hold the lock tree manager mutex and the lock tree mutex when doing lock escalation refs[t:4761]
git-svn-id: file:///svn/toku/tokudb@42329 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Rich Prohaska
b6645e876d #4763 remove unused adaptive mutex attributes refs[t:4763]
git-svn-id: file:///svn/toku/tokudb@42289 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Bradley C. Kuszmaul
b341c48377 [t:4756] Remove the pwrite_lock_init and destroy functions in header. Refs #4756.
git-svn-id: file:///svn/toku/tokudb@42145 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Bradley C. Kuszmaul
3e3a5f70cd close[t:4756] Remove the pwrite_lock_init and destroy functions. Closes #4756.
git-svn-id: file:///svn/toku/tokudb@42143 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Leif Walsh
6ed9c14269 refactoring stress test thing some more
git-svn-id: file:///svn/toku/tokudb@42142 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Rich Prohaska
125a1a3884 get gcov working
git-svn-id: file:///svn/toku/tokudb@42141 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
1472640656 stress test runner: better logging, refactoring, and saving prepared environments between test runs
git-svn-id: file:///svn/toku/tokudb@42140 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
e595d524e7 don't create envdir by ourselves
git-svn-id: file:///svn/toku/tokudb@42120 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
c8e83ae2d3 fix screen logging to actually report a failure
git-svn-id: file:///svn/toku/tokudb@42118 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
f1bf8f1dd0 better log format
git-svn-id: file:///svn/toku/tokudb@42117 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
a963455721 make test runner throttle the number of large tests concurrently, to prevent excessive swapping
git-svn-id: file:///svn/toku/tokudb@42116 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
5b3fd4bb82 better logging, exception handling for stress test runner
git-svn-id: file:///svn/toku/tokudb@42103 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Zardosht Kasheff
fef7f3bd1e [t:4750], address cr comments of checkpoint variability
git-svn-id: file:///svn/toku/tokudb@42100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
b5219b4a15 a much better stress test runner
git-svn-id: file:///svn/toku/tokudb@42099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Rich Prohaska
e25ea55928 #4682 remove cilkarts code from the loader. refs[t:4682]
git-svn-id: file:///svn/toku/tokudb@42090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Zardosht Kasheff
40ef154d3b [t:4745], only call toku_update_descriptor in deserialize_brtheader_versioned if we are upgrading header
git-svn-id: file:///svn/toku/tokudb@42069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Zardosht Kasheff
ab3f499097 [t:4733], add recover-test_stress3.tdb to stress test script
git-svn-id: file:///svn/toku/tokudb@41951 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Zardosht Kasheff
63e31a7b1b [t:4722], do fsync on commit for prepared transactions
git-svn-id: file:///svn/toku/tokudb@41844 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Christian Rober
e595c8d921 [t:4567] Merging fixes to recent error reporting changes.
git-svn-id: file:///svn/toku/tokudb@41843 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Christian Rober
c19ff63d1d [t:4567] Merging new node error reporting to main.
git-svn-id: file:///svn/toku/tokudb@41836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
8e5170627a [t:4518], return error in toku_loader_close if brtloader close fails
git-svn-id: file:///svn/toku/tokudb@41832 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
61cbfc0e67 [t:4568], fix bug1381 test to now use a loader with LOADER_USE_PUTS
git-svn-id: file:///svn/toku/tokudb@41812 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
50d65e9292 [t:4518], merge fix to main
git-svn-id: file:///svn/toku/tokudb@41810 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
88eda5c7a6 [t:4718], make fix
git-svn-id: file:///svn/toku/tokudb@41788 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
edeeb945b8 [t:4297], make child transactions that are prepared be a NO-OP at the ydb layer. MySQL calls prepare on child transactions
git-svn-id: file:///svn/toku/tokudb@41767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
f25f1d5472 [t:4657], add test
git-svn-id: file:///svn/toku/tokudb@41752 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
fb6db93e40 [t:4657], update disk stats before rebalancing, because rebalancing wipes out deltas of basement nodes
git-svn-id: file:///svn/toku/tokudb@41749 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
95e78733dc [t:4700], make fix
git-svn-id: file:///svn/toku/tokudb@41748 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00