Bradley C. Kuszmaul
a1f1a61a57
[t:3218] Improvements from design review. Refs #3218
...
git-svn-id: file:///svn/toku/tokudb@28257 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Bradley C. Kuszmaul
6b945fa29e
[t:3218] Incorporate changes from review. Refs #3218
...
git-svn-id: file:///svn/toku/tokudb@28256 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Bradley C. Kuszmaul
7635187648
[t:3219] Turn off test #3219 for now. Refs #3219 .
...
git-svn-id: file:///svn/toku/tokudb@28223 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
fdd5f20e8c
#3269 define TOKUDB_REVISION in CPPFLAGS refs[t:3269]
...
git-svn-id: file:///svn/toku/tokudb@28217 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Bradley C. Kuszmaul
384879e789
[t:3218] Merge the #3218 changes back onto the main line. The tests ran on pointy (43 minutes elapsed, by the way. I did this merge (and added a comment):
...
{{{
svn merge -r27967:28141 https://svn.tokutek.com/tokudb/toku/tokudb.3218
}}}
Refs #3218 .
git-svn-id: file:///svn/toku/tokudb@28175 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
5bc341183e
#3253 gcc 4.4.4 linux/tests/Makefile refs[t:3253]
...
git-svn-id: file:///svn/toku/tokudb@28099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -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
Bradley C. Kuszmaul
91587107ec
[t:3219] Move the test to the main line. Refs #3219 .
...
git-svn-id: file:///svn/toku/tokudb@28047 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
71c5aade24
#3199 run db-benchmark-test and scanscan refs[t:3199]
...
git-svn-id: file:///svn/toku/tokudb@28032 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
ccb181ab08
#3253 build with gcc 4.4.4 on amazon refs[t:3253]
...
git-svn-id: file:///svn/toku/tokudb@28028 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
16bf6a601b
#3253 add --gcc44 paramter to build.check.bash refs[t:3253]
...
git-svn-id: file:///svn/toku/tokudb@27961 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
a4e8194d10
#3253 compile linux/tests with gcc44. merge 27945 from 4.1.4 to main refs[t:3253]
...
git-svn-id: file:///svn/toku/tokudb@27959 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
59c3913b7a
#3253 build with gcc 4.4.0 refs[t:3253]
...
git-svn-id: file:///svn/toku/tokudb@27915 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
1cf6739a4b
#3239 allow all ^toku symbols in the globals list refs[t:3239]
...
git-svn-id: file:///svn/toku/tokudb@27721 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
71e27cc483
[t:3228] Fix Makefile to patch out loader upgrade test.
...
git-svn-id: file:///svn/toku/tokudb@27619 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
24693b6e79
[t:3228] Patch out upgrade tests.
...
git-svn-id: file:///svn/toku/tokudb@27618 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
01940509cd
[t:3228] Use new BRT_LAYOUT_VERSION to allow for later decisions.
...
git-svn-id: file:///svn/toku/tokudb@27617 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Bradley C. Kuszmaul
855274d6c4
[t:3219] Add a #define to indicate that we have {{{toku_cachetable_get_and_pin_nonblocking}}}. Refs #3219 .
...
git-svn-id: file:///svn/toku/tokudb@27599 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
61ccaaff84
[t:3028] Minor, clear most_recent_env in toku_env_open() after verifying that env is not already open.
...
git-svn-id: file:///svn/toku/tokudb@27535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
3d521297d8
[t:3113] Fix symbol name in function signature.
...
git-svn-id: file:///svn/toku/tokudb@27503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
fe5882cc90
[t:3113] Fix symbol name in function signatures.
...
git-svn-id: file:///svn/toku/tokudb@27502 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
Rich Prohaska
cda81a2103
#3202 fix =- typo refs[t:3202]
...
git-svn-id: file:///svn/toku/tokudb@27499 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Rich Prohaska
a9d325a6d0
#3200 get the handlerton compiling again refs[t:3200]
...
git-svn-id: file:///svn/toku/tokudb@27486 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
c7d56e8474
[t:3196] Files created by new fixed loader are marked with _B_ instead of _L_. This will allow us to know which files were created with which loader.
...
git-svn-id: file:///svn/toku/tokudb@27480 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Bradley C. Kuszmaul
bab85ba037
Fixes #3207 . Don't use assert() in verify_brt_node. [t:3207]
...
git-svn-id: file:///svn/toku/tokudb@27468 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Bradley C. Kuszmaul
fcd3e15270
Fixes #3200 . Use rdtsc instead of gettimeofday() to instrument elocks. close[t:3200]
...
git-svn-id: file:///svn/toku/tokudb@27464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
22495551ec
[t:3113] Delete extraneous logic.
...
git-svn-id: file:///svn/toku/tokudb@27359 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
df9cc9234a
[t:3113] Add test recover-3113.
...
git-svn-id: file:///svn/toku/tokudb@27358 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
f7f0be31d5
[t:3178] Centralize panic handling, do not run library destructor if env is panicked. Note, logger panic does not disable library destructor, perhaps it should. Note, failed assert causes env panic, disabling library destructor.
...
git-svn-id: file:///svn/toku/tokudb@27354 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
Barry Perlman
40b2124deb
[t:3196] Fix iname generation: only dictionaries created by brtloader
...
will have _L_ mark, dictionaries created using USE_PUTS (2440 log suppression, a.k.a. put-loader) will
have _P_ mark, dictionaries created without loader will have no mark.
git-svn-id: file:///svn/toku/tokudb@27298 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Barry Perlman
60b8508095
[t:3187] Make assert code more robust.
...
git-svn-id: file:///svn/toku/tokudb@27209 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Bradley C. Kuszmaul
16caca9d6c
Merge changes from tokudb.3173 onto main. This version causes 4.1.1 to fail (when appropiately ported) and 4.1.3 to succeed. That is, the unit tests now notice that the fractal tree has wrong pivot keys. Fixes #3173 . close[t:3173]
...
{{{
svn merge -c27115:27120 ../tokudb.3173
}}}
.
git-svn-id: file:///svn/toku/tokudb@27133 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
3852c4b304
#3179 clamp the hot indexer progress refs[t:3179]
...
git-svn-id: file:///svn/toku/tokudb@27130 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -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
Zardosht Kasheff
7e2b864b37
[t:3166], use new flag to not grab write lock on directory
...
git-svn-id: file:///svn/toku/tokudb@27080 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
91daf918a0
#3168 print decompression block information including the raw block to stderr refs[t:3168]
...
git-svn-id: file:///svn/toku/tokudb@27079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Zardosht Kasheff
7d83e7a751
[t:3166], add flag for db->open to say you are creating a hot db
...
git-svn-id: file:///svn/toku/tokudb@27078 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
5297be0f96
#3164 fix changeset 27062 refs[t:3164]
...
git-svn-id: file:///svn/toku/tokudb@27073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
ecb82d778e
#3164 fix the brtloader pivot key problem refs[t:3164]
...
git-svn-id: file:///svn/toku/tokudb@27062 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
0472609876
#3164 fix the brtloader pivot key problem refs[t:3164]
...
git-svn-id: file:///svn/toku/tokudb@27061 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Barry Perlman
5b6920d3c9
[t:3169] Set environment panic on failed assert.
...
git-svn-id: file:///svn/toku/tokudb@27057 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
42921bb831
#3163 use the nodesize configured in a db in the brtloader refs[t:3163]
...
git-svn-id: file:///svn/toku/tokudb@26909 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Bradley C. Kuszmaul
22455dbb1c
Undo r26806. Refs #3161 . [t:3161]
...
git-svn-id: file:///svn/toku/tokudb@26833 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Bradley C. Kuszmaul
970417e199
Fix #3160 . close[t:3160]
...
git-svn-id: file:///svn/toku/tokudb@26806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00