Bradley C. Kuszmaul
677e7ddcd2
more fence cases
...
git-svn-id: file:///svn/tokudb@5343 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-26 15:57:13 +00:00
Bradley C. Kuszmaul
9c268111cb
more fence cases
...
git-svn-id: file:///svn/tokudb@5342 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-26 15:50:12 +00:00
Yoni Fogel
2804eb495a
Addresses #1032
...
Removed over-active warnings, moved struct definition to proper place.
git-svn-id: file:///svn/tokudb@5322 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:31:52 +00:00
Rich Prohaska
b798cd5c31
add a in memory trace log with processor timestamps. closes #1042
...
git-svn-id: file:///svn/tokudb@5321 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:26:38 +00:00
Yoni Fogel
c7d9dbbc2a
Addresses #1032
...
Turned some nested functions (that had no free variables) into non-nested functions.
git-svn-id: file:///svn/tokudb@5320 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:25:31 +00:00
Yoni Fogel
3f49195276
Addresses #1032
...
Makefile ports for cygwin/Windows
git-svn-id: file:///svn/tokudb@5319 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:24:27 +00:00
Rich Prohaska
e21db3b0e6
add a in memory trace log with processor timestamps. closes #1042
...
git-svn-id: file:///svn/tokudb@5318 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:23:40 +00:00
Rich Prohaska
9a801f6fc6
fix the regressions error on 4.4. addresses #968
...
git-svn-id: file:///svn/tokudb@5307 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 12:16:57 +00:00
Yoni Fogel
31aa0af04e
Addresses #1040
...
Moved a couple of functions out of the critical path for the common case (only needed for uncommon case)
git-svn-id: file:///svn/tokudb@5298 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 23:01:13 +00:00
Bradley C. Kuszmaul
ab7a3ca9d3
Quiet down the cxx makefile. Addresses #13 .
...
git-svn-id: file:///svn/tokudb@5286 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 12:55:37 +00:00
Bradley C. Kuszmaul
50dfe380f7
Implemented a measurement. On my laptop:
...
{{{
writeit 2048 blocks of size 1048576 in 124.60s at 17.24MB/s
readit 2048 blocks of size 1048576 in 94.13s at 22.81MB/s user= 0.08s sys= 4.94s
}}}
Also for 512 blocks it runs at 741MB/s,
It looks like the cachetable is fast enough.
Fixes #1037 .
git-svn-id: file:///svn/tokudb@5285 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 11:24:13 +00:00
Bradley C. Kuszmaul
9db51893c9
test944a has a memory leak. Fix it. Addresses #944 .
...
git-svn-id: file:///svn/tokudb@5277 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 04:46:58 +00:00
Bradley C. Kuszmaul
5c3ec7de12
Revert the murmur checksum. Addresses #1021 .
...
{{{
svn merge https://svn.tokutek.com/tokudb/tokudb.1021@5184 https://svn.tokutek.com/tokudb/tokudb.1021@5107
}}}
and fix a simple conflict.
git-svn-id: file:///svn/tokudb@5275 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 03:47:05 +00:00
Yoni Fogel
daf9154cf8
Closes 1036
...
Fixes the memory leak with callback invalidation
git-svn-id: file:///svn/tokudb@5274 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 02:43:42 +00:00
Bradley C. Kuszmaul
71cb765433
Merge in the branch fix the rollback merging into the parent. Fixes #1035 .
...
{{{
svn merge -r5259:5270 https://svn.tokutek.com/tokudb/tokudb.1035
}}}
git-svn-id: file:///svn/tokudb@5272 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-22 23:25:07 +00:00
Bradley C. Kuszmaul
95e8ac768f
Fiddle with the error code for truncate under bdb. Addresses #968 .
...
git-svn-id: file:///svn/tokudb@5269 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-22 21:42:22 +00:00
Rich Prohaska
4b78cca417
fix the bdb truncate with cursors test. addresses #968
...
git-svn-id: file:///svn/tokudb@5244 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 19:30:30 +00:00
Yoni Fogel
6ccb067147
Addresses #1032
...
Standardize unsigned ints:
uint8_t -> u_int8_t
uint32_t -> u_int32_t
uint64_t ->u_int64_t
Windows seems to differentiate between the two, linux does not.
git-svn-id: file:///svn/tokudb@5239 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 18:00:38 +00:00
Rich Prohaska
b584f4fb46
fix a cachefile renumbering problem. addresses #968
...
git-svn-id: file:///svn/tokudb@5238 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 17:48:26 +00:00
Yoni Fogel
ab1df07131
Addresses #1031
...
Invalidates cursors when we run off the end of a leaf.
git-svn-id: file:///svn/tokudb@5222 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 05:59:25 +00:00
Yoni Fogel
5badbb42a8
Addresses #1031
...
Implements lazy updates for next_shortcut, and prev_shortcut.
git-svn-id: file:///svn/tokudb@5221 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 05:37:55 +00:00
Rich Prohaska
efc9a8aa39
merge db->truncate to main. closes #968
...
git-svn-id: file:///svn/tokudb@5218 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 02:34:13 +00:00
Bradley C. Kuszmaul
66cd2fdd01
Merge is tokudb.1021 changes. Addresses #1021 .
...
{{{
svn merge -r5107:5184 https://svn.tokutek.com/tokudb/tokudb.1021
}}}
git-svn-id: file:///svn/tokudb@5214 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-20 14:08:55 +00:00
Yoni Fogel
0817ad3042
Addresses #1031
...
Added invalidate_callback function to the OMTcursors.
Added tests for invalidate callback functions.
git-svn-id: file:///svn/tokudb@5203 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-19 06:21:09 +00:00
Bradley C. Kuszmaul
4f57debbc4
Test 944 has some memory leaks, even when things are working. Addresses #944 .
...
git-svn-id: file:///svn/tokudb@5197 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 19:47:43 +00:00
Bradley C. Kuszmaul
45414a60b0
Remove memory leak. Fixes #1030 .
...
git-svn-id: file:///svn/tokudb@5196 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 19:37:31 +00:00
Bradley C. Kuszmaul
acdf833c6c
Remove memory leak. Fixes #1027 .
...
git-svn-id: file:///svn/tokudb@5194 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 18:54:17 +00:00
Bradley C. Kuszmaul
10bdafb7fc
The problem was in the test code. It was creating a MALLOC DBT and then never freeing stuff. Fixes #1026 .
...
git-svn-id: file:///svn/tokudb@5189 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 16:17:32 +00:00
Bradley C. Kuszmaul
05d057c019
Cleanup test dirs when doing make clean. Fixes #1028 .
...
git-svn-id: file:///svn/tokudb@5182 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 12:34:24 +00:00
Rich Prohaska
869c0f107c
simplify memory.c, map toku_malloc direct to malloc. closes #1024
...
git-svn-id: file:///svn/tokudb@5167 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-17 20:58:57 +00:00
Bradley C. Kuszmaul
273b90ab7f
Remove memory leak. Fixes #1025 .
...
git-svn-id: file:///svn/tokudb@5165 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-17 19:54:11 +00:00
Yoni Fogel
18b35fc088
Addresses #993
...
Merge branch 993 back into main.
git-svn-id: file:///svn/tokudb@5141 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-16 22:23:29 +00:00
Rich Prohaska
c7c25f5c7e
treak the seq insert algorithm. addresses #1003
...
git-svn-id: file:///svn/tokudb@5091 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-13 00:04:22 +00:00
Bradley C. Kuszmaul
fd6a6d1447
Merge in the tokudb.1017 patches to the main branch. Fixes #1017 .
...
{{{
$ (cd tokudb;svn merge -r5048:5080 https://svn.tokutek.com/tokudb/tokudb.1017 )
$ svn delete tokudb.1017
}}}
git-svn-id: file:///svn/tokudb@5081 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-11 22:00:06 +00:00
Bradley C. Kuszmaul
bf807a8af8
Fixes #853 . {{{svn merge -r5009:5043 https://svn.tokutek.com/tokudb/tokudb.853 }}}.
...
git-svn-id: file:///svn/tokudb@5046 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-10 18:46:41 +00:00
Rich Prohaska
8d432d4bb0
add pthread_mutex_lock/unlock to the test
...
git-svn-id: file:///svn/tokudb@5036 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-10 13:42:39 +00:00
Rich Prohaska
a68937a031
read the timestamp counter. closes #1012
...
git-svn-id: file:///svn/tokudb@5018 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 18:50:06 +00:00
Bradley C. Kuszmaul
3381558927
Print all the extra functions when building the h files. Fixes #1005 .
...
git-svn-id: file:///svn/tokudb@5012 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 16:55:59 +00:00
Rich Prohaska
a754a77ff6
support OPTFLAGS
...
git-svn-id: file:///svn/tokudb@5006 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 13:27:55 +00:00
Bradley C. Kuszmaul
674f22ce5e
Buffer the reading of the rollback file. Gains 5% on large transactions. Fixes #1002 .
...
git-svn-id: file:///svn/tokudb@5005 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 12:00:26 +00:00
Rich Prohaska
6a0efbf923
test case to check mostly seq inserts. closes #1003
...
git-svn-id: file:///svn/tokudb@4984 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-08 17:54:35 +00:00
Rich Prohaska
4ac45ace29
detect mostly sequential insertions. addresses #1003
...
git-svn-id: file:///svn/tokudb@4979 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-08 11:08:15 +00:00
Rich Prohaska
97a2188053
send commits for delete operations. addresses #976
...
git-svn-id: file:///svn/tokudb@4875 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-01 19:52:35 +00:00
Rich Prohaska
2f5ebc7d8b
define the db->truncate function. addresses #968
...
git-svn-id: file:///svn/tokudb@4824 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-30 20:17:58 +00:00
Rich Prohaska
25019cfce5
reset the seq inserts counter when a node splits
...
git-svn-id: file:///svn/tokudb@4823 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-30 20:15:38 +00:00
Bradley C. Kuszmaul
5a8367a9b2
Cleanup more. Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4773 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-26 21:58:00 +00:00
Bradley C. Kuszmaul
96c14cbfe6
Cleanup. Addresses #944 , #938 .
...
git-svn-id: file:///svn/tokudb@4772 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-26 21:12:32 +00:00
Bradley C. Kuszmaul
8bfa4af9f9
Finally wrote a test for #938 . Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4740 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 22:15:09 +00:00
Bradley C. Kuszmaul
4b79a2237d
Try to write another test that tickles #938 . Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4739 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 21:53:36 +00:00
Bradley C. Kuszmaul
f45c98f91a
Try to write another test that tickles #938 .
...
git-svn-id: file:///svn/tokudb@4737 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 20:41:17 +00:00