Bradley C. Kuszmaul
2cbb1dbad0
On sync, if there is a parent, put the rollback info into the parent. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2200 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-08 20:03:53 +00:00
Bradley C. Kuszmaul
d9f3060f83
Rework the way transactions ids are used in the log (xid's on messages are used when inserting something into a leaf.) Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2199 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-08 19:54:00 +00:00
Rich Prohaska
a0f0e6d203
avoid performance collapse using db-benchmark-test. closes #340
...
git-svn-id: file:///svn/tokudb@2194 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-08 18:44:50 +00:00
Bradley C. Kuszmaul
09a3da9a49
Make all.recover work again. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2168 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-08 04:34:12 +00:00
Bradley C. Kuszmaul
4abb5ba31d
Use toku_assert instead of assert. Addresses #354 .
...
git-svn-id: file:///svn/tokudb@2167 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-08 03:17:38 +00:00
Bradley C. Kuszmaul
603884a156
Create {{{toku_assert}}} ( Fixes #354 ). Make the primes test actually work ( Fixes #355 ). Addresses #277 .
...
git-svn-id: file:///svn/tokudb@2153 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 16:35:39 +00:00
Rich Prohaska
393dc9799e
fix the build. ydb does not belong in newbrt.
...
git-svn-id: file:///svn/tokudb@2141 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 01:26:35 +00:00
Yoni Fogel
f48cbb7f3a
PRId64 error fixed
...
git-svn-id: file:///svn/tokudb@2138 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-06 20:09:23 +00:00
Bradley C. Kuszmaul
fe11eae49a
Try to recover with deletes. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2133 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-06 19:28:01 +00:00
Bradley C. Kuszmaul
e76cdc2b0a
Delete command must be duplicated. Fixes #201 .
...
git-svn-id: file:///svn/tokudb@2132 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-06 19:27:25 +00:00
Rich Prohaska
d778463602
set -O2. fix 64bit build
...
git-svn-id: file:///svn/tokudb@2107 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-06 01:55:16 +00:00
Yoni Fogel
3cdb56594f
Addresses #293 Addresses #307
...
A compiler directive to make compilation sweeter
git-svn-id: file:///svn/tokudb@2105 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 22:30:01 +00:00
Bradley C. Kuszmaul
eeaef7284a
Add XID (Addresses #242 ), and also fix the problem where deletes were sneaking around inserts (Fixes #332.)
...
git-svn-id: file:///svn/tokudb@2098 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 18:25:23 +00:00
Bradley C. Kuszmaul
016a5b8fea
Change BRT_CMD to be a pointer instead (struct brt_cmd *) instead of a struct (struct brt_cmd). Addresses #242 .
...
git-svn-id: file:///svn/tokudb@2072 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-04 15:04:22 +00:00
Rich Prohaska
d6249b2679
implement DB_CURRENT_BINDING, an operation that returns the current cursor kv binding even if deleted. closes #274
...
git-svn-id: file:///svn/tokudb@2063 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-03 18:26:01 +00:00
Rich Prohaska
ecf22e0ff9
put the pma cursor in its own .h file
...
git-svn-id: file:///svn/tokudb@2033 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-01 19:00:12 +00:00
Yoni Fogel
4889847a39
Minor modifications to remove some warnings.
...
git-svn-id: file:///svn/tokudb@2032 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-01 18:47:40 +00:00
Yoni Fogel
401c82a7c7
Explicitly cast val.len
...
to size_t (unsigned) to remove a warning.
git-svn-id: file:///svn/tokudb@2014 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-01 13:47:22 +00:00
Rich Prohaska
6dbdfb836c
addresses #126
...
git-svn-id: file:///svn/tokudb@2006 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-01 01:38:11 +00:00
Bradley C. Kuszmaul
885e0bbb2e
Put all the child info into one struct. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@2002 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 22:05:43 +00:00
Rich Prohaska
9ab36d5f25
get brt-test working or fix the nonleaf_split fifo_init bug
...
git-svn-id: file:///svn/tokudb@1989 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 14:58:14 +00:00
Bradley C. Kuszmaul
3266e6d20c
db-benchmark-test now recovers OK. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1988 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 14:52:52 +00:00
Rich Prohaska
40bf7ef8b2
assert test for brt-test crash
...
git-svn-id: file:///svn/tokudb@1985 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 13:40:47 +00:00
Bradley C. Kuszmaul
dfa900f962
Get rid of broken printfs. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1984 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 13:31:45 +00:00
Bradley C. Kuszmaul
a615e968d0
A tool for only printing the first few columns
...
git-svn-id: file:///svn/tokudb@1983 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 13:03:35 +00:00
Bradley C. Kuszmaul
1dc9085fab
Improve logging on node splits. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1970 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 21:23:01 +00:00
Yoni Fogel
bd6fdd9c74
Modified %ld to %"PRIu64" as necessary to keep output
...
portable.
git-svn-id: file:///svn/tokudb@1952 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 02:59:32 +00:00
Bradley C. Kuszmaul
fa5638a0f8
Improving logging for db-benchmark-test. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1951 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-29 21:43:08 +00:00
Rich Prohaska
a5a62d6696
txn parameter added to some brt functions. closes #316
...
git-svn-id: file:///svn/tokudb@1941 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 20:49:10 +00:00
Rich Prohaska
cbc159bf72
add the txn parameter to the brt_search function. addresses #316
...
git-svn-id: file:///svn/tokudb@1940 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 18:39:57 +00:00
Rich Prohaska
383ea0be18
update documentation. addresses #202
...
git-svn-id: file:///svn/tokudb@1926 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 13:45:27 +00:00
Rich Prohaska
f1f9661f2a
remove cursor count from the brt node. closes #310
...
git-svn-id: file:///svn/tokudb@1914 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 23:11:38 +00:00
Rich Prohaska
9cb1ee5864
verify the pma split key. addresses #277
...
git-svn-id: file:///svn/tokudb@1913 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 22:59:08 +00:00
Rich Prohaska
c4b38c11d0
add pma set_position_prev tests. addresses #250
...
git-svn-id: file:///svn/tokudb@1908 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 19:20:47 +00:00
Rich Prohaska
27ed10b68e
turn the O2 flag back on
...
git-svn-id: file:///svn/tokudb@1902 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 12:52:56 +00:00
Rich Prohaska
9b89cd9c63
more testing of the pma search function. addresses #250
...
git-svn-id: file:///svn/tokudb@1894 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 22:12:02 +00:00
Bradley C. Kuszmaul
1ee574216a
start making db-benchmark-test recoverable. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1893 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 21:50:07 +00:00
Rich Prohaska
f1efa7b9a3
simplify the pma (remove the pma cursors and the deleted bit). closes #250
...
git-svn-id: file:///svn/tokudb@1891 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 20:44:16 +00:00
Rich Prohaska
fd7d31062a
2nd cut of new cursors merge to trunk. addresses #250
...
git-svn-id: file:///svn/tokudb@1882 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:44:49 +00:00
Rich Prohaska
d2d80add96
first cut or new cursors merge to trunk. addresses #250
...
git-svn-id: file:///svn/tokudb@1881 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:43:37 +00:00
Rich Prohaska
ee0bfdf548
fix 32 bit linux build. closes #297
...
git-svn-id: file:///svn/tokudb@1856 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 20:31:16 +00:00
Bradley C. Kuszmaul
9fe0391206
Add copyright 2008. Fixes #283 .
...
git-svn-id: file:///svn/tokudb@1844 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 15:10:32 +00:00
Bradley C. Kuszmaul
fc5314ec6d
Make the LSN be properly defined in the in-memory logentry so rollback will work right. Fixes #304 .
...
git-svn-id: file:///svn/tokudb@1843 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 15:02:46 +00:00
Bradley C. Kuszmaul
970234a759
Fix db-benchmark-test. Fixes #300 .
...
git-svn-id: file:///svn/tokudb@1841 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 13:51:34 +00:00
Bradley C. Kuszmaul
271137c959
test_log5 recovers correctly now. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1826 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 19:44:13 +00:00
Yoni Fogel
16a9e6592b
Closes #297
...
toku_malloc/calloc/realloc/memdup now use size_t instead of
nonportable int types.
git-svn-id: file:///svn/tokudb@1823 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 18:35:54 +00:00
Bradley C. Kuszmaul
28428074a1
Log the pivots correctly. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1822 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 18:29:06 +00:00
Bradley C. Kuszmaul
407c0ebebf
Log the fingerprints correctly. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1820 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 18:06:23 +00:00
Bradley C. Kuszmaul
e4b5463050
Make the dumper print more (maybe all stuff)
...
git-svn-id: file:///svn/tokudb@1803 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 19:30:02 +00:00
Bradley C. Kuszmaul
156d6520e8
Make benchmark-test a little quieter by default, and make -v make it a little louder again. Addresses #13 .
...
git-svn-id: file:///svn/tokudb@1800 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 18:37:07 +00:00