Commit graph

137 commits

Author SHA1 Message Date
John Esmet
1c62ecd4bb refs #5762 add unit test for oldest referenced xid propogation from parent to child
git-svn-id: file:///svn/toku/tokudb@50832 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
John Esmet
4233ec1e5f refs #5559 merge 5559 to main
git-svn-id: file:///svn/toku/tokudb@50812 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
Zardosht Kasheff
b8b8360aa4 closes #5712, fix test
git-svn-id: file:///svn/toku/tokudb@50683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
a0eeedd5f5 refs #5700, merge to main
git-svn-id: file:///svn/toku/tokudb@50517 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Zardosht Kasheff
21c863b635 closes #5669, increase the cachetable limit, it needs to be at least twice the size of the single pair that we have, otherwise, the evictor may sneak in when we are calling change_pair_attr, and catch the cachetable to have a size of 16, because we have added the new attr but not removed the old one
git-svn-id: file:///svn/toku/tokudb@50322 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Yoni Fogel
3af91c0f51 refs #5467 merge "kill put loader, fix hot indexer freeze issue" onto main
git-svn-id: file:///svn/toku/tokudb@50137 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
John Esmet
65cd284834 fixes #5351 fixes #5528 merge the new locktree to main. the locktree, locktree manager, and blocking lock request api are implemented at the toplevel under locktree/ and the ydb layer has been modified to use the new API. some kruft has been deleted from various parts of the source tree and these merge also includes a change where we kill 'includes.h'
git-svn-id: file:///svn/toku/tokudb@49851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
2fb9deb055 refs #5418 shrink benchmark-test a bit so it completes faster
git-svn-id: file:///svn/toku/tokudb@49775 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
2c45ee3a31 refs #5418 add --verify_period to benchmark-test
git-svn-id: file:///svn/toku/tokudb@49772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
df8d7e9f2f refs #5418 don't run such a large benchmark-test under valgrind
git-svn-id: file:///svn/toku/tokudb@49758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Yoni Fogel
1740c966e2 fix benchmark-test test (1 was misplaced)
git-svn-id: file:///svn/toku/tokudb@49709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Yoni Fogel
b211b37602 Add extra options to benchmark-test
git-svn-id: file:///svn/toku/tokudb@49708 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Leif Walsh
bf70bbb898 refs #5418 merge promotion to main
git-svn-id: file:///svn/toku/tokudb@49697 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Leif Walsh
9659dc651c increase timeout for benchmark-test_256
git-svn-id: file:///svn/toku/tokudb@49528 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
ddfd46fb56 refs #5634, merge bucket mutexes to main
git-svn-id: file:///svn/toku/tokudb@49391 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Leif Walsh
774afe534d refs #5592 move circular_buffer, omt, threadpool, growable_array, rwlock, frwlock, kibbutz, mempool, partitioned_counter, nb_mutex, sort to util/, and some other cleanup stuff
git-svn-id: file:///svn/toku/tokudb@48763 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
589813ac5c refs #5368 add portability wrapper for sched_setaffinity/sched_getaffinity
git-svn-id: file:///svn/toku/tokudb@48692 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
75e38b2d79 refs #5464 move partitioned_counter completely to portability
git-svn-id: file:///svn/toku/tokudb@48678 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
95d0eb9b33 refs #5542 add simple test for ftdump
git-svn-id: file:///svn/toku/tokudb@48495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
97ad349826 refs #5537 zero out some structs because osx treats pthread_rwlock_init as "conditional jump on uninitialized values" and that's noise
git-svn-id: file:///svn/toku/tokudb@48424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
a802af97c0 refs #5464 zero out mutex
git-svn-id: file:///svn/toku/tokudb@48376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
c3a0afeab3 refs #5368 unify race detection tool annotations in <toku_race_tools.h>
git-svn-id: file:///svn/toku/tokudb@48361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
a30ce5da8a refs #5368 remove code which is unused except by a test I wrote, and is also very non-portable
git-svn-id: file:///svn/toku/tokudb@48347 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
54b16784b4 refs #5368 don't define MIN if it's already defined
git-svn-id: file:///svn/toku/tokudb@48329 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
John Esmet
14087ae48f refs #5525 remove obsolete Makefiles
git-svn-id: file:///svn/toku/tokudb@48240 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
John Esmet
3e6373c51d refs #5500 logger close rollback does not fail
git-svn-id: file:///svn/toku/tokudb@48238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
1b8c8ac4b2 refs #5500 close userdata and checkpoint userdata do not fail, so cachefile close and ft evict from memory do not fail
git-svn-id: file:///svn/toku/tokudb@48237 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
c9e96a8735 refs #5500 fsyncs do not fail, so the userdata callbacks do not fail
git-svn-id: file:///svn/toku/tokudb@48236 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
c652e648fc refs #5500 logger fsync does not fail
git-svn-id: file:///svn/toku/tokudb@48233 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
524c361432 increase timeout for helgrind_test_partitioned_counter
git-svn-id: file:///svn/toku/tokudb@48228 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
bf7bd25c4f refs #5464 fix memory leaks in cachetable-test after bringing partitioned counters on board
git-svn-id: file:///svn/toku/tokudb@48183 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
023b7629b1 refs #5507 zero out mutex in marked_omt_test
git-svn-id: file:///svn/toku/tokudb@48132 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
43e1715e1f fix flakey test
git-svn-id: file:///svn/toku/tokudb@48123 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
0bc5013e30 fixes #5423 fixes #5424 fixes #5503 fixes #5225 fsync always succeeds and returns void, no more ft panic or logger panic, no more impossible error paths
git-svn-id: file:///svn/toku/tokudb@48076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
Leif Walsh
b999f38a53 refs #5507 more mutex initializers
git-svn-id: file:///svn/toku/tokudb@48059 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
d481ec1f97 refs #5507 fix minicron-test
git-svn-id: file:///svn/toku/tokudb@48058 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
36ed43ba75 refs #5507 mutex initializers
git-svn-id: file:///svn/toku/tokudb@48056 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
f86a93211d refs #5507 another test fix (sigh)
git-svn-id: file:///svn/toku/tokudb@48055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
e078101750 refs #5507 another test fix
git-svn-id: file:///svn/toku/tokudb@48054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
9ebea97d92 refs #5507 another test fix
git-svn-id: file:///svn/toku/tokudb@48053 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
c659dd07b0 refs #5507 zero out structs before calling .init in tests that reuse objects
git-svn-id: file:///svn/toku/tokudb@48052 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
bd63072bdf closes #5485 #5368 clean up cmake and get darwin portability:
for 5485:
 - remove icc handling stuff from cmake
 - clean up remaining cmake files
 - create libtokudb_static.a in a cleaner way using cmake OBJECT libs (requires cmake 2.8.9)
 - use POSITION_INDEPENDENT_CODE property instead of manually setting -fPIC
