Commit graph

2110 commits

Author SHA1 Message Date
Yoni Fogel
fa572f7546 Gitignore
git-svn-id: file:///svn/toku/tokudb@9616 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
65d6cbdf88 Addresses #1497 Temporarily disable brt_cursor_(maybe_get_and_pin|unpin)_leaf
for performance reasons (till we have multiple main threads)

git-svn-id: file:///svn/toku/tokudb@9615 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
dc371bc36b build the locking-benchmarks on fedora9
git-svn-id: file:///svn/toku/tokudb@9614 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Yoni Fogel
6e483ac771 Fix windows Build
git-svn-id: file:///svn/toku/tokudb@9571 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
16e4da265f fix the tokudb build. closes #1491
git-svn-id: file:///svn/toku/tokudb@9554 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
80a577fcd4 linux icc found an expression error i the cursor test
git-svn-id: file:///svn/toku/tokudb@9538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
f13ffc5ccd compile with linux icc
git-svn-id: file:///svn/toku/tokudb@9537 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
4d98908e5a fix a couple of gcc 4.3.0 errors
git-svn-id: file:///svn/toku/tokudb@9535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Yoni Fogel
36b1539510 Addresses #1378 Finish merging scanrace.c
git-svn-id: file:///svn/toku/tokudb@9508 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Yoni Fogel
3b42b55489 Closes #1378 Merged all changes into main.
git-svn-id: file:///svn/toku/tokudb@9507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
96113fd83d add cache table hit and miss counters to the cachetable. closes #1483, closes #1457
git-svn-id: file:///svn/toku/tokudb@9496 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
c7530d0a6d protect the hash histogram. closes #1453
git-svn-id: file:///svn/toku/tokudb@9494 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
63bdae84b7 allow scanscan to work on mysql tables with a bigint primary key. addresses #1478
git-svn-id: file:///svn/toku/tokudb@9472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
d45059d592 remove scanrace from the check target in the db-benchmark-test Makefile as it will run forever. closes #1477
git-svn-id: file:///svn/toku/tokudb@9454 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
a79315d4ae merge 1469 to main, the cachetable evict from the main thread change. closes #1469, #1470
git-svn-id: file:///svn/toku/tokudb@9441 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Bradley C. Kuszmaul
89691573e0 Integrate the scanrace test into the makefile. Addresses #1470, #1469.
git-svn-id: file:///svn/toku/tokudb@9431 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Bradley C. Kuszmaul
945376b1b9 Create scanscan tester, which seems to bomb out, possibly due to #1470. Addresses #1470.
git-svn-id: file:///svn/toku/tokudb@9429 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
605f462cb4 fix a memory leak in the destroy function. addresses #1467
git-svn-id: file:///svn/toku/tokudb@9370 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Rich Prohaska
e360f5f18e merge the 1458 and 1465 branches to main. addresses #1458, #1465
git-svn-id: file:///svn/toku/tokudb@9363 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Yoni Fogel
a84973feaa Revert mistaken commit
git-svn-id: file:///svn/toku/tokudb@9361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Yoni Fogel
d1aab2ef76 Addresses #1463
Abstracted out the block translation table and the block allocator
into BLOCK_TABLE
All use is done by accessors surrounded by locks.


git-svn-id: file:///svn/toku/tokudb@9360 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Yoni Fogel
2e03ca920d Addresses #1381
Make test_abort4 XFAIL until feature is fixed

git-svn-id: file:///svn/toku/tokudb@9358 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04:00
Yoni Fogel
9156ad02ed Addresses #1463 Modified benchmark-test to check for more errors
git-svn-id: file:///svn/toku/tokudb@9350 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
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