Rich Prohaska
cd4b1cd7f6
#206 fix memory leaks in lock tree tests
2014-04-23 09:10:19 -04:00
John Esmet
21b3cd608b
fixes #206 Factor out inner classes to be their own classes. Relax some
...
abstractions and strengthen others, with an eye for simplicity and
consistency, not over-encapsulation.
2014-03-06 16:22:18 -05:00
John Esmet
bfba28e122
refs #190 Remove conditional compilation for locktree escalator lambda
2014-03-05 12:33:11 -05:00
John Esmet
7a76d84d01
fixes #198 Consolidate our portability code by moving toku_include/*
...
stuff into portability/
2014-03-03 20:07:57 -05:00
John Esmet
3817fd161d
refs #190 Remove conditonal compilation of lambda code, which isn't widely supported on older systems
2014-03-03 09:04:00 -05:00
John Esmet
2f1eccd44e
The code in <functional> is not supported on reasonably old systems.
...
Revert "fixes #190 Use the locktree escalator lambda function API, remove"
This reverts commit 34666ecb9b
.
2014-03-03 08:57:55 -05:00
John Esmet
9b875ae5b1
fixes #190 Use the locktree escalator lambda function API, remove
...
condidtional compilation.
2014-03-02 16:53:41 -05:00
John Esmet
ddacebb1ea
fixes #187 Add a paranoid invariant that left endpoints are <= right
...
endpoints on acquire and release.
2014-03-01 19:25:08 -05:00
Rich Prohaska
054633c65d
#173 allow lock tree waits to be killable
2014-02-21 12:27:23 -05:00
Rich Prohaska
0492446818
#147 dont hold locktree manager mutex when escalating
2014-01-14 19:14:18 -05:00
Rich Prohaska
c8993dec4d
#141 identify a big transaction and have it run lock escalation
2014-01-13 11:29:52 -05:00
Rich Prohaska
e3b21c8f47
#139 disable the lock escalation thread. new algorithm coming in #141
2014-01-08 07:34:54 -05:00
Rich Prohaska
1ed8c69b01
#81 export an API to set a get wait time callback
2013-10-10 14:07:51 -04:00
Rich Prohaska
d817d01ab7
#81 move the lock wait time to the wait method
2013-10-10 10:00:35 -04:00
Rich Prohaska
5dc1ef2f4f
#56 simply launch of lock escalator and write a slightly better test
2013-10-08 14:52:34 -04:00
Rich Prohaska
2796c2d35c
tokutek/ft-index#76 add US Patent 8,489,638
2013-10-04 16:49:53 -04:00
Rich Prohaska
bbee1fec1f
#56 run lock escalation on a background thread
2013-10-02 10:45:25 -04:00
Rich Prohaska
1a75e45c41
#56 benchmark that demos lock escalation stalls
2013-09-19 17:21:29 -04:00
Rich Prohaska
b846739abf
#69 measure long tail lock tree and cache table stalls
2013-09-18 13:29:05 -04:00
John Esmet
8a9faf4d60
Merge branch 'master' of github.com:Tokutek/ft-index
2013-09-18 09:49:43 -04:00
John Esmet
957bd4e939
Merge branch 'bugs/70'
2013-09-18 09:48:03 -04:00
John Esmet
e9be482ebf
Fix this test - did not get built or tested properly on my end due to
...
BUILD_TESTING=Off in the cmake config.
2013-09-18 09:47:18 -04:00
Rich Prohaska
81e63d1dfd
#50 add long tail counts to global status
2013-09-18 08:48:39 -04:00
John Esmet
e0e1cc9984
Merge branch 'bugs/70'
2013-09-18 00:19:25 -04:00
John Esmet
387523dc63
refs #70 Add a test to the range buffer that verifies the buf grows
...
properly after a small append into a large append
2013-09-18 00:18:57 -04:00
John Esmet
4fd61b9d8e
Merge branch 'bugs/70'
2013-09-17 23:55:54 -04:00
John Esmet
ae87b251c8
fixed memory allocation error in range_buffer #70
...
fixes #70
2013-09-17 23:55:37 -04:00
John Esmet
3e85b387f4
refs #59 Add the locktree visualization APIs, new accessors in the DB and DB_TXN,
...
and a new operation in test_stress0 for stress testing coverage
2013-09-13 11:10:49 -04:00
Rich Prohaska
50aef9b7d9
#50 count lock tree timeouts
2013-08-21 16:10:43 -04:00
Rich Prohaska
b23b43a0d9
#50 count long tail events like long fsyncs, checkpoints, and lock tree waits
2013-08-20 13:36:45 -04:00
Rich Prohaska
a722e8cb71
#17 test env open with open file limit
2013-06-24 15:22:34 -04:00
Leif Walsh
9f99932a76
refs #6566 fix typo in license text
...
git-svn-id: file:///svn/toku/tokudb@55577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:36 -04:00
Leif Walsh
9fd20e61a4
refs #6566 add license text to all C/C++ files as a comment near the top
...
git-svn-id: file:///svn/toku/tokudb@55574 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:35 -04:00
Leif Walsh
84fef672e4
refs #6566 update all copyright strings to reflect an end year of 2013
...
git-svn-id: file:///svn/toku/tokudb@55567 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:35 -04:00
Yoni Fogel
798f83412e
refs #6286 Reorganized static asserts and status macros so c++11 features stay out of exported headers
...
git-svn-id: file:///svn/toku/tokudb@54546 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
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
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
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
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
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
d9a440ee26
closes #5949 merge to main
...
git-svn-id: file:///svn/toku/tokudb@52748 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:28 -04:00
John Esmet
c9ded07b2f
fixes #5848 add "Id" keyword to each file that did not already have it
...
git-svn-id: file:///svn/toku/tokudb@51639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
32698fa975
refs #5672 #5351 increase drd timeouts some more (ugh), make locktree stop reporting false positives
...
git-svn-id: file:///svn/toku/tokudb@51378 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
John Esmet
2ce44e52ee
refs #5828 destroy the root node when the concurrent tree is destroyed.
...
git-svn-id: file:///svn/toku/tokudb@51345 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
33a99affe4
fixes #5771 merge the single txnid optimization to main. single threaded write performance is up 20-50% in mysql and multithreaded performance is largely unchanged.
...
git-svn-id: file:///svn/toku/tokudb@51108 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00