Commit graph

4372 commits

Author SHA1 Message Date
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
Rich Prohaska
1bc3cc75d1 #4685 fix icc compilation problem with hotindexer test refs[t:4685]
git-svn-id: file:///svn/toku/tokudb@41738 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
John Esmet
e36429c1fb [t:4542] comment how zombies work with dbremove and the rollback code
git-svn-id: file:///svn/toku/tokudb@41718 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Rich Prohaska
133b3238cb #4707 turn off valgrind for test-xa-prepare refs[t:4707]
git-svn-id: file:///svn/toku/tokudb@41714 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Zardosht Kasheff
0b4c9b2d8c [t:4367], patch out diskfull.c from nightly runs
git-svn-id: file:///svn/toku/tokudb@41700 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Zardosht Kasheff
e4a3393e6e [t:4693], write brtnodes out in parallel for loader, serially for other cases
git-svn-id: file:///svn/toku/tokudb@41699 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Bradley C. Kuszmaul
7d29da2210 close[t:4708] Set the rollback node size to 4KB. Now it runs in less than one second without valgrind. Closes #4708.
git-svn-id: file:///svn/toku/tokudb@41668 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Bradley C. Kuszmaul
de9326db73 close[t:4707] Rename xid_t to avoid conflicts with the handlerton. Closes #4707.
git-svn-id: file:///svn/toku/tokudb@41667 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Bradley C. Kuszmaul
b18544282e refs[t:4697] Merge xa to main. {{{svn merge -r41628:41661 ../tokudb.4697 }}} Refs #4697.
git-svn-id: file:///svn/toku/tokudb@41662 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
John Esmet
25cbf48b2e [t:4706] comment and TODO the area of interest
git-svn-id: file:///svn/toku/tokudb@41659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Bradley C. Kuszmaul
ec5bc33f34 [t:4704] Fix type punning on main line. Refs #4704.
git-svn-id: file:///svn/toku/tokudb@41656 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Leif Walsh
c731941b3d [t:4635] make TOKU_DEFAULT_COMPRESSION_METHOD a separate value
git-svn-id: file:///svn/toku/tokudb@41633 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Bradley C. Kuszmaul
88a7de436c [t:4298] A note about locking. Refs #4298.
git-svn-id: file:///svn/toku/tokudb@41627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Rich Prohaska
2788c91954 #4685 get the hot indexer to work with txn's in the preparing state closes[t:4685]
git-svn-id: file:///svn/toku/tokudb@41614 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
John Esmet
7db30802e7 [t:4635] removing an artifact that john put in to disbale compression for tokufs. with the new, run-time configurable compression system, a compile time hack is no longer necessary.
git-svn-id: file:///svn/toku/tokudb@41613 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Leif Walsh
91891cbbf6 [t:4541] fix memory leak of cmp_descriptor
git-svn-id: file:///svn/toku/tokudb@41610 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Leif Walsh
8d0368fd2f [t:3983] merging auto-upgrade to mainline
git-svn-id: file:///svn/toku/tokudb@41591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00