Commit graph

2145 commits

Author SHA1 Message Date
Zardosht Kasheff
f3a3fe1e44 [t:4875], clean up toku_create_new_brtheader
git-svn-id: file:///svn/toku/tokudb@43427 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
9a3cf1670a [t:4875], move some more stuff over to brt_header.c, make some functions static
git-svn-id: file:///svn/toku/tokudb@43426 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
e471d2820c [t:4875], add brt_header.h and move functions there
git-svn-id: file:///svn/toku/tokudb@43425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
0414ce9065 [t:4875], remove tabs from brt_header.c
git-svn-id: file:///svn/toku/tokudb@43424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
df8622d4d1 [t:4875], remove unneeded includes
git-svn-id: file:///svn/toku/tokudb@43423 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
5c4c022e9c [t:4875], create brt_header.c to isolate header code
git-svn-id: file:///svn/toku/tokudb@43422 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Rich Prohaska
0a2f3a36aa #4869 increase test coverage of txn.c, remove spin locks refs[t:4869]
git-svn-id: file:///svn/toku/tokudb@43421 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Rich Prohaska
c484a47725 #4869 increase code coverage of some logging code refs[t:4869]
git-svn-id: file:///svn/toku/tokudb@43404 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
357b4981c2 [t:4768], [t:4829], [t:4834], [t:4511], [t:4513], merge fixes to main
git-svn-id: file:///svn/toku/tokudb@43396 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
2bb02c83cd [t:4814] clean up and comment the CMakeLists.txts
git-svn-id: file:///svn/toku/tokudb@43367 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
52cad75df0 [t:4814] make more tests' timeouts longer
git-svn-id: file:///svn/toku/tokudb@43341 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
e76c88b8de [t:4814] increase test timeout for more tests
git-svn-id: file:///svn/toku/tokudb@43324 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
2bd3f447c1 [t:4858] merge 4858 to mainline
git-svn-id: file:///svn/toku/tokudb@43285 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
9e2793e707 [t:4814] fix lengthening the timeout of tests
git-svn-id: file:///svn/toku/tokudb@43210 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
0e158826e8 [t:4814] give some tests more time to complete in valgrind
git-svn-id: file:///svn/toku/tokudb@43209 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
63b1969fbb [t:4814] merging cmake work to mainline
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Zardosht Kasheff
a51493dd07 [t:4831], [t:4832], merge to main
git-svn-id: file:///svn/toku/tokudb@43069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Christian Rober
7a95b9eb98 [t:4759] Added extra non-flat 4.2 tree with nested transactions to get better coverage in brt-serialize.c and ule.c.
git-svn-id: file:///svn/toku/tokudb@42768 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Zardosht Kasheff
cf0acb166b [t:4431], add comments
git-svn-id: file:///svn/toku/tokudb@42767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
865b81d072 [t:4431], remove toku_pin_brtnode_holding_lock
git-svn-id: file:///svn/toku/tokudb@42765 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
23b13edee8 [t:4431], remove unnecessary attribute
git-svn-id: file:///svn/toku/tokudb@42762 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
1e96a05413 [t:4512], remove brt_header->checkpoint_before_commit_link and txn->checkpoint_before_commit, and replace it with a BOOL that states if a checkpoint is needed or not
git-svn-id: file:///svn/toku/tokudb@42758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
a95207a7cd [t:4775], remove NONLEAF_CHILDINFO->n_bytes_in_buffer
git-svn-id: file:///svn/toku/tokudb@42751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
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
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
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
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
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
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
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
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
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
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
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