Commit graph

1816 commits

Author SHA1 Message Date
Zardosht Kasheff
2e03c2588c [t:3774], add cachetable miss and hit counts to get_and_pin_nonblocking
git-svn-id: file:///svn/toku/tokudb@33153 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Rich Prohaska
d4aa39a855 #3590 merge fsync after locks are released (fixes groupcommit) refs[t:3590]
git-svn-id: file:///svn/toku/tokudb@33073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Rich Prohaska
bc608b3e75 #3590 back out the fsync optimization (group commit test fails) refs[t:3590]
git-svn-id: file:///svn/toku/tokudb@33055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Leif Walsh
794aaf730c reverting a fat-fingered change to cachetable.c from r33053
git-svn-id: file:///svn/toku/tokudb@33054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Leif Walsh
4a96abc33e [t:3647] [t:3728] merge changes from tokudb.3647, closes #3647 and closes #3728
git-svn-id: file:///svn/toku/tokudb@33053 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Barry Perlman
9ef2645d46 [t:3746] #3746 Improve comments and invariants regarding DSNs.
git-svn-id: file:///svn/toku/tokudb@33050 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Rich Prohaska
c4262963af #3669 disable failing brtloader error injection tests until later refs[t:3669]
git-svn-id: file:///svn/toku/tokudb@33046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Barry Perlman
fdbe532edb [t:3756] closes #3756 Fix dict_id to be 64 bits.
git-svn-id: file:///svn/toku/tokudb@33045 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Rich Prohaska
603cf574a7 3590 log commit, process rollback, release locks, fsync commit log entry closes[t:3590]
git-svn-id: file:///svn/toku/tokudb@33034 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Rich Prohaska
c35995769d #3745 speed up checkpoints by parallelizing serialization and compression refs[t:3745]
git-svn-id: file:///svn/toku/tokudb@33007 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
453a886798 [t:3721], add counters for partial fetch hits or misses
git-svn-id: file:///svn/toku/tokudb@32980 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
88bf122cf3 [t:3653], have keyrange_internal not decompress any partitions
git-svn-id: file:///svn/toku/tokudb@32978 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Leif Walsh
ed07802061 [t:3646] merging changes from tokudb.3646b. fixes #3646
git-svn-id: file:///svn/toku/tokudb@32975 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Barry Perlman
833583c7a6 [t:3654] #3654 Create new BRT_STATUS to collect info on brt behavior.
git-svn-id: file:///svn/toku/tokudb@32971 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Bradley C. Kuszmaul
519b3f4a53 close[t:3748] After dequeuing a fifo, free the memory. Fixes #3748.
git-svn-id: file:///svn/toku/tokudb@32944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Leif Walsh
c181410661 [t:3666] add id tags to tests which were missing it, fixes #3666
git-svn-id: file:///svn/toku/tokudb@32940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
4ed966c1ca [t:3740], fix bug
git-svn-id: file:///svn/toku/tokudb@32939 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Rich Prohaska
1dd96b44ab #3584 debug printf cachetable checkpoint info refs[t:3584]
git-svn-id: file:///svn/toku/tokudb@32938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
46e33438c7 [t:3720], add some comments
git-svn-id: file:///svn/toku/tokudb@32914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
34649520b1 [t:3643], add comments
git-svn-id: file:///svn/toku/tokudb@32913 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
a0f5141344 [t:3643], some more cachetable comments
git-svn-id: file:///svn/toku/tokudb@32912 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
278f7c2947 [t:3643], make small code simplification, before adding comments
git-svn-id: file:///svn/toku/tokudb@32911 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
d9f9fc5672 [t:3643], rename a function, add comments
git-svn-id: file:///svn/toku/tokudb@32910 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
3c639c71e6 [t:3643], add comments describing the cachetable callbacks
git-svn-id: file:///svn/toku/tokudb@32909 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
108a698022 [t:3643], add comments to structs in brt-internal.h
git-svn-id: file:///svn/toku/tokudb@32908 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
db209d66c4 [t:3737], fix setting min dsn for basement node
git-svn-id: file:///svn/toku/tokudb@32907 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
2004c26cdd [t:3738], make dsn into a struct
git-svn-id: file:///svn/toku/tokudb@32906 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
2b82563669 [t:3737], set curr_dsn when deserializing a header
git-svn-id: file:///svn/toku/tokudb@32902 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
a783848fb4 [t:3736], fix compilation of make-tree
git-svn-id: file:///svn/toku/tokudb@32901 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
1e928e3604 [t:3698], make keyrange-unflat fit in memory so that the test can truly test keyrange without worrying about the effect of orthopush on drawing leafnodes into memory.
git-svn-id: file:///svn/toku/tokudb@32893 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
3f98cbcc93 [t:3734], move brt->curr_dsn to brt_header
git-svn-id: file:///svn/toku/tokudb@32890 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
cd9f61920e [t:3733], fix brt-test-helpers
git-svn-id: file:///svn/toku/tokudb@32856 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
b9623f06fa [t:3724], [t:3717], [t:3727], merge fixes to main
git-svn-id: file:///svn/toku/tokudb@32829 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Rich Prohaska
c69c2e09cf #3711 test new version of intel cilkscreen refs[t:3711]
git-svn-id: file:///svn/toku/tokudb@32786 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Rich Prohaska
c07fcec0aa #3710 revert 32763 refs[t:3710]
git-svn-id: file:///svn/toku/tokudb@32779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Barry Perlman
4b4a766fbd [t:3674] #3674 Simplify and fix workdone accounting. Also delete useless is_root argument from function apply_cmd_to_in_memory_non_root_leaves().
git-svn-id: file:///svn/toku/tokudb@32775 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Leif Walsh
fe7f84f5fc [t:3709] change a failing assert that fullhash is there to a calculation of fullhash instead, fix #3709
git-svn-id: file:///svn/toku/tokudb@32772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Bradley C. Kuszmaul
9c34a98ae4 [t:3706] Fixup the bools a little. Refs #3706.
git-svn-id: file:///svn/toku/tokudb@32766 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Rich Prohaska
2be1c32a90 #3710 enable full hash verification only if SLOW is defined closes[t:3710]
git-svn-id: file:///svn/toku/tokudb@32763 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Bradley C. Kuszmaul
223071f1e2 close[t:3706] Deprecate BOOL. Refs #3706.
git-svn-id: file:///svn/toku/tokudb@32750 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
e3f065827e [t:3705], fix leak
git-svn-id: file:///svn/toku/tokudb@32746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
d5505938e9 [t:3703], merge to main
git-svn-id: file:///svn/toku/tokudb@32737 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
4790f1e276 [t:3686], fix bug that causes assert to hit
git-svn-id: file:///svn/toku/tokudb@32721 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00
Rich Prohaska
28877528fb #3678 use clean or mvcc leaf entries when appropriate refs[t:3678]
git-svn-id: file:///svn/toku/tokudb@32718 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00
Zardosht Kasheff
623384377c [t:3684], fix stat problem lost in a merge
git-svn-id: file:///svn/toku/tokudb@32714 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00
Zardosht Kasheff
8927a3e718 [t:3609], fix race condition by having shortcut cursors grab read locks on PAIRs, range queries will be slower
git-svn-id: file:///svn/toku/tokudb@32713 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00
Bradley C. Kuszmaul
082ae0501f [t:3610] Get rid of a bunch of {{{toku_cacheable_get_and_pin}}} calls in favor of the {{{toku_pin_brtnode}}} functions. Refs #3683.
git-svn-id: file:///svn/toku/tokudb@32712 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00
Bradley C. Kuszmaul
aff41cf349 close[t:3683] add svn:keywors. Fixes #3683.
git-svn-id: file:///svn/toku/tokudb@32707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00
Bradley C. Kuszmaul
c1827aab73 fix[t:3681] Fix the checkpoint/insert deadlock. Closes #3681.
git-svn-id: file:///svn/toku/tokudb@32706 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00
Bradley C. Kuszmaul
6290af43bb [t:3564] Fix brt-serialize-test memory leak. Refs #3564.
git-svn-id: file:///svn/toku/tokudb@32704 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:42 -04:00