Bradley C. Kuszmaul
80154022be
The recovered file is exactly the same as the original file for test_log2.tdb.
...
(The wrong LSN was being saved in the file. The recovered version was right.)
Addresses #27 .
(Also, it was broken, and that appears to be fixed.)
git-svn-id: file:///svn/tokudb@730 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-24 03:50:28 +00:00
Bradley C. Kuszmaul
b6c9d1bcf3
src/tests are now quiet with a verbose option: "make VERBOSE=1" or "make VERBOSE=2". Addresses #13 .
...
git-svn-id: file:///svn/tokudb@729 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-24 03:09:59 +00:00
Bradley C. Kuszmaul
2a9b3b3d40
Recovery runs for test_log2's database. But the files are not quite the same. Addresses #27
...
git-svn-id: file:///svn/tokudb@728 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-23 20:36:03 +00:00
Bradley C. Kuszmaul
e17f972093
Implement recover. This version can scan the log, but doesn't actually recover. Addresses #27
...
git-svn-id: file:///svn/tokudb@727 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-23 18:27:50 +00:00
Bradley C. Kuszmaul
85336f49f3
Get rid of the manual commit code. Addresses #32
...
git-svn-id: file:///svn/tokudb@726 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-23 17:41:02 +00:00
Bradley C. Kuszmaul
e50a0fb140
New logformat code can now dump our base test. Addresses #11 .
...
git-svn-id: file:///svn/tokudb@725 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-23 17:16:26 +00:00
Bradley C. Kuszmaul
adba557e9f
logdump didn't understand the magic. Addresses #20 , #11
...
git-svn-id: file:///svn/tokudb@724 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-23 16:54:47 +00:00
Bradley C. Kuszmaul
ee171210b4
Fixed #20
...
git-svn-id: file:///svn/tokudb@720 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-23 02:51:45 +00:00
Bradley C. Kuszmaul
c6c1af847d
fopen dumps OK, brtheader fails. Addresses #11
...
git-svn-id: file:///svn/tokudb@719 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 21:11:21 +00:00
Bradley C. Kuszmaul
c61666c2c3
The new log code successfully parses and dumps an fcreate record. Addresses #11
...
git-svn-id: file:///svn/tokudb@718 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 20:39:18 +00:00
Bradley C. Kuszmaul
dca9cde561
The new log code actually manages to parse something
...
git-svn-id: file:///svn/tokudb@717 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 20:35:21 +00:00
Bradley C. Kuszmaul
a579c5958c
everything compiles and the tests still run.... Addresses #11
...
git-svn-id: file:///svn/tokudb@716 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 20:30:38 +00:00
Bradley C. Kuszmaul
23b50b671d
log_code.c compiles to log_code.o. Addresses #11
...
git-svn-id: file:///svn/tokudb@715 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 18:45:22 +00:00
Bradley C. Kuszmaul
3795a1c38f
log_code.c compiles (but lots of compiler warnings). Addresses #11
...
git-svn-id: file:///svn/tokudb@713 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 07:13:08 +00:00
Bradley C. Kuszmaul
ac01e9e825
More logformatting stuff. Addresses #11
...
git-svn-id: file:///svn/tokudb@712 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 06:46:00 +00:00
Bradley C. Kuszmaul
28d927af59
More logformatting stuff. Addresses #11
...
git-svn-id: file:///svn/tokudb@710 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 06:13:26 +00:00
Bradley C. Kuszmaul
12fd5638b2
Work on logformat
...
git-svn-id: file:///svn/tokudb@708 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 05:09:29 +00:00
Rich Prohaska
0d868bc7b4
close #17 dont put any DB_ flags in the tokudb header
...
git-svn-id: file:///svn/tokudb@707 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-22 01:05:00 +00:00
Bradley C. Kuszmaul
40912f3b88
logdump now understands newbrtnode. Addresses #11
...
git-svn-id: file:///svn/tokudb@706 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-21 21:41:57 +00:00
Bradley C. Kuszmaul
aab4d54f85
Log brtnode (but dumper cannot understand it yet.) Addresses #11
...
git-svn-id: file:///svn/tokudb@705 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-21 19:06:32 +00:00
Bradley C. Kuszmaul
9a1ed3c73b
Successful dump a header for a db file with no subdb
...
git-svn-id: file:///svn/tokudb@704 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-21 18:46:43 +00:00
Bradley C. Kuszmaul
1dcc0a39ad
Remove some output. Perhaps removed too much output. Maybe the individual test names should be printed as the test runs. For now, let's go for this extrema version, and see how it wears. Addresses #13
...
git-svn-id: file:///svn/tokudb@702 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-21 13:42:44 +00:00
Bradley C. Kuszmaul
4d20260c72
Remove some output. Addresses #13
...
git-svn-id: file:///svn/tokudb@701 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-21 13:26:08 +00:00
Bradley C. Kuszmaul
97e2e3ba53
Fix up error handling in tokulogger_create_and_open_logger
...
git-svn-id: file:///svn/tokudb@700 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-21 13:10:47 +00:00
Bradley C. Kuszmaul
5784ee45fb
Log header
...
git-svn-id: file:///svn/tokudb@699 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-21 13:07:49 +00:00
Yoni Fogel
facc1abc31
When checking openflags from an ondisk header, ignore DB_CREATE and DB_EXCL
...
git-svn-id: file:///svn/tokudb@695 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 22:07:25 +00:00
Yoni Fogel
673bd5458c
Error codes now propogate in log creation
...
git-svn-id: file:///svn/tokudb@694 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 22:06:10 +00:00
Yoni Fogel
e6cf81f3a9
Added additional testing to test_db_already_exists>
...
git-svn-id: file:///svn/tokudb@693 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 22:05:13 +00:00
Yoni Fogel
57570eda1f
Added X.run alias for X.bdbrun and X.tdbrun
...
git-svn-id: file:///svn/tokudb@692 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 22:04:49 +00:00
Yoni Fogel
e69541f377
Modified some tests, add set_lg_dir test.
...
git-svn-id: file:///svn/tokudb@691 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:42:16 +00:00
Yoni Fogel
0346c1fe5c
Error case for tmp_dir, error case for set_lg_dir, implemented error prefix.
...
git-svn-id: file:///svn/tokudb@690 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:40:51 +00:00
Bradley C. Kuszmaul
13f29b60cc
Make fopen parse, and log only the fname relative to the env, not the whole name with the env
...
git-svn-id: file:///svn/tokudb@689 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:20:05 +00:00
Yoni Fogel
5742ba3599
Fixed test_db_open_notexist_reopen
...
git-svn-id: file:///svn/tokudb@688 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:12:49 +00:00
Yoni Fogel
7fefdb87bf
Fixed test_db_env_set_errpfx
...
git-svn-id: file:///svn/tokudb@687 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 19:55:48 +00:00
Yoni Fogel
885fc269d3
Swapped toku_strdup for strdup
...
git-svn-id: file:///svn/tokudb@686 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 19:55:06 +00:00
Yoni Fogel
6171c85420
DB_ENV->set_lg_dir functionality added.
...
git-svn-id: file:///svn/tokudb@684 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 19:28:16 +00:00
Bradley C. Kuszmaul
c1c964a839
Log fcreate
...
git-svn-id: file:///svn/tokudb@683 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 13:58:47 +00:00
Bradley C. Kuszmaul
f67e4807ec
Remove a stray reference to an old name. Addresses #8
...
git-svn-id: file:///svn/tokudb@680 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:40:43 +00:00
Bradley C. Kuszmaul
b904eec0d7
Make all external symbols in brt-verify.o start with toku_. Addresses #8
...
git-svn-id: file:///svn/tokudb@679 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:35:31 +00:00
Bradley C. Kuszmaul
529339d357
Make all external symbols in primes.o start with toku_. Addresses #8
...
git-svn-id: file:///svn/tokudb@678 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:34:18 +00:00
Bradley C. Kuszmaul
fd2e07c904
Make all external symbols in pma.o start with toku_. Addresses #8
...
git-svn-id: file:///svn/tokudb@677 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:32:25 +00:00
Bradley C. Kuszmaul
252ec01833
Make all external symbols in key.o start with toku_. Addresses #8
...
git-svn-id: file:///svn/tokudb@676 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:02:51 +00:00
Bradley C. Kuszmaul
ff277a4b43
Make all external symbols in brt-serialize.o start with toku_. Addresses #8
...
git-svn-id: file:///svn/tokudb@675 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 23:54:17 +00:00
Bradley C. Kuszmaul
d7288dff0b
Make all external symbols in cachefile.o be start with toku_. Addresses #8
...
git-svn-id: file:///svn/tokudb@674 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 23:47:44 +00:00
Bradley C. Kuszmaul
f1b088cb8f
Check interprocess pthread rwlocks o see if they work. Fixes #4
...
git-svn-id: file:///svn/tokudb@671 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 22:01:16 +00:00
Rich Prohaska
9441c81dbc
git-svn-id: file:///svn/tokudb@668 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 21:27:13 +00:00
Bradley C. Kuszmaul
3b3687cf2d
verify that home exists
...
git-svn-id: file:///svn/tokudb@666 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 20:56:20 +00:00
Bradley C. Kuszmaul
01bcc08dbd
Some test cleanup
...
git-svn-id: file:///svn/tokudb@665 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 20:54:01 +00:00
Rich Prohaska
caad214427
use TOKU_DB_DUPSORT internally
...
git-svn-id: file:///svn/tokudb@664 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 20:22:56 +00:00
Rich Prohaska
70fc7b56fd
allow build with non default BDB
...
git-svn-id: file:///svn/tokudb@663 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 18:56:09 +00:00