John Esmet
16b31e1576
refs #5349 committing txn_manage_lock and unlock wrapper functions to main
...
git-svn-id: file:///svn/toku/tokudb@46624 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
8f1ee9c29c
refs #5155 merge some work to main:
...
- better delete marked algorithm
- use marked omt for fresh message tree
- little cleanup things
git-svn-id: file:///svn/toku/tokudb@46549 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
fffce5d49f
refs #5155 refs #5308 closes #5309 merge new omt api functions to main (still unused), use templated omt for TOKUTXN->open_fts, OMT becomes a wrapper for omt<OMTVALUE>, other misc fixes
...
git-svn-id: file:///svn/toku/tokudb@46448 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Bradley C. Kuszmaul
c9630e45b3
Fix #5321 . Refs #5295 , #5292 , #5290 . {{{svn merge -r46336:46350 ../tokudb.5321}}}
...
git-svn-id: file:///svn/toku/tokudb@46351 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Bradley C. Kuszmaul
a4de094b19
make {{{test_partitioned_counter}}} exhibit the bug from Refs #5321 .
...
git-svn-id: file:///svn/toku/tokudb@46348 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Bradley C. Kuszmaul
7a6b7c9896
Fix #5295 , #5292 . {{{svn merge -r46285:46297 ../tokudb.5295b}}}
...
git-svn-id: file:///svn/toku/tokudb@46309 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
87824fb3df
refs #5308 Remove unused omt/omt-tmpl functions (and tests for them)
...
git-svn-id: file:///svn/toku/tokudb@46193 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
f3455ce7dc
closes #5108 Remove finalize_callback (poisons lock tree)
...
It's unnecessary since we never reuse filenames anyway.
git-svn-id: file:///svn/toku/tokudb@46191 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
d4cf29525f
refs #5081 Replace all usage:
...
BOOL->bool
FALSE->false
TRUE->true
u_int*_t->uint*_t
Also poisoned all of the variables
git-svn-id: file:///svn/toku/tokudb@46157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Bradley C. Kuszmaul
ef8598b97c
{{{svn merge -c -46044 .}}}. Back out of main. Refs #5267 , #5290 .
...
git-svn-id: file:///svn/toku/tokudb@46077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Bradley C. Kuszmaul
24af2d9a5b
Merge partitioned counters onto main. Fixes #5267 .
...
git-svn-id: file:///svn/toku/tokudb@46044 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
7a003cd9d5
refs #5139 separate omt-tmpl implementation (partially)
...
git-svn-id: file:///svn/toku/tokudb@45984 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
d4555bcd38
refs #5206 little bit more documentation for omt-tmpl.h
...
git-svn-id: file:///svn/toku/tokudb@45983 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
58dbd4a071
refs #5139 add documentation for templated omt
...
git-svn-id: file:///svn/toku/tokudb@45981 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
3dbff30332
refs #5280 add portability include to compress.cc
...
git-svn-id: file:///svn/toku/tokudb@45978 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
2f23fc5db1
refs #5280 Add additional warning options and get it to compile cleanly.
...
Add comments and static asserts for on-disk formats (e.g. leafentries)
git-svn-id: file:///svn/toku/tokudb@45977 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
aa786f0ba7
refs #5206 fix mutex initializer to be compatible with osx
...
git-svn-id: file:///svn/toku/tokudb@45964 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
3045809973
refs #5206 fix usage of <type_traits> on clang, fix omt::split_at return value
...
git-svn-id: file:///svn/toku/tokudb@45963 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
John Esmet
f5be016dea
fixes #5282 only do txn related operations if a txn exists. note that the ydb layer properly handles change descriptor in a txnless environment.
...
git-svn-id: file:///svn/toku/tokudb@45958 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
f48d3b9fdc
refs #5206 fix use of __attribute__((nonnull)) for intel compiler
...
git-svn-id: file:///svn/toku/tokudb@45953 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
b0e69456f9
refs #5206 fix shadow resolution style from underscore suffix to "new_" prefix
...
git-svn-id: file:///svn/toku/tokudb@45944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
f5c2d4de8d
refs #5206 adding some consts
...
git-svn-id: file:///svn/toku/tokudb@45943 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
816415fcd6
refs #5206 remove indentation caused by namespace
...
git-svn-id: file:///svn/toku/tokudb@45942 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
c010c1e56e
refs #5206 address review comments: only use refs when ref-to-const, otherwise use ptr
...
git-svn-id: file:///svn/toku/tokudb@45941 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
8fa5ec3e82
refs #5206 address review comments: remove static "allocation constructors", rename init/deinit to create/destroy
...
git-svn-id: file:///svn/toku/tokudb@45938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Zardosht Kasheff
c5d2402ac0
closes #5279 , remove cachetable->checkpoint_is_beginning and cachetable->checkpoint_prohibited
...
git-svn-id: file:///svn/toku/tokudb@45932 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Zardosht Kasheff
f402d9dbaa
closes #5272 , address CR comments
...
git-svn-id: file:///svn/toku/tokudb@45930 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Leif Walsh
958c447641
closes #5206 merge c++ changes to mainline
...
git-svn-id: file:///svn/toku/tokudb@45903 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
18babb7812
closes #5265 , add comments for bjm and add lock around bjm_reset
...
git-svn-id: file:///svn/toku/tokudb@45853 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Bradley C. Kuszmaul
416dad85fe
Fix #5161 . Partitioned statistics implemented.
...
git-svn-id: file:///svn/toku/tokudb@45847 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
d309b1edf7
refs #5265 , change variable name from abj_ret to r
...
git-svn-id: file:///svn/toku/tokudb@45837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
b6ad2b6c8b
closes #5253 , remove cachefile->checkpoint_state
...
git-svn-id: file:///svn/toku/tokudb@45740 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
9a8d117925
closes #5252 , remove most_recent_global_checkpoint_that_finished_early
...
git-svn-id: file:///svn/toku/tokudb@45739 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
c5fb129582
refs #4606 , remove ct->size_max
...
git-svn-id: file:///svn/toku/tokudb@45698 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Zardosht Kasheff
a3b24571fb
refs #4606 , remove some unnecessary .h files
...
git-svn-id: file:///svn/toku/tokudb@45685 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
61bfc24e54
refs #4606 , remove stale comment
...
git-svn-id: file:///svn/toku/tokudb@45684 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
947badc7a5
closes #5249 , remove CACHEFILE->for_local_checkpoint
...
git-svn-id: file:///svn/toku/tokudb@45681 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Christian Rober
98b45ab5cf
refs #5025 Fixed issue where the verification tool incorrectly decompresses old nodes.
...
git-svn-id: file:///svn/toku/tokudb@45679 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
a7d60e5577
closes #4634 , remove unneeded function toku_cachefile_get_worqueue_load
...
git-svn-id: file:///svn/toku/tokudb@45659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
c5d5cf7646
refs #3634 , separate ct lock from workqueue lock, remove usage of workqueues
...
git-svn-id: file:///svn/toku/tokudb@45658 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
9fd9a26e62
refs #4634 , make flow control depend on a cachetable cond variable and not the workqueue
...
git-svn-id: file:///svn/toku/tokudb@45651 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
d843fcc1c4
closes #5241 , finish removal of completion queues
...
git-svn-id: file:///svn/toku/tokudb@45640 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
119729779c
refs #5241 , make completion queues in cachetable unnecessary
...
git-svn-id: file:///svn/toku/tokudb@45639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Leif Walsh
c3bfcd59cd
refs #5206 merge signed types fix to main
...
git-svn-id: file:///svn/toku/tokudb@45638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Leif Walsh
a367232ad2
refs #5206 merge work making our code c99 and c++11 compatible, to mainline
...
git-svn-id: file:///svn/toku/tokudb@45632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
a86e84365d
refs #5240 , small simplification
...
git-svn-id: file:///svn/toku/tokudb@45627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
dfd2c9d1b8
refs #5239 , closes #5240 , remove unused functions in rwlock.h, fix bug in toku_cachetable_verify
...
git-svn-id: file:///svn/toku/tokudb@45626 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
7fdc9d4fae
closes #5239 , remove PAIR->verify_flag
...
git-svn-id: file:///svn/toku/tokudb@45625 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
67497cf3a4
refs #4302 , rename test
...
git-svn-id: file:///svn/toku/tokudb@45624 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Zardosht Kasheff
251e6e767d
closes #5238 , removetabs from ft_node-serialize.c
...
git-svn-id: file:///svn/toku/tokudb@45615 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00