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
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
0a24ea8256
[t:2892] Improve comments.
...
git-svn-id: file:///svn/toku/tokudb@25736 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Barry Perlman
3ea586977a
[t:2892] Delete obsolete comment.
...
git-svn-id: file:///svn/toku/tokudb@25734 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Rich Prohaska
9582103554
#3046 use the brt compare function for le cursor key comparisons refs[t:3046]
...
git-svn-id: file:///svn/toku/tokudb@25729 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Barry Perlman
04fd1fbaa8
[t:2892] Delete obsolete constants.
...
git-svn-id: file:///svn/toku/tokudb@25727 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:30 -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
Rich Prohaska
f348e5bfeb
#2946 change some var names refs[t:2946]
...
git-svn-id: file:///svn/toku/tokudb@25699 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
Barry Perlman
08c0ded0e1
Improve comments. (Comment changes only.)
...
git-svn-id: file:///svn/toku/tokudb@25673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:30 -04:00
Rich Prohaska
43e5039e58
#3011 remove *extra from *multiple functions and callbacks refs[t:3011]
...
git-svn-id: file:///svn/toku/tokudb@25627 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
b05d16ce44
[t:3028] Merge from tokudb.3028 with command svn merge -r25427:HEAD ../tokudb.3028 .
...
Add engine status on failed assert. Also add panic info to log status in preparation for making available via engine status.
git-svn-id: file:///svn/toku/tokudb@25469 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:26 -04:00
Barry Perlman
deb0d23050
[t:2949] Improve cachetable's get_and_pin_footprint.
...
git-svn-id: file:///svn/toku/tokudb@25399 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:26 -04:00
Zardosht Kasheff
fbdca53647
[t:2892], remove #if BRT_LAYOUT...
...
git-svn-id: file:///svn/toku/tokudb@25394 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:26 -04:00
Zardosht Kasheff
2f88373f31
[t:2892], undo bad checkin
...
git-svn-id: file:///svn/toku/tokudb@25393 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:26 -04:00
Zardosht Kasheff
89668ba2e5
[t:2892], remove some more #if from macros
...
git-svn-id: file:///svn/toku/tokudb@25392 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:26 -04:00
Barry Perlman
31d6bb23be
[t:2892] Remove conditional compilation that is unnecessary and incompatible with Windows compiler.
...
git-svn-id: file:///svn/toku/tokudb@25330 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:26 -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
35800b4c8b
[t:3008], modify comments a bit
...
git-svn-id: file:///svn/toku/tokudb@25194 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:25 -04:00
Zardosht Kasheff
c9eb09c1f7
[t:3008], modify comments a bit
...
git-svn-id: file:///svn/toku/tokudb@25193 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:25 -04:00
Zardosht Kasheff
2c6ca1d18d
[t:3008], comment changes
...
git-svn-id: file:///svn/toku/tokudb@25186 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00
Rich Prohaska
58e54d7d3e
#3008 fix some compile problems refs[t:3008]
...
git-svn-id: file:///svn/toku/tokudb@25159 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00
Zardosht Kasheff
249838df05
[t:3008], more comments
...
git-svn-id: file:///svn/toku/tokudb@25156 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -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
Zardosht Kasheff
e654cbdb55
[t:3008], add comments to leafentry struct describing format
...
git-svn-id: file:///svn/toku/tokudb@25153 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00