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
0c74e90477
set_lk_max_locks already added to the c++ interface. delete the extra junk. close #230
...
git-svn-id: file:///svn/tokudb@2468 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 18:30:44 +00:00
Rich Prohaska
1c7ca178d2
brt assert dupsort in handle_split_of_child. address #442
...
git-svn-id: file:///svn/tokudb@2450 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-28 13:14:50 +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
Yoni Fogel
191578ef51
Port to Leopard
...
git-svn-id: file:///svn/tokudb@2442 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 21:02:31 +00:00
Yoni Fogel
e840d0a620
Modification of makefiles
...
git-svn-id: file:///svn/tokudb@2440 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 20:18:49 +00:00
Bradley C. Kuszmaul
ea663c9716
Fancy concurrent aborts and commits. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@2439 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 19:24:24 +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
Rich Prohaska
c6aade3b31
txn_abort does not abort. address #448
...
git-svn-id: file:///svn/tokudb@2411 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 01:56:46 +00:00
Bradley C. Kuszmaul
8fc142a8bb
A little noise in the output. Addresses #446 .
...
git-svn-id: file:///svn/tokudb@2410 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:35:19 +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
4ed90cab5c
Get rid of fmemopen. Fixes #446 .
...
git-svn-id: file:///svn/tokudb@2408 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:27:21 +00:00
Bradley C. Kuszmaul
5f07bbf716
Make the test_error more comprehensive. Addresses #445 .
...
git-svn-id: file:///svn/tokudb@2407 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:11:26 +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
0f9406a2a1
get it working on bdb address #431
...
git-svn-id: file:///svn/tokudb@2379 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-22 14:59:19 +00:00
Rich Prohaska
d63430669a
get it working on bdb. address #431
...
git-svn-id: file:///svn/tokudb@2373 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-22 01:57:00 +00:00
Rich Prohaska
7be71bc300
test case for crashing transaction abort. address #431
...
git-svn-id: file:///svn/tokudb@2371 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-21 20:44:06 +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
Yoni Fogel
7d10c62a35
Valgrind reported branches based on uninitialised variables.
...
Fixed test_00010_parameter_errors.c
git-svn-id: file:///svn/tokudb@2360 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-20 18:18:43 +00:00
Rich Prohaska
f2c9219a7d
remove untested code waiting for a test
...
git-svn-id: file:///svn/tokudb@2351 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-19 20:27:16 +00:00
Rich Prohaska
0ee2e509ed
close #425
...
git-svn-id: file:///svn/tokudb@2349 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-19 15:33:05 +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
Vincenzo Liberatore
1ac1d0171b
Fixes compilation problems on Debian due to -Wunreachable-code -Werror combination
...
git-svn-id: file:///svn/tokudb@2336 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-18 20:43:20 +00:00
Yoni Fogel
b4e57469ef
Lock tree, range tree documentation.
...
git-svn-id: file:///svn/tokudb@2331 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-18 19:42:49 +00:00
Yoni Fogel
5fc172b7aa
White space changes
...
git-svn-id: file:///svn/tokudb@2330 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-18 19:42:28 +00:00
Rich Prohaska
9cfbaf9457
cleanup the test case address #408
...
git-svn-id: file:///svn/tokudb@2317 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-16 14:14:24 +00:00
Vincenzo Liberatore
7a94b49f96
Addresses #378
...
Restore comments in lock tree.
git-svn-id: file:///svn/tokudb@2310 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 21:41:59 +00:00
Vincenzo Liberatore
10dbfb42eb
Addresses #378
...
Refactored error handling to work with C++ API.
Modify Makefile to avoid repeating all tests.
git-svn-id: file:///svn/tokudb@2309 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 21:38:14 +00:00
Vincenzo Liberatore
97e1ef272f
Addresses #378
...
Propagate refactored error handling to C++ API.
git-svn-id: file:///svn/tokudb@2308 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 21:36:19 +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
Vincenzo Liberatore
273b4aadee
Addresses #378
...
Port Makefile to OSX. Reduce non-verbose output. Added completion echo for targets.
git-svn-id: file:///svn/tokudb@2306 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 15:24:20 +00:00
Vincenzo Liberatore
174a2aa740
Addresses #378
...
Adds new functions for ephemeral locking and error handling.
git-svn-id: file:///svn/tokudb@2296 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-14 22:23:31 +00:00
Vincenzo Liberatore
fa846cf729
Addresses #378
...
Separates out error handling and ephemeral locking.
However, it fails a few tests.
git-svn-id: file:///svn/tokudb@2295 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-14 22:22: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
2f26a8b6a0
get test_error to build on linux
...
git-svn-id: file:///svn/tokudb@2293 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-14 18:56:42 +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
5ffe45a763
Closes #348
...
Partial implementation of nested transactions for locking purposes.
The actual txn (child/grandchild/etc) does all the work,
but for locking purposes we only use the parent (oldest ancestor).
This should work as expected (with possibly some extra lock overhead)
as long as no node has two active (non-aborted non-committed) children
simultaneously.
If a node has two children, they are supposed to be able to conflict
with each other (and deadlock/etc). We are not providing this
conflict behavior between siblings.
We do support arbitrarily deep nested txns, so long as it is
a linked list instead of a general tree.
git-svn-id: file:///svn/tokudb@2284 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-13 15:22:58 +00:00
Yoni Fogel
1c9d206f89
Locking code that is difficult to get working in bdb.
...
git-svn-id: file:///svn/tokudb@2283 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-13 15:00:13 +00:00
Vincenzo Liberatore
25d340f106
Addresses #311
...
Completes the documentation of locktree.
git-svn-id: file:///svn/tokudb@2282 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-13 14:53:41 +00:00
Vincenzo Liberatore
56b15cd8c6
Addresses #350
...
Tests on more c_get flags ...
git-svn-id: file:///svn/tokudb@2275 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-12 22:45:46 +00:00
Vincenzo Liberatore
e1b999bec5
Addresses #311
...
Adds more documentation to locktree
git-svn-id: file:///svn/tokudb@2270 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-12 21:45:55 +00:00