Bradley C. Kuszmaul
48f0ad74b5
Up
...
git-svn-id: file:///svn/tokudb@519 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:58:38 +00:00
Bradley C. Kuszmaul
657c57b44a
Do subtransactions properly (without an fsync)
...
git-svn-id: file:///svn/tokudb@499 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-19 17:05:10 +00:00
Rich Prohaska
70d7c7a3ec
simplify the cachetable interface by removing all of the *_size
...
functions
git-svn-id: file:///svn/tokudb@498 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-19 14:07:41 +00:00
Rich Prohaska
f3acf3d40d
fix the benchmark-test running out of vm space when running with large values
...
(--valsize 1024).
git-svn-id: file:///svn/tokudb@493 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-18 17:16:35 +00:00
Bradley C. Kuszmaul
407fb25431
Fix the hashit() problem
...
git-svn-id: file:///svn/tokudb@491 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 22:10:47 +00:00
Rich Prohaska
9d233260a2
add keysize and valsize
...
git-svn-id: file:///svn/tokudb@489 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 19:35:06 +00:00
Bradley C. Kuszmaul
c2227cb654
Be sure to set dirty bit in header
...
git-svn-id: file:///svn/tokudb@484 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 13:39:08 +00:00
Bradley C. Kuszmaul
2905012406
Don't allocate a megabyte on the stack
...
git-svn-id: file:///svn/tokudb@472 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-16 21:02:53 +00:00
Rich Prohaska
9fefe9b291
tighten up the mempool assertions
...
git-svn-id: file:///svn/tokudb@469 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-16 14:18:02 +00:00
Rich Prohaska
19b53adace
add --nodesize cmd line parameter
...
git-svn-id: file:///svn/tokudb@467 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 21:12:08 +00:00
Bradley C. Kuszmaul
39c9fc29c4
Logging
...
git-svn-id: file:///svn/tokudb@462 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 03:32:32 +00:00
Bradley C. Kuszmaul
88f31dfa36
wbuf can log a fileid
...
git-svn-id: file:///svn/tokudb@460 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 02:06:19 +00:00
Rich Prohaska
11bf6c52f2
mempoll testing
...
git-svn-id: file:///svn/tokudb@444 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-12 23:50:05 +00:00
Rich Prohaska
c69bbcf7ff
pma uses a memory pool
...
git-svn-id: file:///svn/tokudb@436 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 19:33:31 +00:00
Rich Prohaska
a2dcdeeefd
add kv_pair_size
...
git-svn-id: file:///svn/tokudb@435 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 19:20:08 +00:00
Yoni Fogel
016237bfee
OSX port
...
git-svn-id: file:///svn/tokudb@434 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 17:41:01 +00:00
Rich Prohaska
cba20ee708
dynamically resize the cache table
...
git-svn-id: file:///svn/tokudb@397 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-05 14:46:49 +00:00
Rich Prohaska
80bb78fd34
propagate app_private through cursors
...
git-svn-id: file:///svn/tokudb@392 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 15:23:41 +00:00
Rich Prohaska
01b38bdbdf
test app_private with cursors
...
git-svn-id: file:///svn/tokudb@391 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 14:41:12 +00:00
Bradley C. Kuszmaul
d4f76b0aa5
Put the parent pointers into every brtnode
...
git-svn-id: file:///svn/tokudb@388 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-03 19:34:31 +00:00
Rich Prohaska
a3d55db0fb
make sure the db parameter is passed to the user's key compare function
...
when using cursors
git-svn-id: file:///svn/tokudb@385 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-03 14:51:23 +00:00
Rich Prohaska
57f9ebe655
make O2 the default
...
git-svn-id: file:///svn/tokudb@384 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 19:21:06 +00:00
Rich Prohaska
99432c5d00
some commands are expected to fail (like a delete of a non-existent key)
...
propagate the error code back the call stack
git-svn-id: file:///svn/tokudb@383 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 19:19:44 +00:00
Rich Prohaska
3def1beae1
push commands down to in memory nodes
...
git-svn-id: file:///svn/tokudb@382 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 16:17:44 +00:00
Bradley C. Kuszmaul
cf23a48aa8
Get rid of #if 0 code
...
git-svn-id: file:///svn/tokudb@378 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 14:33:59 +00:00
Bradley C. Kuszmaul
578218bdfc
Minor comment changes
...
git-svn-id: file:///svn/tokudb@377 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 14:14:24 +00:00
Bradley C. Kuszmaul
35404cb2eb
Get db-benchmark-test to run with transactions
...
git-svn-id: file:///svn/tokudb@376 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-01 21:19:53 +00:00
Bradley C. Kuszmaul
7540c0468f
Add transactions to benchmark test
...
git-svn-id: file:///svn/tokudb@374 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-01 19:55:37 +00:00
Bradley C. Kuszmaul
710cf343a3
Merge logging
...
git-svn-id: file:///svn/tokudb@371 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-28 17:11:22 +00:00
Rich Prohaska
04a16870ac
add debug prints in the new cachetable
...
git-svn-id: file:///svn/tokudb@340 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-22 15:30:29 +00:00
Rich Prohaska
9f2640a717
fix compile time error on amd64
...
git-svn-id: file:///svn/tokudb@335 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 18:34:34 +00:00
Rich Prohaska
b0e3bdca20
change the cache table to act on the size of the objects rather than the number of objects stored in it
...
note that when the object size is 1, the cache table acts on the number of objects as before.
change the tree algorithms to update the object size in the cache table when the object is unpinned.
git-svn-id: file:///svn/tokudb@334 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 17:55:49 +00:00
Yoni Fogel
2a03817245
ported to gcc 4.2 for Mac os
...
git-svn-id: file:///svn/tokudb@323 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-19 17:35:16 +00:00
Yoni Fogel
5946e5bf1f
Port to Mac OS
...
git-svn-id: file:///svn/tokudb@321 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-18 21:32:32 +00:00
Rich Prohaska
83407ae6bf
Add a dirty bit to the BRT node object. This bit is set by code
...
that modifies the state of a BRT node object. A node is unpinned with
its dirty bit passed to the cache table.
git-svn-id: file:///svn/tokudb@316 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-18 16:09:55 +00:00
Rich Prohaska
5cd0b9c759
update the clean target
...
git-svn-id: file:///svn/tokudb@315 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-17 17:36:52 +00:00
Rich Prohaska
e1df3c2935
_put sets dirty=1, get_and_pin sets dirty=0 for fetched items
...
git-svn-id: file:///svn/tokudb@314 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-17 16:23:05 +00:00
Rich Prohaska
4564dd3b9a
brt cursor get both feature
...
git-svn-id: file:///svn/tokudb@301 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 20:30:36 +00:00
Bradley C. Kuszmaul
cbc53004b7
64-bit portability for cachetable-test2
...
git-svn-id: file:///svn/tokudb@299 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 18:22:46 +00:00
Bradley C. Kuszmaul
2f66d9a1c7
Fix the serialize-test: It was doing read then write, instead of write then read
...
git-svn-id: file:///svn/tokudb@298 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 18:19:20 +00:00
Bradley C. Kuszmaul
7201ffd9e0
Improve cachetable testing
...
git-svn-id: file:///svn/tokudb@297 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 18:12:31 +00:00
Rich Prohaska
7077a1f50f
add multiple cursor tree walk test
...
git-svn-id: file:///svn/tokudb@296 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 21:34:32 +00:00
Rich Prohaska
204f68ed3f
implement delete under brt cursor
...
git-svn-id: file:///svn/tokudb@291 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 18:32:10 +00:00
Rich Prohaska
f5be7117b5
brt cursor set and set range features
...
git-svn-id: file:///svn/tokudb@290 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 16:30:58 +00:00
Rich Prohaska
c71ab0c05c
fix the cursor first last deleted pair problem
...
git-svn-id: file:///svn/tokudb@288 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 14:53:21 +00:00
Rich Prohaska
7ac29707b1
cursor set key and set range
...
git-svn-id: file:///svn/tokudb@284 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-10 17:53:30 +00:00
Rich Prohaska
765ea049fd
add brt cursor prev feature and test cases
...
git-svn-id: file:///svn/tokudb@282 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-07 20:25:54 +00:00
Rich Prohaska
d2858adb09
name change
...
git-svn-id: file:///svn/tokudb@281 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-07 13:51:47 +00:00
Rich Prohaska
5bbddb61f5
change test name to already_there
...
git-svn-id: file:///svn/tokudb@280 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-07 13:34:17 +00:00
Rich Prohaska
c10712dee6
Change to implement delete by key. A BRT_DELETE command is injected into the
...
tree. It replaces any INSERT or DELETE command with the same key at all
interior nodes. It is translated into a PMA delete operation at a leaf
node.
The database file format was changed for the contents of interior node
buffers to include a 1 byte type field. There are currently 2 types:
BRT_INSERT and BRT_DELETE.
git-svn-id: file:///svn/tokudb@278 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-06 21:36:45 +00:00