Yoni Fogel
87ccce98b5
Addresses #307
...
More tests.
git-svn-id: file:///svn/tokudb@1890 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:18:18 +00:00
Rich Prohaska
cba0d393c3
test cursor prev_nodup. addresses #250
...
git-svn-id: file:///svn/tokudb@1889 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:10:29 +00:00
Rich Prohaska
994e349e38
fix the c++ exceptions test of cursor delete any. addresses #250
...
git-svn-id: file:///svn/tokudb@1888 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:09:44 +00:00
Rich Prohaska
6e4f8f8f8e
update the db.h copyrights. addresses #283
...
git-svn-id: file:///svn/tokudb@1887 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:00:41 +00:00
Rich Prohaska
9de9221a68
cursor get_both_range now works like BDB. closes #187
...
git-svn-id: file:///svn/tokudb@1886 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:57:10 +00:00
Yoni Fogel
955d6bbee6
Addresses #307
...
Bugfix in read test.
Initialized wrong values.
git-svn-id: file:///svn/tokudb@1885 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:53:25 +00:00
Rich Prohaska
19f96bf6bc
3rd cut of new cursors merge to trunk. addresses #250
...
git-svn-id: file:///svn/tokudb@1884 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:52:33 +00:00
Yoni Fogel
74d75d6df4
Addresses #293
...
Bugfixes in locktree. Copy the payload to the memory allocated for it
git-svn-id: file:///svn/tokudb@1883 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:46:22 +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
Yoni Fogel
ce8c74624f
Addresses #307
...
Addresses #293
Bugfixes in locktree, selfread must NOT allow overlaps.
git-svn-id: file:///svn/tokudb@1880 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:36:52 +00:00
Yoni Fogel
b19081a24a
Addresses #293
...
Added missing error checking code.
Rangewrite lock returns ENOSYS until/if ever it gets implemented.
git-svn-id: file:///svn/tokudb@1879 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:09:46 +00:00
Yoni Fogel
907ca3199f
Addresses #307
...
Fixed uninitialized variable bug in a test.
git-svn-id: file:///svn/tokudb@1878 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:08:13 +00:00
Yoni Fogel
e20a626426
Addresses #288
...
Fixed some bugs in find_range test.
git-svn-id: file:///svn/tokudb@1876 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:04:25 +00:00
Yoni Fogel
94100f82ea
Addresses #307
...
Added more parameter based tests
git-svn-id: file:///svn/tokudb@1875 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 14:57:10 +00:00
Yoni Fogel
80a723c9a6
Addresses #307
...
Added additional EINVAL/EDOM tests.
Modified createclose to help check for memory leak and more cases.
git-svn-id: file:///svn/tokudb@1865 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 02:28:46 +00:00
Yoni Fogel
fbcf218f51
Addresses #293
...
Added checks for left > right,
and added additional needed EINVAL checks.
git-svn-id: file:///svn/tokudb@1864 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 02:27:11 +00:00
Yoni Fogel
2154fc6bef
typo fix
...
git-svn-id: file:///svn/tokudb@1863 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 02:26:08 +00:00
Yoni Fogel
8a7e87a179
renamed file
...
git-svn-id: file:///svn/tokudb@1862 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 01:39:52 +00:00
Yoni Fogel
035eba1fe3
Addresses #307
...
Initial tests and makefile for lock tree.
git-svn-id: file:///svn/tokudb@1861 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 01:33:04 +00:00
Yoni Fogel
a1872a315f
addresses #293
...
Fixed an error in assertions
git-svn-id: file:///svn/tokudb@1860 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 01:31:30 +00:00
Yoni Fogel
e711fbada5
Modified header
...
git-svn-id: file:///svn/tokudb@1858 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 21:17:36 +00:00
Yoni Fogel
d24d0e3d04
Addresses #293
...
git-svn-id: file:///svn/tokudb@1857 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 21:17:19 +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
Yoni Fogel
98d31e20e4
Modified comment in header
...
git-svn-id: file:///svn/tokudb@1855 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 19:29:53 +00:00
Yoni Fogel
86fcd60f31
Addresses #293
...
Read lock appears to be finished for now.
git-svn-id: file:///svn/tokudb@1854 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 19:29:35 +00:00
Rich Prohaska
369da65117
add check target. addresses #299
...
git-svn-id: file:///svn/tokudb@1845 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 15:39:26 +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
Yoni Fogel
779e7f3fc4
Addresses #293
...
Checkpoint in lock tree implementation.
Write locks and point locks appear to be done,
bugs fixed in comparison function.
Need to do a bunch of worst case error handling still.
git-svn-id: file:///svn/tokudb@1830 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 01:00:40 +00:00
Yoni Fogel
0af793b40b
Addresses #293
...
Checkpoint in implementation.
Vincenzo left for the night.
git-svn-id: file:///svn/tokudb@1829 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 22:17:40 +00:00
Rich Prohaska
97620c5288
check default parameters and -x. addresses #299
...
git-svn-id: file:///svn/tokudb@1827 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 21:30:20 +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
2a2304f353
Addresses #284
...
Add accessor function for allow_overlaps in range trees.
git-svn-id: file:///svn/tokudb@1824 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 18:49:34 +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
Yoni Fogel
e5f752c311
Addresses #284
...
Added user malloc/free/realloc functions to the range tree.
git-svn-id: file:///svn/tokudb@1821 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 18:25:56 +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
Yoni Fogel
09bbe6ddd6
Addresses #293
...
Checkpoint in lock tree implementation
git-svn-id: file:///svn/tokudb@1806 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 21:46:59 +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
Vincenzo Liberatore
3c39874f91
Addresses 289
...
Added doxygen file and the generated doxygen documentation for range trees
git-svn-id: file:///svn/tokudb@1801 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 19:17:14 +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
Bradley C. Kuszmaul
51d865dceb
Log the distribute for a split in the other order. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1799 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 18:33:51 +00:00
Bradley C. Kuszmaul
015bc27f2f
Don't be wasteful when splitting brt leaves. Fixes #294 .
...
This makes big difference for space (46% smaller) and a small time difference (5% faster), as measured by benchmark-test.
Before:
{{{
$ ./benchmark-test
nodesize=1048576
keysize=8
valsize=8
Serial and random insertions of 1048576 per batch
serial 8.753964s 119783/s random 5.640094s 185915/s cumulative 14.394118s 145695/s
serial 9.381472s 111771/s random 7.325284s 143145/s cumulative 31.100944s 134861/s
serial 9.859233s 106355/s random 6.734307s 155707/s cumulative 47.694553s 131911/s
serial 11.069200s 94729/s random 6.885863s 152280/s cumulative 65.649695s 127778/s
Shutdown 4.636875s
Total time 70.286611s for 8388608 insertions = 119349/s
$ ls -l sinsert.brt
-rwxrwxr-x 1 bradley bradley 730344924 Jan 22 11:47 sinsert.brt
}}}
After:
{{{
$ ./benchmark-test
nodesize=1048576
keysize=8
valsize=8
Serial and random insertions of 1048576 per batch
serial 8.521855s 123046/s random 5.730942s 182967/s cumulative 14.252861s 147139/s
serial 9.106047s 115152/s random 7.001765s 149759/s cumulative 30.360740s 138149/s
serial 9.543696s 109871/s random 6.651000s 157657/s cumulative 46.555503s 135139/s
serial 10.627035s 98671/s random 6.555884s 159944/s cumulative 63.738491s 131610/s
Shutdown 2.818513s
Total time 66.557042s for 8388608 insertions = 126036/s
$ ls -l sinsert.brt
-rwxrwxr-x 1 bradley bradley 396894480 Jan 22 11:45 sinsert.brt
}}}
git-svn-id: file:///svn/tokudb@1798 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 16:27:54 +00:00
Rich Prohaska
c319506339
add DB_TXN_NOWAIT to fix builds
...
git-svn-id: file:///svn/tokudb@1796 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 15:42:54 +00:00
Rich Prohaska
989bdd3f7e
DB_LOCK_NOTGRANTED addresses #290
...
git-svn-id: file:///svn/tokudb@1787 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 01:21:28 +00:00
Yoni Fogel
85f4664359
Addresses #292
...
Addresses #293
Checkpoint in header and implementation of lock tree.
git-svn-id: file:///svn/tokudb@1786 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 00:35:06 +00:00
Yoni Fogel
c2fa081cae
Removed old version of lock tree
...
from ydb-internal.h
git-svn-id: file:///svn/tokudb@1785 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 00:32:56 +00:00
Yoni Fogel
6354d097d9
Addresses #284
...
Added comment about static buffers being fine if they are of sufficient size
i.e. for limited queries.
git-svn-id: file:///svn/tokudb@1784 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 00:32:10 +00:00