Commit graph

1915 commits

Author SHA1 Message Date
Zardosht Kasheff
7e7733249f [t:4102], place node and bnc on background thread before unpinning parent
git-svn-id: file:///svn/toku/tokudb@36646 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Rich Prohaska
04d6214089 #4079 add last verification time to the brt header closes[t:4079]
git-svn-id: file:///svn/toku/tokudb@36487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Barry Perlman
0cc59b6952 [t:4094] Closes #4094 Delete obsolete symbol OMT_ITEM_OVERHEAD (which was defined as zero).
git-svn-id: file:///svn/toku/tokudb@36450 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Bradley C. Kuszmaul
0f26da1e0c close[t:4077] Merge 4060 branch to main (use two reads on brtnodes).
{{{
svn merge -r35827:36428 ../tokudb.4060
}}}
Refs #4060, Fixes #4077.


git-svn-id: file:///svn/toku/tokudb@36435 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Rich Prohaska
35a46f2e5e #3853 make the lock tree memory accounting more accurate refs[t:3853]
git-svn-id: file:///svn/toku/tokudb@36278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
d69063c800 [t:3982] #3982 Oops, deleted a field that I should have removed earlier.
git-svn-id: file:///svn/toku/tokudb@36199 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
15bf0e56f8 [t:4074] Closes #4074 Make minicron-test insensitive to a delayed clock tick (and explain why in a comment in the code).
git-svn-id: file:///svn/toku/tokudb@36190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Zardosht Kasheff
46706bd5dc [t:3997], add some comments to cachetable functions that will inevitabely be tricky when dealing with cache pressure
git-svn-id: file:///svn/toku/tokudb@35997 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
dac529e52b [t:4067] Closes #4067 Reorganize roll.c code slightly so that non-thread-safe variable (treelsn) is only read during recovery (when checkpoint thread does not exist). This should placate drd.
git-svn-id: file:///svn/toku/tokudb@35949 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
John Esmet
d7dcad8d66 fix a small invariant bug while reading brtheader off disk
git-svn-id: file:///svn/toku/tokudb@35947 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
c6f8d00ec7 [t:4067] #4067 Comment change only.
git-svn-id: file:///svn/toku/tokudb@35944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
0cb6409482 [t:3999] forgot to commit some extra test calls for the slow version of orthopush-flush
git-svn-id: file:///svn/toku/tokudb@35937 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Zardosht Kasheff
6d55a7bc64 [t:3945], add some comments
git-svn-id: file:///svn/toku/tokudb@35914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
a947b923ec [t:3999] adding a final test to orthopush testing
git-svn-id: file:///svn/toku/tokudb@35897 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
bd22a4e58b [t:3999] adding another test to orthopush testing
git-svn-id: file:///svn/toku/tokudb@35895 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
b88703d065 [t:3999] adding more asserts to orthopush-flush
git-svn-id: file:///svn/toku/tokudb@35883 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
8ffbb13c63 [t:3988] #3988 Improve thrashing stats. Still need to make available to engine status.
git-svn-id: file:///svn/toku/tokudb@35880 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
00b5414987 [t:3988] #3988 Collect statistics on thrashing. Still need to make available to engine status.
git-svn-id: file:///svn/toku/tokudb@35864 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
9fcda0a1a6 [t:3982] #3982 Add newline previously missing in printf().
git-svn-id: file:///svn/toku/tokudb@35858 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
1fbb0cca06 [t:3982] #3982 Remove field optimized_for_upgrade from basement.
git-svn-id: file:///svn/toku/tokudb@35851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Leif Walsh
60b5927527 [t:3976] merging 3976 to mainline
git-svn-id: file:///svn/toku/tokudb@35849 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
83406a4e0c [t:3982] #3982 Fix broken assert.
git-svn-id: file:///svn/toku/tokudb@35848 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
be2c3705ec [t:3982] #3982 Add field optimized_for_upgrade to brtnode. Stil need to remove it from basement.
git-svn-id: file:///svn/toku/tokudb@35847 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Leif Walsh
5361f51efb [t:3999] small speedup to orthopush-flush
git-svn-id: file:///svn/toku/tokudb@35837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
bb3aebd0bd [t:3982] #3982 Fix some broken upgrade mechanisms. Fix misnamed field in ydb.c. Replace brt header field num_blocks_to_upgrade with explicit num_blocks_to_upgrade_13 and num_blocks_to_upgrade_14. Add some TODO comments.
git-svn-id: file:///svn/toku/tokudb@35836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Bradley C. Kuszmaul
9acace70eb close[t:4056] Fix #4056. (Leafnode partition now allows for aligned and partial I/O, or even reordering the partitions to pack them more tightly).
git-svn-id: file:///svn/toku/tokudb@35821 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
John Esmet
836df9b062 close[t:3751] compression now switchable via makefile, via make COMPRESS=0. also, tokudb can installed into a local prefix, via make install
git-svn-id: file:///svn/toku/tokudb@35780 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Zardosht Kasheff
6b46ceb05a [t:3972], fix for crash
git-svn-id: file:///svn/toku/tokudb@35723 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Leif Walsh
837428ebaf [t:4051] fix #4051
git-svn-id: file:///svn/toku/tokudb@35707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Leif Walsh
b5ae581976 [t:3999] adding another orthopush test, this one's a big'un
git-svn-id: file:///svn/toku/tokudb@35703 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
053ca1a491 [t:3908], don't fsync log during begin_checkpoint
git-svn-id: file:///svn/toku/tokudb@35694 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Bradley C. Kuszmaul
e3baafc9db [t:4045] {{{svn merge -r35667:35683 ../tokudb.4045b}}} Refs #4045.
Add Makefile rules for the threaded_stress_tests.
Fix the race conditions found by drd (mostly of which are benign).
drd for test_stress1 now runs clean (for valgrind 3.6.1)


