Rich Prohaska
46b2fbe221
#4131 mark fractal tree status variables so that drd will ignore them closes[t:4131]
...
git-svn-id: file:///svn/toku/tokudb@37113 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:57 -04:00
Barry Perlman
23698f1e96
[t:3988] #3988 Restore max mem in use statistic.
...
git-svn-id: file:///svn/toku/tokudb@36975 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:56 -04:00
Rich Prohaska
87b69d9faa
#4112 avoid jemalloc's usable size problem with a NULL pointer refs[t:4112]
...
git-svn-id: file:///svn/toku/tokudb@36778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Rich Prohaska
cd42bfa6c1
#4091 replace mutex locking in memory.c with atomic ops refs[t:4091]
...
git-svn-id: file:///svn/toku/tokudb@36691 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Rich Prohaska
35a46f2e5e
#3853 make the lock tree memory accounting more accurate refs[t:3853]
...
git-svn-id: file:///svn/toku/tokudb@36278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Rich Prohaska
faf3a5839c
#3991 fix the race conditions in memory.c detected by cilkscreen refs[t:3991]
...
git-svn-id: file:///svn/toku/tokudb@35212 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Barry Perlman
c436cfd20f
[t:3825] #3825 Add max_mem_in_use to memory statistics.
...
git-svn-id: file:///svn/toku/tokudb@35067 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Barry Perlman
df0b2a416f
[t:3974] #3974 Remove single-threading of malloc calls from portability layer.
...
git-svn-id: file:///svn/toku/tokudb@35058 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Barry Perlman
03872236ad
[t:3806] #3806 Single-thread all mallocator calls.
...
git-svn-id: file:///svn/toku/tokudb@34905 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Barry Perlman
4ce36c36a0
[t:3825] #3825 Fix accounting for toku_xrealloc().
...
git-svn-id: file:///svn/toku/tokudb@33970 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Barry Perlman
44b5e6d620
[t:3825] #3825 Do not count free() operations when passed a NULL.
...
git-svn-id: file:///svn/toku/tokudb@33950 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Barry Perlman
cfebabfdfa
[t:3825] #3825 Do not call malloc_usable_size() with NULL. Add malloc_fail and realloc_fail to engine status.
...
git-svn-id: file:///svn/toku/tokudb@33948 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Barry Perlman
2b54c48dcc
[t:3825] #3825 Add memory usage statistics to engine status.
...
git-svn-id: file:///svn/toku/tokudb@33928 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Rich Prohaska
dbee5ae7ba
#3346 #3351 fix the loader malloc error injector refs[t:3346] refs[t:3351]
...
git-svn-id: file:///svn/toku/tokudb@29297 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:38 -04:00
Barry Perlman
8f05263293
[t:3092] Avoid function call for common case.
...
git-svn-id: file:///svn/toku/tokudb@26164 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
f56ef74403
[t:3092] Replace raw abort() calls with resource_assert() calls in xmalloc functions. This will provide more information in error logs on crash.
...
git-svn-id: file:///svn/toku/tokudb@26163 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Rich Prohaska
8cf78727aa
#2921 refs[t:2921] remove obsolete memory functions
...
git-svn-id: file:///svn/toku/tokudb@23625 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
Rich Prohaska
1abb93de95
test large malloc failures in the brtloader writer. merge from tokudb.2603.extractor.tests. refs[t:2603]
...
git-svn-id: file:///svn/toku/tokudb@20276 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:12 -04:00
Rich Prohaska
9c891e5501
fix some error paths in the brtloader extractor.
...
fix an uninitialized var problem in the ydbloader.
refs[t:2597] refs[t:2598]
merge -r 20145:20165 tokudb.2597 to tokudb
git-svn-id: file:///svn/toku/tokudb@20166 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:11 -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
580f5caafb
Addresses #2037 refs[t:2037] Merged #2037 back into main
...
git-svn-id: file:///svn/toku/tokudb@15562 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:04 -04:00
Yoni Fogel
049c7625a3
Addresses #1765 Merge [12079] into main (pthreads-win32 for windows)
...
git-svn-id: file:///svn/toku/tokudb@12081 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
8f2b0a7e11
Addresses #1510 Merge of 1510 (so far) back into main
...
Several fixes are included, particulary db remove after db truncate (with descriptor) does not crash anymore.
svn merge -r 10931:11019 ../tokudb.1510
git-svn-id: file:///svn/toku/tokudb@11020 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:47 -04:00
Rich Prohaska
be70861bf3
fix the data races in toku_malloc and toku_free. closes #1369
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8620 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:35 -04:00
Bradley C. Kuszmaul
0dfc3aa50d
Some fixes for recovery ( #1364 ). Also some temporary fixes for #1277 . Addresses #1364 , #1277 .
...
Delete the 1364 branch, so I can restart it.
On the 1343 branch, I did:
{{{
svn merge -r 8586:8595 https://svn.tokutek.com/tokudb/toku/tokudb.1032b+1343+1364
}}}
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8596 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:35 -04:00
Bradley C. Kuszmaul
fe0a157971
Cleaned up. Note that some stuff moved into the windows directory with symlinks from linux (since I know that symlinks work in linux, but maybe not in windows.) Addresses #1348 .
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Bradley C. Kuszmaul
017d4f8cc3
Separate out the common malloc into newbrt/memory.c, and put the os-specific stuff into windows and linux subdirs. Things are broken. Addresses #1343 .
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8559 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Bradley C. Kuszmaul
0adc9f9bd8
Separate out the common malloc into newbrt/memory.c, and put the os-specific stuff into windows and linux subdirs. Addresses #1343 .
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8558 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Bradley C. Kuszmaul
f66b523f89
Merge all stuff from source:tokudb/toku/tokudb.1032 since the creation of this branch at [8452] to the present [8556], as
...
{{{
svn merge -r 8452:8556 https://svn.tokutek.com/tokudb/toku/tokudb.1032b/
}}}
And resolve conflicts.
It compiles, and we'll see if it runs.
Addresses #1032 , #1343 .
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Rich Prohaska
3962a69628
move toku_malloc to portability layer. addresses #1342
...
git-svn-id: file:///svn/toku/tokudb.1032b@8425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:32 -04:00
Rich Prohaska
6fdbf9bf15
move toku_malloc to the port layer. closes #1342
...
git-svn-id: file:///svn/toku/tokudb.1032b@8423 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:32 -04:00