Yoni Fogel
95547ee4ac
Addresses #1032
...
Port makefile and db-benchmark-test to windows
git-svn-id: file:///svn/toku/tokudb@9285 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Rich Prohaska
501a0afbc6
prefetch the next block that is right after a leaf. closes #1455
...
git-svn-id: file:///svn/toku/tokudb@9273 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Rich Prohaska
b2edeaa403
fix the build. dont compile test_abort4 with BDB. closes #1454
...
git-svn-id: file:///svn/toku/tokudb@9272 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
888dfb9c3e
Addresses #1381
...
Add test test_abort5.c which is the same as test_abort4.c except
that the inserts are done by a child transaction instead foof the main transaction
We also abort the transaction in all ways (parent first, child first, both)
Fixed memory leak in test_abort4.c
git-svn-id: file:///svn/toku/tokudb@9267 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
899cff89b8
Addresses #1381
...
Fix test (use transaction for cursor)
git-svn-id: file:///svn/toku/tokudb@9265 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
d462c46f36
Addresses #1381
...
Add test for no rolltmp files
git-svn-id: file:///svn/toku/tokudb@9262 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
668cd65667
Use BDBDIR to make #1426 test run. Addresses #1426 .
...
git-svn-id: file:///svn/toku/tokudb@9253 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
1a154b66c4
D'oh. I forgot to check in the change that Fixes #1426 .
...
git-svn-id: file:///svn/toku/tokudb@9252 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
ac746cc08c
Candidate fix for #1447 . Addresses #1447 .
...
git-svn-id: file:///svn/toku/tokudb@9251 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Rich Prohaska
15c72572c9
replace creat calls per changeset 9237. closes #1448
...
git-svn-id: file:///svn/toku/tokudb@9244 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
166e1e4281
Addresses #1426
...
Partial port of test1426 to windows
git-svn-id: file:///svn/toku/tokudb@9240 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
84e3f1be9e
Addresses #1443
...
Re-introduce the behavior that rollback_fcreate removes references to fd from lock tree
before deleting the file
This fixes regressions for windows in transaction abort tests
git-svn-id: file:///svn/toku/tokudb@9239 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
e4dc9128bd
Addresses #1324
...
Port test to windows
git-svn-id: file:///svn/toku/tokudb@9237 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
93ead7ef49
Addresses #1442
...
Updated svn ignore
Src tests (in windows) now link statically, so they must call ydb_init/destroy
git-svn-id: file:///svn/toku/tokudb@9236 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
0207163a80
Addresses #1442
...
Use MT instead of MD by default for windows.
In windows, newbrt and src tests use static libraries (pre-ipo with optimization, standard without)
git-svn-id: file:///svn/toku/tokudb@9235 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
6a115f27c5
Addresses #1396
...
Used safer code for dirty bit (snprintf with asserts that there are no overflows)
git-svn-id: file:///svn/toku/tokudb@9230 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
f470a45bcf
Revert "Addresses #1298 "
...
This reverts commit 5fa57d593d531a7ddc2f59afa4b082da46b00bbf.
git-svn-id: file:///svn/toku/tokudb@9229 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
74459586a0
Updated git ignore files
...
git-svn-id: file:///svn/toku/tokudb@9228 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
566d68bfa5
Addresses #1298
...
make local (at top level) skips tests
git-svn-id: file:///svn/toku/tokudb@9227 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
8eb17bcc21
Closes #1355
...
Removed st_creat from fileid for windows
git-svn-id: file:///svn/toku/tokudb@9222 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
c1ea905c09
Clean up the dirty flags when deleting the tdb files. Addresses #1396 .
...
git-svn-id: file:///svn/toku/tokudb@9208 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
e9196e0647
Improve make setup for 1426. Addresses #1426 .
...
git-svn-id: file:///svn/toku/tokudb@9207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
86144f361a
Improve make setup for 1426. Addresses #1426 .
...
git-svn-id: file:///svn/toku/tokudb@9206 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
b504e75bb3
Make clean a little better. Addresses #1426 .
...
git-svn-id: file:///svn/toku/tokudb@9205 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Bradley C. Kuszmaul
0d56175ef2
Wrote a test for #1426 . And fixed it. Fixes #1426 .
...
git-svn-id: file:///svn/toku/tokudb@9204 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
eb62b47799
Addresses #1433
...
Set test_db_remove to XFAIL on tokudb
git-svn-id: file:///svn/toku/tokudb@9175 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Rich Prohaska
e87db9ce86
exempt setup_dlmalloc. fixes #1429
...
git-svn-id: file:///svn/toku/tokudb@9172 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
97e5fa158d
Addresses #1378
...
dbremove will delete dirty dbs (if no subname)
git-svn-id: file:///svn/toku/tokudb@9151 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
23acaa97ba
Addresses #1396
...
Opening a DB dirties it.
git-svn-id: file:///svn/toku/tokudb@9144 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
c3e504bdbb
Addresses #1032
...
Remove portability layer from static_libtokudb.lib and ipo_libtokudb.lib
git-svn-id: file:///svn/toku/tokudb@9140 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Rich Prohaska
0cf3ded1b1
merge the brt prefetch changes to the main trunk. closes #1183
...
git-svn-id: file:///svn/toku/tokudb@9135 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
eefff9b2c7
Fix windows build (time.h missing)
...
git-svn-id: file:///svn/toku/tokudb@9133 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Rich Prohaska
4a37ee2e02
make setup_dlmalloc visible. addresses #1377
...
git-svn-id: file:///svn/toku/tokudb@9132 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Rich Prohaska
e702eaedfe
fix a build problem. addresses #1396
...
git-svn-id: file:///svn/toku/tokudb@9115 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Zardosht Kasheff
4fce91b292
addresses BUILD
...
fix windows build
git-svn-id: file:///svn/toku/tokudb@9114 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
fd23067f99
Addresses #1396
...
Dirty a db when it is truncated
git-svn-id: file:///svn/toku/tokudb@9113 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
ab76ea5007
Fix windows build
...
git-svn-id: file:///svn/toku/tokudb@9112 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
a0a592f71a
Addresses #1396
...
make clean in newbrt now cleans up dirty/clean files
Update ignore to ignore dirty/clean bits
git-svn-id: file:///svn/toku/tokudb@9111 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
83eee5663a
Addresses #1396
...
Merge tokudb.1396 back into main
git-svn-id: file:///svn/toku/tokudb@9110 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Bradley C. Kuszmaul
14bdceffe6
Get rid of {{{DB_PREV_DUP}}} from the 4.6 version of {{{db.h}}}. Addresses #1412 .
...
git-svn-id: file:///svn/toku/tokudb@9109 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Bradley C. Kuszmaul
2ab7473d74
First part of #1412 (update the db.h file to be compatible with bdb 4.6. Addresses #1412 .
...
git-svn-id: file:///svn/toku/tokudb@9102 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Bradley C. Kuszmaul
13f58a004f
test1324 should not run under bdb. Addresses #1324 .
...
git-svn-id: file:///svn/toku/tokudb@9101 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Yoni Fogel
e25bbcec29
Addresses #1377
...
Export setup_dlmalloc
git-svn-id: file:///svn/toku/tokudb@9095 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Bradley C. Kuszmaul
a891e96918
Remove rolltmp files during recovery. Fixes #1324 .
...
git-svn-id: file:///svn/toku/tokudb@9090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Rich Prohaska
80599b87fd
fix a memory leak in the cache table. addresses #1183
...
git-svn-id: file:///svn/toku/tokudb@9074 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Rich Prohaska
e904ed90be
ignore DB_PREV_DUP for now. addresses #1412
...
git-svn-id: file:///svn/toku/tokudb@9065 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00
Rich Prohaska
45eed6a919
merge tokudb.1183 to main. addresses #1183
...
git-svn-id: file:///svn/toku/tokudb@9061 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:38 -04:00
Rich Prohaska
908ad92c45
fix an obsolete assert. closes #1413
...
git-svn-id: file:///svn/toku/tokudb@9060 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:38 -04:00
Bradley C. Kuszmaul
1f796663cd
Check in the code for compressing the rolltmp file.
...
This was a tricky merge. In the 1332a directory I did:
{{{
svn merge https://svn.tokutek.com/tokudb/toku/tokudb.1032b+1332@8415 https://svn.tokutek.com/tokudb/toku/tokudb.1032b+1332@8416
}}}
Then I was able to resolve the conflicts.
Then in the main line I did:
{{{
svn merge -r9042:9046 https://svn.tokutek.com/tokudb/toku/tokudb.1332a
}}}
Fixes #1332 .
git-svn-id: file:///svn/toku/tokudb@9047 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:38 -04:00
Bradley C. Kuszmaul
d51bc82a86
Turn on higher compression ( #1192 ), increase block size ( #1168 ), and provide a way to measure workqueue fullness ( #1399 ).
...
Fixes #1168 , #1192 , #1399 .
{{{
svn merge -r8927:9039 https://svn.tokutek.com/tokudb/toku/tokudb.1399
}}}
and resolve conflicts.
git-svn-id: file:///svn/toku/tokudb@9040 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:38 -04:00