git-svn-id: file:///svn/toku/tokudb@35690 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Rich Prohaska
6dcda6aaeb #3966 fix the a broken assert in the test_block_allocator_merge test refs[t:3966]
git-svn-id: file:///svn/toku/tokudb@35686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Rich Prohaska
86bb9be102 #4018 set modify time to create time when creating a fractal tree refs[t:4018]
git-svn-id: file:///svn/toku/tokudb@35682 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
John Esmet
8598214490 [t:4018] 4018 changes to main
git-svn-id: file:///svn/toku/tokudb@35662 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
02af61bcac [t:3924], don't bother compressing buffers that are really small
git-svn-id: file:///svn/toku/tokudb@35645 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
5757197d7b [t:4043], remove unnecessary variable
git-svn-id: file:///svn/toku/tokudb@35644 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Leif Walsh
1475600191 [t:3999] working on orthopush-flush, got a new test to a point where it doesn't fail (but the test is incomplete)
git-svn-id: file:///svn/toku/tokudb@35606 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Leif Walsh
4b6e1f0b6a committed too much
git-svn-id: file:///svn/toku/tokudb@35542 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Leif Walsh
43628dab9c taking out some misleading things from sort.c
git-svn-id: file:///svn/toku/tokudb@35539 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
5f687736ff [t:3896], remove tests, they are invalid
git-svn-id: file:///svn/toku/tokudb@35517 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Zardosht Kasheff
9948adca3c [t:3923], merge to main
git-svn-id: file:///svn/toku/tokudb@35506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Zardosht Kasheff
a8e23be301 [t:3923], undo fix to cachetable in preparation for merge
git-svn-id: file:///svn/toku/tokudb@35504 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Barry Perlman
deab63bef0 [t:3970] closes #3970 Manually edit changeset 35079 into cachetable.c, add newbrt/tests/cachetable-unpin-remove-and-checkpoint.c (written by Zardosht with minor edits by Barry).
git-svn-id: file:///svn/toku/tokudb@35435 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Rich Prohaska
dc4960612a #3452 new row locking APIs refs[t:3452]
git-svn-id: file:///svn/toku/tokudb@35392 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Rich Prohaska
46e4c1e2be #3669 restore brtloader test writer errors tests refs[t:3669]
git-svn-id: file:///svn/toku/tokudb@35219 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Rich Prohaska
d1782521ad #3992 fix races found by cilkscreen refs[t:3992]
git-svn-id: file:///svn/toku/tokudb@35214 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Leif Walsh
af0bfe6d45 [t:3977] added a test in test3884 and fixed the bug
git-svn-id: file:///svn/toku/tokudb@35065 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Leif Walsh
a9ee385197 [t:3884] reverting a strange commit
git-svn-id: file:///svn/toku/tokudb@35059 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Leif Walsh
8832332866 [t:3645] fixing uninitialized value in test_3645
git-svn-id: file:///svn/toku/tokudb@34985 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00