Bradley C. Kuszmaul
68e8036c75
Make recovery work when called from {{{DB_ENV->open}}}. Fixes #483 .
...
git-svn-id: file:///svn/tokudb@2768 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 19:40:38 +00:00
Yoni Fogel
2471b8e7fe
Removed warnings
...
git-svn-id: file:///svn/tokudb@2767 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 18:37:29 +00:00
Bradley C. Kuszmaul
0f29f9abe7
Group commit working in tokulogger. Need to release some locks in ydb. Addresses #484 .
...
git-svn-id: file:///svn/tokudb@2763 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:55:11 +00:00
Yoni Fogel
ee2351986d
Removed warnings.
...
git-svn-id: file:///svn/tokudb@2762 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:48:54 +00:00
Yoni Fogel
7299745f97
Removed warnings.
...
git-svn-id: file:///svn/tokudb@2761 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:48:24 +00:00
Bradley C. Kuszmaul
7c4eabe86f
Create log-test5.c
...
git-svn-id: file:///svn/tokudb@2743 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 19:55:04 +00:00
Bradley C. Kuszmaul
e672f87aa9
Add log-test4.c. Addresses #484 .
...
git-svn-id: file:///svn/tokudb@2742 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:58:36 +00:00
Bradley C. Kuszmaul
7469a733d2
Create log-test3.c
...
git-svn-id: file:///svn/tokudb@2741 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:55:42 +00:00
Bradley C. Kuszmaul
92b5b72fe8
Update log-test to work better and test some logging as unit tests. Addresses #484 .
...
git-svn-id: file:///svn/tokudb@2740 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:51:36 +00:00
Bradley C. Kuszmaul
c7461dd3a9
Update log-test to work better and test some logging as unit tests. Addresses #484 .
...
git-svn-id: file:///svn/tokudb@2739 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:51:26 +00:00
Bradley C. Kuszmaul
30689f39e8
Add log-test to the regression tests
...
git-svn-id: file:///svn/tokudb@2733 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:23:14 +00:00
Bradley C. Kuszmaul
7997c793d1
Implement {{{db_env_set_func_fsync}}} and write a test that can discern the use of group commit. Fixes #499 , #496 .
...
git-svn-id: file:///svn/tokudb@2655 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-09 02:39:37 +00:00
Bradley C. Kuszmaul
04a61d98d5
set_lg_max is ipmlemented, tested, and documented. Fixes #79 .
...
git-svn-id: file:///svn/tokudb@2645 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 13:02:32 +00:00
Bradley C. Kuszmaul
33805e6f99
Generate many logs the way it is supposed to. 100MB files. Fixes #485 .
...
git-svn-id: file:///svn/tokudb@2620 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 19:23:43 +00:00
Bradley C. Kuszmaul
e037aa5cae
Get DUPSORT dbs with logging to work without assertion failures. Recovery stlll is broken, however. Addresses #482 . Fixes #442 .
...
git-svn-id: file:///svn/tokudb@2602 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 02:06:15 +00:00
Bradley C. Kuszmaul
34c9448871
brt2 work. Addresses #472 .
...
git-svn-id: file:///svn/tokudb@2601 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 23:38:26 +00:00
Bradley C. Kuszmaul
520a93a3e6
off-end-of-memory error found by valgrind. Addresses #126
...
git-svn-id: file:///svn/tokudb@2599 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 22:48:07 +00:00
Bradley C. Kuszmaul
fad4cf7bbe
Get rid of 'time' in newbrt tests.
...
git-svn-id: file:///svn/tokudb@2597 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 22:01:21 +00:00
Bradley C. Kuszmaul
241c5392df
Break up brt-test some more. Addresses #475 . Also make the fanout flexible. Fixes #126 .
...
git-svn-id: file:///svn/tokudb@2593 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 21:46:57 +00:00
Bradley C. Kuszmaul
25cb6d4b0b
Break out test4 from brt-test. brt-test runs in 13 seconds, brt-test4 in 9 seconds, brt-test-cursor in 4 seconds, so we have halved the critical path. Fixes #475 .
...
git-svn-id: file:///svn/tokudb@2581 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 16:35:18 +00:00
Bradley C. Kuszmaul
771c48e963
Split off brt-test-cursor. Parallelizes about 10% of the brt-test. Addresses #475 .
...
git-svn-id: file:///svn/tokudb@2580 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 16:28:30 +00:00
Bradley C. Kuszmaul
5c52e7c64a
Separate some of the test helpers from brt.c to brt-test-helpers.c. Addresses #472 .
...
git-svn-id: file:///svn/tokudb@2556 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 18:34:32 +00:00
Bradley C. Kuszmaul
4e04fed3e6
Reduce symbol visibility. Fixes #467 .
...
git-svn-id: file:///svn/tokudb@2541 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 11:54:58 +00:00
Bradley C. Kuszmaul
a29e5b60d6
I had broken the compile. Fixed. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2540 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 09:52:35 +00:00
Rich Prohaska
759f3785a8
malloc temps in the deserialize_from function to fit within the mysql thread stack. close #464
...
git-svn-id: file:///svn/tokudb@2526 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-04 21:31:01 +00:00
Rich Prohaska
7d6663e214
malloc temps in smooth region to fit within the mysql thread stack. close #441
...
git-svn-id: file:///svn/tokudb@2525 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-04 21:27:15 +00:00
Bradley C. Kuszmaul
0b5e897d27
brt2 work
...
git-svn-id: file:///svn/tokudb@2516 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-03 23:24:04 +00:00
Bradley C. Kuszmaul
7ebf6bf352
Logging improvements. Mostly fixes #27 . Addresses #455 , #27 .
...
git-svn-id: file:///svn/tokudb@2471 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 20:47:11 +00:00
Rich Prohaska
4e40b47bb0
restore O2
...
git-svn-id: file:///svn/tokudb@2449 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-28 12:37:19 +00:00
Bradley C. Kuszmaul
56f7445fff
One of the tests found a bug in the logging. (Logged key twice instead of key,data pair). Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2438 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 19:23:40 +00:00
Bradley C. Kuszmaul
957b081486
delete aborts work right now. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2437 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 15:58:10 +00:00
Bradley C. Kuszmaul
dd4a6feabe
Improvements to rollback. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2435 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 11:05:19 +00:00
Bradley C. Kuszmaul
cb204011d6
Improvements to rollback. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2434 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 09:05:58 +00:00
Bradley C. Kuszmaul
b0e3bf13ba
halfway broken rollback for delete. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2431 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 07:14:03 +00:00
Bradley C. Kuszmaul
6105ff5838
Rollback during abort. Fixes #448 .
...
git-svn-id: file:///svn/tokudb@2423 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 17:47:40 +00:00
Bradley C. Kuszmaul
fe98679a2a
Forgot to commit something. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2422 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 15:54:14 +00:00
Bradley C. Kuszmaul
2eaeb874ed
Separate the code for generating rollbacks and recover log entries. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2420 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 15:51:15 +00:00
Rich Prohaska
d68e94a52e
fix the extra node ref. address #431
...
git-svn-id: file:///svn/tokudb@2416 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 12:17:22 +00:00
Bradley C. Kuszmaul
461f9e0010
Typo. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2409 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:28:49 +00:00
Bradley C. Kuszmaul
712fcc5da1
Many things:
...
Make txn->abort work without bombing out for {{{test_txn_abort5}}} one case. Fixes #431 .
Start writing {{{test_txn_abort6}}}. Addresses #443 .
Try to write a test for #399 and #400 , but haven't managed to reproduce the problem. Addresses #399 , #400 .
Write a test for #332 . Addresses #332 .
git-svn-id: file:///svn/tokudb@2406 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 22:46:48 +00:00
Rich Prohaska
aa359efbe5
don't sign extend the unprintables
...
git-svn-id: file:///svn/tokudb@2370 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-21 20:14:06 +00:00
Rich Prohaska
f29f26f2fd
close #429
...
git-svn-id: file:///svn/tokudb@2368 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-21 14:32:58 +00:00
Rich Prohaska
bca10bc03a
fix the test_db_txn_lock test. close #422
...
git-svn-id: file:///svn/tokudb@2343 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-19 12:46:49 +00:00
Rich Prohaska
4565645290
turn assert into an error return. close #407
...
git-svn-id: file:///svn/tokudb@2307 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 19:44:48 +00:00
Bradley C. Kuszmaul
a1dfeebb13
Rollback is working a little better. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2294 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-14 19:23:25 +00:00
Rich Prohaska
c88948e8ca
fix for crash at netapp. addresses #399
...
git-svn-id: file:///svn/tokudb@2285 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-14 00:02:59 +00:00
Yoni Fogel
44894c394a
Addresses #368
...
Deals with NULL transactions in an INIT_TXN environment.
Does not deal with NULL txn cursors yet.
Also adds DB_AUTO_COMMIT
git-svn-id: file:///svn/tokudb@2252 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-11 20:00:19 +00:00
Yoni Fogel
75b96f85ab
brt_cursor_not_set made not static so
...
we can use it in toku_c_get.
git-svn-id: file:///svn/tokudb@2249 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-11 16:29:58 +00:00
Rich Prohaska
05c5502b7d
fix namespace pollution
...
git-svn-id: file:///svn/tokudb@2248 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-11 15:27:15 +00:00
Rich Prohaska
03256cb5ab
fix the DB_NEXT_DUP code. close #376
...
git-svn-id: file:///svn/tokudb@2241 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-10 20:27:41 +00:00