for 5368:
 - fix compilation failures due to small differences between gcc and clang, mostly in tests
 - use toku_fileids_are_equal instead of memcmp to compare fileids (closes #5505)
 - create dummy implementation of partitioned_counter for osx (quick fix for, and closes #5506)
 - add mutex->valid bit under TOKU_PTHREAD_DEBUG
 - initialize mutex of DB_TXN created during recovery for 2PC (closes #5507)


git-svn-id: file:///svn/toku/tokudb@48024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Zardosht Kasheff
8f93bfd8d0 refs #5467, undo checkin
git-svn-id: file:///svn/toku/tokudb@47900 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Zardosht Kasheff
5dd0e5e897 refs #5467, merge to main
git-svn-id: file:///svn/toku/tokudb@47870 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Yoni Fogel
77c30060c6 closes #5462 Increase timeout so that test-rwlock is less likely to fail due to a busy machine
git-svn-id: file:///svn/toku/tokudb@47846 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
cb85dc67aa refs #5372 Merging to main: new cachetable helper functions to simulate CACHEFILE callbacks.
git-svn-id: file:///svn/toku/tokudb@47778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Zardosht Kasheff
31c3324c24 closes #5439, fix stress test issue
git-svn-id: file:///svn/toku/tokudb@47702 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Leif Walsh
ff222fa02a closes #5450 fix use-after-free, remove whitespace
git-svn-id: file:///svn/toku/tokudb@47596 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
36d9dc7b4b refs #5372 Added pointer to pair list. Updated associated tests and uses of pair list. This removes cachetable pointer from checkpointer.
git-svn-id: file:///svn/toku/tokudb@47544 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
7ff44dc1f8 refs #5372 Added evictor pointer to checkpointer. This was needed to remove some of the dependency on the cachetable in checkpointer methods.
git-svn-id: file:///svn/toku/tokudb@47539 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00