Bradley C. Kuszmaul
76bd39bffa
[t:3218] Improve printf. Refs #3218 .
...
git-svn-id: file:///svn/toku/tokudb@28262 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Bradley C. Kuszmaul
88a608bc2f
[t:3218] Try running the test if there is enough memory. Refs #3218 .
...
git-svn-id: file:///svn/toku/tokudb@28261 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Bradley C. Kuszmaul
93ae78dced
[t:3218] The block allocator test found the problem with the ints that should have been 64-bit. Refs #3218 .
...
git-svn-id: file:///svn/toku/tokudb@28260 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Bradley C. Kuszmaul
67e30da248
[t:3218] Try to write a big-block test. Refs #3218 .
...
git-svn-id: file:///svn/toku/tokudb@28258 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
9e3302820c
[t:3130] Capture oldest txn starttime at txn begin.
...
git-svn-id: file:///svn/toku/tokudb@26508 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Rich Prohaska
7c059f7af2
#3129 fix recover of insert multiple and delete multiple with a valid source filenum closes[t:3129]
...
git-svn-id: file:///svn/toku/tokudb@26506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -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
Rich Prohaska
e1e8cab62b
#3129 fix recover of insert multiple and delete multiple with a valid source filenum closes[t:3129]
...
git-svn-id: file:///svn/toku/tokudb@26501 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
37f0a697b3
[t:3034] Update engine status for new functionality.
...
git-svn-id: file:///svn/toku/tokudb@26444 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
c68e4f968a
[t:3102] Change brtloader_fi_close() to ignore files that are already closed when called from brtloader_fi_close_all().
...
git-svn-id: file:///svn/toku/tokudb@26361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
2f4f4976be
[t:3102] Restore brtloader_fi_close_all() to brtloader-internal.h (needed by test programs). Also clarify use of return values in brtloader_fi_close().
...
git-svn-id: file:///svn/toku/tokudb@26360 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
62eb359ca0
[t:2892] Fix error in toku_get_version_of_logs_on_disk() so version_found is always set correctly.
...
git-svn-id: file:///svn/toku/tokudb@26350 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
870a7f7934
[t:2892] Delete obsolete function.
...
git-svn-id: file:///svn/toku/tokudb@26349 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
de61796b6c
[t:3102] Propogate error return up call stack when fclose() fails. Make brtloader_fi_close_all() static to brtloader.c and delete its signature from brtloader-internal.h.
...
git-svn-id: file:///svn/toku/tokudb@26318 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Rich Prohaska
b897d79c37
fixes from hotindexer recover code review
...
git-svn-id: file:///svn/toku/tokudb@26185 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Dave Wells
8de2b2f1a7
fixes from hotindexer recovery code review
...
git-svn-id: file:///svn/toku/tokudb@26176 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Zardosht Kasheff
9d3a1416c3
[t:2811], add some comments
...
git-svn-id: file:///svn/toku/tokudb@26097 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
353b893861
#3054 fix closes[t:3054]
...
git-svn-id: file:///svn/toku/tokudb@26088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -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
Rich Prohaska
89f70142f5
#3081 simplify dbt initialization in the indexer closes[t:3081]
...
git-svn-id: file:///svn/toku/tokudb@26055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
3ba245cda6
#3043 merge changes from code review to main refs[t:3043]
...
git-svn-id: file:///svn/toku/tokudb@25904 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Barry Perlman
722bd044ff
[t:2892] Improve upgrade footprint/status.
...
git-svn-id: file:///svn/toku/tokudb@25770 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00