Yoni Fogel
67fa6c4c0c
[t:2542] cleaner way of holding ydb lock around pre_acquire_table_lock
...
git-svn-id: file:///svn/toku/tokudb@19587 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
a188bda42e
closes[t:2542] Fix bug in loader: need to hold ydb lock around pre_acquire_table lock
...
Let LOADER_USE_PUTS trigger #2440 optimization. DB_PRELOCKED_WRITE in loader flags prevents pre_acquire_table_lock from being called
git-svn-id: file:///svn/toku/tokudb@19586 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
0b550d3907
makefile improvements for src/tests
...
git-svn-id: file:///svn/toku/tokudb@19584 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
4fd875030a
makefile improvements for src/tests
...
git-svn-id: file:///svn/toku/tokudb@19583 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
7979395fba
[t:2539] Modified makefiles to behave for gcc 4.4.1.
...
Fixed code to remove warnings (checked result of 'system()' and printf warnings)
git-svn-id: file:///svn/toku/tokudb@19560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
2657367d80
makefile improvements
...
git-svn-id: file:///svn/toku/tokudb@19554 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
060e15681e
[t:2538] Fix memset usage
...
git-svn-id: file:///svn/toku/tokudb@19553 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
4711f8dffc
Removed non-literal format from snprintf
...
git-svn-id: file:///svn/toku/tokudb@19552 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Rich Prohaska
3f35cb893b
change block format to support leaf partitions closes[t:2351]
...
git-svn-id: file:///svn/toku/tokudb@19500 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
85192a46d0
[t:2350] Disable txn_nested5 test for bdb
...
git-svn-id: file:///svn/toku/tokudb@19488 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
51adc924a5
[t:2440] Fix memory leak
...
git-svn-id: file:///svn/toku/tokudb@19487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
21d2578b25
closes[t:2350] Add ydb-layer insert ignore test
...
closes[t:2350] Add comments
git-svn-id: file:///svn/toku/tokudb@19466 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
6ae9156719
[t:2440] Add commit progress to local checkpoint
...
git-svn-id: file:///svn/toku/tokudb@19461 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Yoni Fogel
54ae26e465
git ignore
...
git-svn-id: file:///svn/toku/tokudb@19460 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
8c34dda452
closes[t:2440] Merge #2440 to main.
...
closes[t:2512] merge #2512 to main
Delete dev branch
git-svn-id: file:///svn/toku/tokudb@19439 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Rich Prohaska
02f3b82718
rename toku_test_db_redirect closes[t:2519]
...
git-svn-id: file:///svn/toku/tokudb@19425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
a03e6093e4
[t:2493] Port filesystem redzone to windows
...
git-svn-id: file:///svn/toku/tokudb@19294 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
387d65c15e
[t:2517] Minor fix to allow build after windows port
...
git-svn-id: file:///svn/toku/tokudb@19293 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
3bb1ede015
[t:2517] utils and db-benchmark-test now compile statically only for windows
...
git-svn-id: file:///svn/toku/tokudb@19292 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
0ea12bb45b
[t:2517] Disable dynamic library for windows
...
git-svn-id: file:///svn/toku/tokudb@19289 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
7b2cc84ac9
closes[t:2515] Accurately distinguish between 32bit and 64bit windows
...
git-svn-id: file:///svn/toku/tokudb@19288 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Barry Perlman
1961aa0696
[t:2504] Restored function toku_ltm_get_max_locks() needed by tests.
...
git-svn-id: file:///svn/toku/tokudb@19282 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Barry Perlman
c4ca0a7256
[t:2504] Added range lock escalation success/failure counts to engine status.
...
git-svn-id: file:///svn/toku/tokudb@19267 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Rich Prohaska
60d43a6d82
fix cachetable unpin and remove refs[t:2507]
...
git-svn-id: file:///svn/toku/tokudb@19264 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
4c7d34d0f3
[t:2449] Bugfix in cachetable pairs for rollback log nodes.
...
We were using TOKUTXNs as the extraarg, but the TOKUTXN struct could be freed while the pair is still in memory.
We only used the TOKUTXN to get the cachefile and header. We already are given the cachefile, so we
made the extraargs be the header
git-svn-id: file:///svn/toku/tokudb@19238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
65f91e8663
Windows port minor changes
...
git-svn-id: file:///svn/toku/tokudb@19227 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
fffb7ba30a
[t:2506] [t:2507] Fix metadata (size writing) during write_pair_for_checkpoint
...
Also initialize the work item in the pair even if we actually are writing it.
Fix crash in getting size of empty FILENUMS
git-svn-id: file:///svn/toku/tokudb@19200 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
43aea2f126
[t:2449] do lru_touch on prefetch
...
git-svn-id: file:///svn/toku/tokudb@19195 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
2f1711d2a6
[t:2506] [t:2507] Forgot to initialize workitem for write_pair_for_checkpoint when enqueueing on cq
...
git-svn-id: file:///svn/toku/tokudb@19194 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
0632ad4288
[t:2449] Add prefetching of rollback logs to speed up commit/abort processing
...
git-svn-id: file:///svn/toku/tokudb@19190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
8bd25c46ab
[t:2506] [t:2507] Fix locking mechanism for unpin_and_remove
...
We mistakenly thought that the workqueue lock was the same as the cachetable lock
git-svn-id: file:///svn/toku/tokudb@19188 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
3550e7dd38
[t:2506] [t:2507] Fix bug in toku_cachetable_unpin_and_remove
...
write_pair_for_checkpoint now uses completion queue if set
git-svn-id: file:///svn/toku/tokudb@19187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
a5a29dbda6
[t:2506] [t:2507] Fix bug in toku_cachetable_unpin_and_remove
...
Correctly handles a blocked writer (checkpoint). it checked state before state was set,
so incorrectly thought that there was never a blocked writer
git-svn-id: file:///svn/toku/tokudb@19186 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
e521486e82
[t:2506] [t:2507] Added some temporary asserts
...
git-svn-id: file:///svn/toku/tokudb@19182 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:06 -04:00
Yoni Fogel
1bf7a7a403
closes[t:2449] [t:2484] Merge #2449 changes to main.
...
Rollback logs are now checkpointed. There are no rolltmp files.
git-svn-id: file:///svn/toku/tokudb@19167 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
bf8e181e9e
refs[t:2483] dont run recover-2483 with BDB
...
git-svn-id: file:///svn/toku/tokudb@19165 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
1c3241f9dc
closes[t:2505] Clean up makefiles. Remove support for old versions of valgrind (older than ~3.5)
...
git-svn-id: file:///svn/toku/tokudb@19137 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
667e46d60c
closes[t:2483] Fix recovery bug in loader.
...
checkpoint_lsn written to headers made by loader are now the fsynced 'load' log entry's lsn instead of MAX_UINT64
git-svn-id: file:///svn/toku/tokudb@19136 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
56f23bc1ea
[t:2483] Upgrade 2483 test to use loader
...
git-svn-id: file:///svn/toku/tokudb@19135 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
c9d3ca5806
[t:2483] Add test for 2483.. currently fails in valgrind
...
git-svn-id: file:///svn/toku/tokudb@19133 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
b258f3744d
fix tests broken by new inames refs[t:2502]
...
git-svn-id: file:///svn/toku/tokudb@19113 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Yoni Fogel
5a37ca9fcd
closes[t:2502] Implement rot13 on the hint for inames
...
git-svn-id: file:///svn/toku/tokudb@19100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
1440b4a3b9
merge -r 18992:head ptq to main refs[t:2351]
...
git-svn-id: file:///svn/toku/tokudb@19099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
a9f3970f41
[t:2494], add test to BDB_DONTRUN_SOMETHING
...
git-svn-id: file:///svn/toku/tokudb@19092 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
6bd25a4317
[t:2494], fix some leaks in the test
...
git-svn-id: file:///svn/toku/tokudb@19089 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
db6f126b7a
[t:2494], fix some leaks in the test
...
git-svn-id: file:///svn/toku/tokudb@19088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Zardosht Kasheff
a87006b10c
[t:2494], merge read committed to main
...
git-svn-id: file:///svn/toku/tokudb@19073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
95035e9dde
fix some icc on linux errors in the fractal tree refs[t:2500]
...
git-svn-id: file:///svn/toku/tokudb@18997 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
e9bd5c759f
fix some icc on linux errors in the fractal tree refs[t:2500]
...
git-svn-id: file:///svn/toku/tokudb@18994 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
f6749714bc
fix some icc on linux errors in the fractal tree refs[t:2500]
...
git-svn-id: file:///svn/toku/tokudb@18993 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00