Commit graph

4752 commits

Author SHA1 Message Date
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
Zardosht Kasheff
1974ace7b5 [t:4541], fix a couple of other tests
git-svn-id: file:///svn/toku/tokudb@41590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
36288a5c78 [t:4541], fix a couple of other tests
git-svn-id: file:///svn/toku/tokudb@41589 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
6804dbec9c [t:4541], fix a couple of other tests
git-svn-id: file:///svn/toku/tokudb@41587 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
6f1691684d [t:4541], merge new fix to main
git-svn-id: file:///svn/toku/tokudb@41583 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
John Esmet
0d32c57b9f close[t:4574] merging 4574 to main. fixes the hcad deadlock found by Tim's stress test, which adds and drops indexes concurrent with queries and insertions. transactions no longer keep trollback nodes pinned after an operation, but instead always unpin them.
this merge also introduces a lot of improvements to our rollback code, in terms of clarity and consistency. to that end, variable names and function names were improved, as well as more documentation of the rollback logic in rollback.h and log-internal.h

roll.h is removed because it is a dead file.


git-svn-id: file:///svn/toku/tokudb@41576 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Bradley C. Kuszmaul
118561e577 close[t:4684] Add comment. Closes #4684.
git-svn-id: file:///svn/toku/tokudb@41565 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Bradley C. Kuszmaul
fa3100f0ca [t:4671] Add comment. Refs #4671.
git-svn-id: file:///svn/toku/tokudb@41564 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
cedba3c637 [t:4541], make fixes to test. Now exposes bug during recovery
git-svn-id: file:///svn/toku/tokudb@41553 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
07d38f9161 [t:4541], merge to main
git-svn-id: file:///svn/toku/tokudb@41538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Leif Walsh
dc86d566c7 [t:4635] adding liblzma_icc_dbg.a so icc+debug builds can run test_compression_methods, turns out we needed a fourth library after all
git-svn-id: file:///svn/toku/tokudb@41524 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
f9f364ff6a [t:4644], merge fix to main
git-svn-id: file:///svn/toku/tokudb@41513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Leif Walsh
36eb33a18e [t:4635] fixing the loader to work with compression types, and fixing some tests
git-svn-id: file:///svn/toku/tokudb@41510 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Leif Walsh
43e5551390 [t:4635] merging fractal tree and handlerton code to main
git-svn-id: file:///svn/toku/tokudb@41503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
b9a7c166ab close[t:4671] Annotate every malloc with {{{ANNOTATE_NEW_MEMORY()}}} and get rid of the {{{--check-stack-var-yes}}}. This fixes for valgrind 3.7.0 but not for valgrind 3.6.1. Closes #4671.
git-svn-id: file:///svn/toku/tokudb@41430 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Rich Prohaska
7cabbcf6bf #4644 dont build recover test stress3 on bdb refs[t:4644]
git-svn-id: file:///svn/toku/tokudb@41425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
603e51e492 close[t:4671] Add {{{--check-stack-var=yes}}} to the {{{mid_%.drdrun}}} rule. Fixes #4671.
git-svn-id: file:///svn/toku/tokudb@41416 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Zardosht Kasheff
306ed8fca2 [t:4644], add test to main line
git-svn-id: file:///svn/toku/tokudb@41412 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
e5e689aa87 [t:4670] Make test_abort4.tdbrun run in parallel. Refs #4670.
git-svn-id: file:///svn/toku/tokudb@41405 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
cd69a67e6e close[t:4669] Disable loader-test1 at the makefile (See #4668), and make the loader test faster. Fixes #4669. Refs #4668.
git-svn-id: file:///svn/toku/tokudb@41362 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
7ad7bb0611 close[t:4298] Merge from 4298j: {{{svn merge -c41355 ../tokudb.4298i}}}. Closes #4298.
git-svn-id: file:///svn/toku/tokudb@41357 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00