Yoni Fogel
6371d1134b
refs #6286 Fix compile for CLANG.
...
Enabled some more asserts, disabled some static asserts for clang because it does not support constexprs
git-svn-id: file:///svn/toku/tokudb@54540 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Bradley C. Kuszmaul
f6d1933e12
Fix #6293 . Don't use {{{mincore()}}} on Darwin.
...
git-svn-id: file:///svn/toku/tokudb@54523 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Zardosht Kasheff
1de5e9a341
closes #6290 , allow for child transactions to change descriptors
...
git-svn-id: file:///svn/toku/tokudb@54517 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Bradley C. Kuszmaul
a35e475a5a
Fix #6292 . mincore is broken on centos 5.8, so workaround it. {{{svn merge -r54513:54514 https://svn.tokutek.com/tokudb/toku/tokudb.6292 }}}.
...
git-svn-id: file:///svn/toku/tokudb@54515 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Bradley C. Kuszmaul
7b34d98275
Refs #6292 . Disable the code that's breaking, until we can fix it.
...
git-svn-id: file:///svn/toku/tokudb@54512 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
8c06138f58
refs #6286 Removed TOKDUB_ prefixes from all column names for global status.
...
Added static asserts that prevent accidentally adding global status variables that start with TOKU
git-svn-id: file:///svn/toku/tokudb@54509 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
22e332838a
refs #6286 Add 148 items to information schema.global_status
...
git-svn-id: file:///svn/toku/tokudb@54507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
e8226b79b8
refs #6286 Add infrastructure to use column names for info schema
...
git-svn-id: file:///svn/toku/tokudb@54506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
5028ac0cb8
refs #6287 Fully remove old debug info
...
git-svn-id: file:///svn/toku/tokudb@54500 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Bradley C. Kuszmaul
ca3af4843e
Fixes #6020 . Detect huge pages. The fractal tree layer notices when you create a logger (maybe there are other useful times to detect, but that's enough for now). The ydb layer notices when you all {{{db_env->open()}}}. The mysql handlerton notices the error in {{{tokudb_init_func()}}}.
...
git-svn-id: file:///svn/toku/tokudb@54498 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Rich Prohaska
930aacc602
refs #5820 remove debug printf
...
git-svn-id: file:///svn/toku/tokudb@54495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
2ea274c9f5
refs #5820 Merge information schema to mainline
...
git-svn-id: file:///svn/toku/tokudb@54478 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Leif Walsh
6d243ec46a
refs #4871 remove cmake warning about -Wcast-align. It's been long enough and we're not fixing it any time soon.
...
git-svn-id: file:///svn/toku/tokudb@54397 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
637bb2d691
refs #5891 , merge to main
...
git-svn-id: file:///svn/toku/tokudb@54377 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Yoni Fogel
b77c165c15
fixes #6086 Merge 6086 to main. We now read in basement nodes if a full keyrange resides in it so that we can answer more accurately.
...
git-svn-id: file:///svn/toku/tokudb@54342 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
743b3bcc48
refs #6058 , add test to bdb dont run
...
git-svn-id: file:///svn/toku/tokudb@54329 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
John Esmet
01c0320527
fixes #6100 #6232 track memory usage in each txn's range buffer, resetting on txn commit and in the escalation callback. large write transactions that get redundant locks in the locktree will now be under control.
...
git-svn-id: file:///svn/toku/tokudb@54278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
John Esmet
4334b8fb0c
fixes #6205 handle the case where a transaction has not yet noted a locktree during the escalation callback
...
git-svn-id: file:///svn/toku/tokudb@54261 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
a85f32968c
refs #6058 , merge to main!
...
git-svn-id: file:///svn/toku/tokudb@54234 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
84a9ee1a65
refs #6162 , fix bug in minicron
...
git-svn-id: file:///svn/toku/tokudb@54088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
eb18b6ee3a
refs #6162 , merge fractal tree piece to main
...
git-svn-id: file:///svn/toku/tokudb@54006 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Yoni Fogel
f93b43c520
fixes #6160 Skip taking input lock for pure fsyncs. This might improve group commit.
...
Cleaned up maybe_fsync code.
git-svn-id: file:///svn/toku/tokudb@53946 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Yoni Fogel
dc7f5d32b0
refs #5638 Fix bug in tests where we were passing in txnid as the boolean "do_fsync" in logcursor tests
...
git-svn-id: file:///svn/toku/tokudb@53945 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Leif Walsh
0444366249
make temp dir if it doesn't exist
...
git-svn-id: file:///svn/toku/tokudb@53914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
John Esmet
3111955f13
fix stuff
...
git-svn-id: file:///svn/toku/tokudb@53792 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
John Esmet
cf69a2b6bf
fixes #6113 add instrumentation to the locktree, including memory stats, escalation stats, and single txnid optimization stats
...
git-svn-id: file:///svn/toku/tokudb@53781 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
John Esmet
28e655adb2
fixes #6115 set compression method
...
git-svn-id: file:///svn/toku/tokudb@53772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
a81b87b51d
closes #6105 , reduce to 50K
...
git-svn-id: file:///svn/toku/tokudb@53683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
571af3c500
refs #5973 , add io, decompress, and deserialize time to benchmark
...
git-svn-id: file:///svn/toku/tokudb@53587 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
c43e61d621
refs #5973 , implement the fractal tree pieces on main
...
git-svn-id: file:///svn/toku/tokudb@53585 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
d865cbdeb5
refs #5737 , merge to main
...
git-svn-id: file:///svn/toku/tokudb@53577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:30 -04:00
Zardosht Kasheff
2e83023f37
closes #6068 , merge to main
...
git-svn-id: file:///svn/toku/tokudb@53561 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Zardosht Kasheff
40c1bc80c5
refs #6057 , merge backing out of read txn work to main
...
git-svn-id: file:///svn/toku/tokudb@53466 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Rich Prohaska
fc962b1012
refs #6040 update the README
...
git-svn-id: file:///svn/toku/tokudb@53420 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
3400f1d126
closes #6042 add -Wno-error=address-of-array-temporary
...
git-svn-id: file:///svn/toku/tokudb@53419 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Rich Prohaska
938306cabd
refs #6040 get random insertions working in our examples by increasing the cache size to 1G and turning checkpointing on
...
git-svn-id: file:///svn/toku/tokudb@53411 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Rich Prohaska
2e80dfa96d
refs #6040 add checkpoint_period to db-update.c
...
git-svn-id: file:///svn/toku/tokudb@53389 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Rich Prohaska
68654d869e
refs #6040 remove tabs
...
git-svn-id: file:///svn/toku/tokudb@53387 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Rich Prohaska
74eeec3ec0
refs #6040 add checkpoint period to db-update.c and set its default to 60 seconds
...
git-svn-id: file:///svn/toku/tokudb@53386 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Rich Prohaska
d4ea0c4ce5
refs #6040 add key_size and val_size parameters to db-update.c
...
git-svn-id: file:///svn/toku/tokudb@53385 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Zardosht Kasheff
6ee0cf44ea
closes #5978 , merge to main
...
git-svn-id: file:///svn/toku/tokudb@53062 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
John Esmet
fba8312504
fixes #5961 pass a callback to the ydb layer when escalation occurs for a txnid, providing the locktree and range_buffer describing how to update the txn's internal data structures so they don't grow out of control for very long lived write transactions
...
git-svn-id: file:///svn/toku/tokudb@52941 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
a1d664f010
refs #5965 fix some mutex initializations
...
git-svn-id: file:///svn/toku/tokudb@52884 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
6e846987c5
refs #5949 fix upgrade_test_simple invocation
...
git-svn-id: file:///svn/toku/tokudb@52827 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
3d7c568a23
refs #5949 clean up multiprocess
...
git-svn-id: file:///svn/toku/tokudb@52826 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
74f1c44ffc
refs #5949 clean up multiprocess
...
git-svn-id: file:///svn/toku/tokudb@52825 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
1dcc94088b
refs #5949 make recovery_fileops_unit clean up after itself, might solve the space problem on the mac machine
...
git-svn-id: file:///svn/toku/tokudb@52809 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
e4b49ed284
refs #5949 fix upgrade_test_simple invocation
...
git-svn-id: file:///svn/toku/tokudb@52807 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
263835ea52
refs #5949 fix loader-cleanup-test invocation
...
git-svn-id: file:///svn/toku/tokudb@52806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00
Leif Walsh
7b35839bf9
refs #5910 send engine status to stderr
...
git-svn-id: file:///svn/toku/tokudb@52786 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:29 -04:00