Bradley C. Kuszmaul
55b3f5eb3a
Test for toku_os_pwrite to see if it can write beyond 4GB. Addresses #1519 .
...
git-svn-id: file:///svn/toku/tokudb@9777 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
93a8bf9922
Addresses #1360 Add db->row_size_supported(DB*,u_int32_t) function to aid handlerton
...
in determining if a table schema is supported (for size)
git-svn-id: file:///svn/toku/tokudb@9772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
dc51018816
Addresses #1514 Port #1514 to BDB
...
git-svn-id: file:///svn/toku/tokudb@9766 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
31fb1b855a
Addresses #1514 Added --1514 option to db-benchmark-test to test 1514 fix
...
git-svn-id: file:///svn/toku/tokudb@9743 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
7ddf7eda2d
Addresses #1378 Closes #1514 Any error (non zero, non DB_NOTFOUND) return from a search in a child results
...
in early ending of the search
git-svn-id: file:///svn/toku/tokudb@9741 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Rich Prohaska
62b3c90af4
epic table scans are much faster with prefetch 2 ahead. closes #1513
...
git-svn-id: file:///svn/toku/tokudb@9727 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Bradley C. Kuszmaul
df17da8bd9
Log the enqroot properly. Refs #1510 .
...
git-svn-id: file:///svn/toku/tokudb@9722 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Bradley C. Kuszmaul
5d9be4ddf1
Merge the simplified logging back to the main line, and get rid of the tokudb.1493a branch. Closes #1493 .
...
git-svn-id: file:///svn/toku/tokudb@9719 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Bradley C. Kuszmaul
59e5f1979b
Get scanrace back into the test suite, with a small enough test set to run fast. Refs #1469 .
...
git-svn-id: file:///svn/toku/tokudb@9718 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Bradley C. Kuszmaul
4257a03411
Double check that uses of snprintf inside brt code are OK. Refs #1508 .
...
git-svn-id: file:///svn/toku/tokudb@9717 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
a4a605488a
Addresses #1508 Fix build problem
...
git-svn-id: file:///svn/toku/tokudb@9715 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
319e60ebb0
Closes #1508 Write wrapper for [v]snprintf. Mimics linux version.
...
The windows wrapper will always null terminate.
It will return >= size if overflow, although it might return less than linux on overflow.
When overflowing by more than 1, it just indicates an overflow of 1.
git-svn-id: file:///svn/toku/tokudb@9714 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Rich Prohaska
6a9091ef34
test #ident : $
...
git-svn-id: file:///svn/toku/tokudb@9712 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
4a5c30be46
Addresses #1508 Added test that shows snprintf problem
...
git-svn-id: file:///svn/toku/tokudb@9701 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
bd0e1386f0
Addresses #1376 Clean up bundles in make clean
...
git-svn-id: file:///svn/toku/tokudb@9700 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Rich Prohaska
20393fcee5
print the brt node offset and size. closes #1506
...
git-svn-id: file:///svn/toku/tokudb@9682 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
2602cdad4c
Addresses #1504 Make windbg not be the default for windows tests
...
git-svn-id: file:///svn/toku/tokudb@9679 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Rich Prohaska
2a7eca3e3c
merge the read a block using a single read system call to main. closes #1500
...
git-svn-id: file:///svn/toku/tokudb@9667 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
0f8b5dcf7d
add VTUNE=1 option for profiling in windows
...
git-svn-id: file:///svn/toku/tokudb@9634 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Rich Prohaska
fc897e6a03
measure cache table wait time. addresses #1483
...
git-svn-id: file:///svn/toku/tokudb@9633 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
02a2649b01
Addresses #1032 Windows port of [9472],[9496],[9507]
...
git-svn-id: file:///svn/toku/tokudb@9632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
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