Commit graph

236 commits

Author SHA1 Message Date
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
Bradley C. Kuszmaul
2b08ea8e49 Example program with subcommits
git-svn-id: file:///svn/tokudb@495 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-18 18:11:17 +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
Yoni Fogel
83d94d2718 Commented out some portions of db_load/dump
that are not yet compatible with tokudb.

Provided a fix for tokudb bug 43.

git-svn-id: file:///svn/tokudb@480 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 01:54:47 +00:00
Yoni Fogel
2f28e2b7d6 db_load/gen/dump project done until tokudb.bugs issues are worked on.
git-svn-id: file:///svn/tokudb@479 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 01:24:30 +00:00
Bradley C. Kuszmaul
d03278aae1 If the txn is null, don't derefence it
git-svn-id: file:///svn/tokudb@473 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-16 21:03:43 +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
4d4eaec017 Must add ydb-internal.h
git-svn-id: file:///svn/tokudb@463 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 03:32:41 +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
b9b6b279b3 Add stdio.h to db.h
git-svn-id: file:///svn/tokudb@461 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 02:08:49 +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
Bradley C. Kuszmaul
62d8cb7fb2 Add verify
git-svn-id: file:///svn/tokudb@458 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:58:01 +00:00
Bradley C. Kuszmaul
5f5d398846 Run 64-bit for verify
git-svn-id: file:///svn/tokudb@457 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:56:04 +00:00
Bradley C. Kuszmaul
b5bb270c3c Add verify
git-svn-id: file:///svn/tokudb@456 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:55:07 +00:00
Bradley C. Kuszmaul
e8539c2945 Add db_version
git-svn-id: file:///svn/tokudb@453 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 14:07:21 +00:00
Bradley C. Kuszmaul
5a6ad716e0 add db_version
git-svn-id: file:///svn/tokudb@452 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 14:04:10 +00:00
Bradley C. Kuszmaul
e7ab3b8987 Put in a db.h that corresponds to bdb
git-svn-id: file:///svn/tokudb@451 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 13:56:36 +00:00
Bradley C. Kuszmaul
2b1804bc3d Deal with version numbers
git-svn-id: file:///svn/tokudb@450 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 13:56:25 +00:00
Bradley C. Kuszmaul
dbb558673d Save 64-bit samples
git-svn-id: file:///svn/tokudb@449 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:47:57 +00:00
Bradley C. Kuszmaul
32c7ffb7d4 Make a clean rule
git-svn-id: file:///svn/tokudb@448 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:47:32 +00:00
Bradley C. Kuszmaul
d5c992abde Fix include
git-svn-id: file:///svn/tokudb@447 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:45:44 +00:00
Bradley C. Kuszmaul
1348ca7937 Save new sample offsets
git-svn-id: file:///svn/tokudb@446 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:40:03 +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
Yoni Fogel
e215a35f09 Preliminary db_dump.
Ouputs without transactions, does not dump a header.

git-svn-id: file:///svn/tokudb@441 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 18:01:43 +00:00
Yoni Fogel
1955c4d541 Makefile modified to support OSX via make OSX=OSX
git-svn-id: file:///svn/tokudb@440 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 16:42:22 +00:00
Yoni Fogel
dc4f6e5fe2 Modifications to be compatible with tokudb
git-svn-id: file:///svn/tokudb@439 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 16:39:46 +00:00
Bradley C. Kuszmaul
dfba18cee6 Fixup
git-svn-id: file:///svn/tokudb@438 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 12:55:26 +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
Yoni Fogel
2986216c99 All malloced memory is freed before quitting.
git-svn-id: file:///svn/tokudb@432 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 17:05:31 +00:00
Bradley C. Kuszmaul
ada8d57b8c Up
git-svn-id: file:///svn/tokudb@427 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:24:25 +00:00
Bradley C. Kuszmaul
5acc0020b8 Update db.h
git-svn-id: file:///svn/tokudb@426 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:03:34 +00:00
Bradley C. Kuszmaul
6e4b1a5ab3 Update
git-svn-id: file:///svn/tokudb@425 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:03:24 +00:00
Bradley C. Kuszmaul
e8433e6d55 Fixup
git-svn-id: file:///svn/tokudb@424 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:02:25 +00:00
Bradley C. Kuszmaul
02ae6e1918 Fixup
git-svn-id: file:///svn/tokudb@423 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:00:34 +00:00
Bradley C. Kuszmaul
0f8dc9a04d Run 64
git-svn-id: file:///svn/tokudb@422 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 21:50:41 +00:00
Bradley C. Kuszmaul
675fe24587 Fix up the headers to be 4.3 compatible
git-svn-id: file:///svn/tokudb@421 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 21:48:48 +00:00
Yoni Fogel
3f2e1f88e2 db_load with initial test.
git-svn-id: file:///svn/tokudb@417 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 16:24:05 +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
Yoni Fogel
a5ac066308 End of day, complete with comments
git-svn-id: file:///svn/tokudb@395 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 19:53:14 +00:00
Yoni Fogel
50bd83f274 tokudb.load with most functionality, still untested.
git-svn-id: file:///svn/tokudb@394 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 17:38:27 +00:00
Yoni Fogel
10530b2fe0 Fixed some errors in the header
git-svn-id: file:///svn/tokudb@393 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 16:21:30 +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