Zardosht Kasheff
c584efd770
[t:3266], per CR comments, collapse two functions into one
...
git-svn-id: file:///svn/toku/tokudb@29159 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:37 -04:00
Zardosht Kasheff
11d8840d79
[t:3266], rename toku_change_descriptor to toku_brt_change_descriptor, per CR comments
...
git-svn-id: file:///svn/toku/tokudb@29158 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:37 -04:00
Zardosht Kasheff
a927dc1fc9
[t:3347], merge fractal tree piece of HCAD to main
...
git-svn-id: file:///svn/toku/tokudb@29146 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:37 -04:00
Bradley C. Kuszmaul
80089f63a4
#3099 Merge 3099 onto the main line.
...
{{{
svn merge -r28775:29048 https://svn.tokutek.com/tokudb/toku/tokudb.3099
}}}
git-svn-id: file:///svn/toku/tokudb@29055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:37 -04:00
Bradley C. Kuszmaul
f69f0a6a5b
[t:3219] Merge the 3219 fixes onto the main line. Refs #3219 .
...
{{{
svn merge -r28558:28575 https://svn.tokutek.com/tokudb/toku/tokudb.3219c
}}}
.
git-svn-id: file:///svn/toku/tokudb@28588 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:37 -04:00
Barry Perlman
036c8d6b54
[t:3236] [t:3238] Merge tokudb.3236+3238 to main.
...
git-svn-id: file:///svn/toku/tokudb@28070 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
6131fab3c3
#3185 merge from the tokudb.3185 branch to main refs[t:3185]
...
git-svn-id: file:///svn/toku/tokudb@27723 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Rich Prohaska
b2171df852
#3211 #3185 test brt verify and repair refs[t:3211] refs[t:3185]
...
git-svn-id: file:///svn/toku/tokudb@27642 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
03aab1d5f6
[t:3113] Merge from tokudb.3113, select latest header based on checkpoint_count, not checkpoint_lsn (file can be closed without intervening checkpoint). Merge command in toku/tokudb was svn merge -r27478:HEAD ../tokudb.3113 .
...
git-svn-id: file:///svn/toku/tokudb@27500 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
83e823e2e6
[t:3113] During recovery, do not use latest version of rollback log file,
...
but use latest version that was checkpointed at or before the last complete checkpoint.
git-svn-id: file:///svn/toku/tokudb@27338 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Bradley C. Kuszmaul
55208fc364
Merge r27117 from tokudb.3173. Refs #3173 . [t:3173]
...
git-svn-id: file:///svn/toku/tokudb@27118 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Bradley C. Kuszmaul
703dbc4784
Candidate fix for #3173 . Refs #3173 . [t:3173]
...
git-svn-id: file:///svn/toku/tokudb@27114 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Barry Perlman
ecca7928f3
[t:3175] Put nodesize in fcreate recovery log entry, remove fcreate2 recovery log entry.
...
git-svn-id: file:///svn/toku/tokudb@27081 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Bradley C. Kuszmaul
abd5212bcf
Merge r26784 into the main line.
...
Changes include patches to
* Handle gcc 4.4.1's foibles.
* Instrument {{{toku_os_pread}}}
* Release the lock during I/Os for queries (#3039 )
* Simplification of the ydb lock (no more backoff)
* Use {{{DB_TXN_NOSYNC}} for several tests (which speeds them up).
* Set the redzone to zero for several tests (so they can run on machines with little free space). (#3111 )
* Add helgrind and valgrind suppressions to some tests.
* Add dollar-id-dollar to several files.
* Declare the schedule status values to be volatile.
* Add a method to the toku {{{RWLOCK}}} to effectively grab the read lock and then release it quickly. (With only one condition variable acquisition.)
Fixes #3039 . close[t:3039]
Refs #3111 , #3112 , #3119 , #3125 , #3126 , #3128 , #3131 , #3133 , #3142 , #3152 .
[t:3111] [t:3112] [t:3119] [t:3125] [t:3126] [t:3128] [t:3131] [t:3133] [t:3142] [t:3152].
git-svn-id: file:///svn/toku/tokudb@26785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
cf3bbe92df
#3147 merge tokudb block size changes to main refs[t:3147]
...
git-svn-id: file:///svn/toku/tokudb@26780 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Barry Perlman
8a810eafd8
[t:3130] Add start time of oldest live txn to engine status.
...
git-svn-id: file:///svn/toku/tokudb@26502 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Zardosht Kasheff
fd80a2a081
[t:3088], fix bug
...
git-svn-id: file:///svn/toku/tokudb@26086 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Barry Perlman
ef3dc58435
[t:2892] Comment change only.
...
git-svn-id: file:///svn/toku/tokudb@25769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Barry Perlman
bfafd3dcd1
[t:2843] Move require_local_checkpoint() function to brt.c, remove inclusion of brt-internal.h from src/indexer.c.
...
git-svn-id: file:///svn/toku/tokudb@25767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Rich Prohaska
862072b775
#3047 fix le cursor per code review refs[t:3047]
...
git-svn-id: file:///svn/toku/tokudb@25741 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Barry Perlman
867e2563a0
[t:2811] Minor improvement of is_le_val_del() to have single return (easier to debug).
...
git-svn-id: file:///svn/toku/tokudb@25707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:30 -04:00
Zardosht Kasheff
42b7cbd920
[t:2811], make names of XXX_is_del functions consistent
...
git-svn-id: file:///svn/toku/tokudb@25690 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:30 -04:00
Dave Wells
f31a90e9e9
merge indexer to main refs #2843 [t:2843]
...
git-svn-id: file:///svn/toku/tokudb@25593 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:29 -04:00
Barry Perlman
548d03d70e
[t:2892] Merge upgrade logic to main. Merge command was svn merge --accept=postpone -r25293:HEAD ../tokudb.main+2892 .
...
git-svn-id: file:///svn/toku/tokudb@25303 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:25 -04:00
Zardosht Kasheff
97d689d64e
[t:3008], more comments
...
git-svn-id: file:///svn/toku/tokudb@25154 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00
Rich Prohaska
7606a0eb32
#2953 merge update_multiple to main refs[t:2953]
...
git-svn-id: file:///svn/toku/tokudb@25124 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00
Bradley C. Kuszmaul
70eb6ebabe
Close #2945 (get rid of {{{db->set_bt_compare}}} in favor of {{{env->set_default_bt_compare}}}).
...
Closes #2945 . close[t:2945]
{{{
svn merge -r 24888:24894 https://svn.tokutek.com/tokudb/toku/tokudb.2945
}}}
.
git-svn-id: file:///svn/toku/tokudb@24931 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00
Rich Prohaska
24d915f259
#2966 use assert_zero in some of the newbrt files refs[t:2966]
...
git-svn-id: file:///svn/toku/tokudb@24717 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:23 -04:00
Rich Prohaska
b4281f36b4
#2946 merge le-cursor's to main
...
git-svn-id: file:///svn/toku/tokudb@24142 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:23 -04:00
Bradley C. Kuszmaul
bb5579a145
Merge 2948 changes to main: Start putting upsert into brt layer (Refs #2948 ). Also add unused attributes ( Closes #2950 ). [t:2948] close[t:2950]
...
{{{
svn merge -c 24081 https://svn.tokutek.com/tokudb/toku/tokudb.2948
}}}
.
git-svn-id: file:///svn/toku/tokudb@24083 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:23 -04:00
Zardosht Kasheff
4d54bbb80b
[t:2811], add comments as result of Bradley's CR
...
git-svn-id: file:///svn/toku/tokudb@23766 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:23 -04:00
Bradley C. Kuszmaul
0c071258d7
Use a fast version of brt_is_empty. Refs #2919 . [t:2919]
...
git-svn-id: file:///svn/toku/tokudb@23694 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Rich Prohaska
d1efe9da42
#2919 refs[t:2919] speed up brt_is_empty by applying a noop instead of an optimize message to the leaf nodes
...
git-svn-id: file:///svn/toku/tokudb@23677 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Zardosht Kasheff
c385edaa8f
[t:2811], change stats to use le_keylen instead of le_latest_keylen
...
git-svn-id: file:///svn/toku/tokudb@23612 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Zardosht Kasheff
cc91ea8ca4
[t:2811], merge to main \!\!\!
...
git-svn-id: file:///svn/toku/tokudb@23495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Bradley C. Kuszmaul
06d1c0e1eb
Get rid of {{{TAGMALLOC}}}. Fixes #2912 . close[t:2912]
...
git-svn-id: file:///svn/toku/tokudb@23493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Yoni Fogel
0b0c76392a
closes[t:1398] [t:2861] Remove more heaviside code (include straddle hacks) from newbrt
...
git-svn-id: file:///svn/toku/tokudb@23060 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Bradley C. Kuszmaul
1bfd207e32
Merge the fixes for #2862 , #2861 , and #2269 onto main. Fixes #2269 , #2861 , #2862 . close[t:2269] close[t:2861] close[t:2862]
...
{{{
svn merge -r 23006:23042 https://svn.tokutek.com/tokudb/toku/tokudb.2862b
}}}
.
git-svn-id: file:///svn/toku/tokudb@23046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Bradley C. Kuszmaul
684da3b6ba
Merge changes to remove heaviside and straddle from the ydb layer. Fixes #2865 . [t:2865].
...
{{{
svn merge -c22808 https://svn.tokutek.com/tokudb/toku/tokudb.2861
}}}
.
git-svn-id: file:///svn/toku/tokudb@22809 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Yoni Fogel
5134631d15
closes[t:2692] Fix two races that helgrind reports.
...
Technically neither one causes any problems.
git-svn-id: file:///svn/toku/tokudb@20881 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Yoni Fogel
5cd73a5828
[t:2641] Fix build (false positive uninitialized variables warning)
...
git-svn-id: file:///svn/toku/tokudb@20866 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Yoni Fogel
a9c554b353
[t:2641] Merge DB_READCOMMITTED bugfix (r20839) to main.
...
git-svn-id: file:///svn/toku/tokudb@20863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Yoni Fogel
c9b2b066dd
[t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests
...
git-svn-id: file:///svn/toku/tokudb@20778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:17 -04:00
Rich Prohaska
16cbf13ca2
closes[t:2445] fsync dirs after file creation
...
git-svn-id: file:///svn/toku/tokudb@20735 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:16 -04:00
Bradley C. Kuszmaul
a6e22aadac
Merge in the 2623 branch to main. Closes #2623 . close[t:2623]
...
{{{
svn merge -r 20428:20432 https://svn.tokutek.com/tokudb/toku/tokudb.2623
}}}
.
git-svn-id: file:///svn/toku/tokudb@20433 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:14 -04:00
Bradley C. Kuszmaul
661106bce3
Merge some changes back to main line (Refs #2623 , #2631 ). [t:2623] [t:2631]
...
{{{
svn merge -r 20381:20412 https://svn.tokutek.com/tokudb/toku/tokudb.2623
}}}
.
git-svn-id: file:///svn/toku/tokudb@20413 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:13 -04:00
Barry Perlman
9b57707611
Closes #2498 [t:2498] Made DICTIONARY_ID 64 bits.
...
git-svn-id: file:///svn/toku/tokudb@20383 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:13 -04:00
Bradley C. Kuszmaul
28cc5d1ed9
Merge the changes from 2499d onto the main line. Fixes #2499 . close[t:2499].
...
{{{
svn merge -r 19523:19895 https://svn.tokutek.com/tokudb/toku/tokudb.2499d
}}}
.
git-svn-id: file:///svn/toku/tokudb@19902 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:09 -04:00
Yoni Fogel
f935786f79
[t:2494] Merge remaining changes (minor optimizations) to main from read committed branch
...
git-svn-id: file:///svn/toku/tokudb@19628 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
8c34dda452
closes[t:2440] Merge #2440 to main.
...
closes[t:2512] merge #2512 to main
Delete dev branch
git-svn-id: file:///svn/toku/tokudb@19439 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00