John Esmet
3c0a9bcedd
refs #145 capture the node's height before calling finalize(), which is
...
the last point we may read the node variable safely.
2014-02-13 12:35:19 -05:00
John Esmet
8efe8d1175
refs #170 Add overall compression ratio. Add all compression ratios to
...
TOKU_GLOBAL_STATUS
2014-02-11 16:22:56 -05:00
John Esmet
ec1dc2dc22
fixes #170 Add compression ratio engine status values for leaf/nonleaf
...
disk bytes written. Need to add a 'double' engine status type, which
apparnetly exists in the union, but not as a type tag.
2014-02-11 14:28:08 -05:00
John Esmet
f7323d26d9
fixes #168 Run full garbage collection if promotion injects into a leaf
...
node and notices that it is over 32mb
2014-02-08 17:59:22 -05:00
Yoni Fogel
4d9ba2645a
fixes Tokutek/ft-index#163 frwlock is properly split into .h and .cc. Users only include .h
2014-01-29 22:09:33 -08:00
Yoni Fogel
168e12c7e9
Refs Tokutek/ft-index#159 Calculate klpair size correctly when message application deletes a leafentry
2014-01-27 21:02:34 -08:00
Yoni Fogel
30bf78b3fc
Refs Tokutek/ft-index#159 Calculate klpair size correctly when garbage collection deletes a leafentry
2014-01-27 20:58:43 -08:00
John Esmet
625d852692
fixes #145 Destroy resources outside of the pair's write lock during
...
partial eviction
2014-01-23 16:59:49 -05:00
John Esmet
75052cdc11
fixes #127 Add a class for scoped mallocs, which are satisfied from a
...
thread-local buffer when possible.
2014-01-23 16:57:04 -05:00
John Esmet
fbc1f5933e
fixes #146 Add context class and track the current writer/context in the
...
frwlock
2014-01-22 13:18:49 -05:00
John Esmet
8fc37abdcd
fixes #156 Add a parameter for the nonleaf partial eviction strategy
2014-01-22 12:56:45 -05:00
John Esmet
e1a82f88ab
fixes #142 Always use quicklz when partially evicting an internal node
...
partition
2014-01-21 13:04:35 -05:00
John Esmet
773bb8c945
fixes #132 Calculate size delta statistics once during the partial
...
eviction callback
2014-01-21 13:04:35 -05:00
John Esmet
ed9b5fc676
fixes #140 Pre-size the fifo before appending data during nonleaf
...
serialization. Assume the fifo is about 1kb larger than the read buffer
(in practice, the fifo is 5 bytes smaller than the read buffer).
2014-01-21 13:02:59 -05:00
John Esmet
84fa905d8d
fixes #130 Create basement nodes and non-leaf message trees using
...
create_no_array() so that deserialization does not malloc/free needlessly.
2014-01-21 12:59:58 -05:00
John Esmet
d000732ab4
fixes #151 Do not send commit messages for fractal tree update commands
2014-01-21 12:59:46 -05:00
John Esmet
2e190e0631
fixes #152 Add accounting for long input buffer wait stalls in the
...
logger
2014-01-21 12:59:34 -05:00
John Esmet
96a2a6fc96
fixes #134 Add the get/set/change_fanout API
2014-01-09 14:34:23 -05:00
John Esmet
23fa28bbbe
fixes #135 Don't hold the write list lock while evicting a node
2014-01-07 17:29:07 -05:00
John Esmet
96afd28faa
fixes #131 Don't hold the pair's mutex while running partial eviction.
2014-01-07 15:10:51 -05:00
Rich Prohaska
f64edcc463
#137 error out env->open when worker threads can not be created
2014-01-06 16:58:22 -05:00
John Esmet
bd5111d7c5
refs #123 Touch the pair regardless of TOKUDB_TRY_AGAIN, to make the
...
clock behavior more consistent with the rest of the code.
2013-12-31 13:23:52 -05:00
John Esmet
8664a78ebb
refs #123 Touch the clock on a successful pin in maybe_pin_pair()
2013-12-31 12:04:39 -05:00
Leif Walsh
d1bef7992e
fixed osx compilation breakage due to format strings
2013-12-23 19:23:20 -05:00
Leif Walsh
c99ee6b919
fixed some invalid parameter passing discovered by clang Tokutek/mongo#869
...
TXNID_NONE is not the same as (TOKUTXN) 0
2013-12-21 19:01:09 -05:00
Leif Walsh
9f59d06843
added cpack component identifications to all install targets Tokutek/mongo#869
2013-12-20 17:58:48 -05:00
Leif Walsh
47b4a0fb4c
Merge branch 'osx'
2013-12-17 18:29:10 -05:00
Leif Walsh
b234a26410
fixed some minor issues OSX complains about Tokutek/mongo#859
2013-12-17 18:29:06 -05:00
Rich Prohaska
ad2f063d99
#119 translate CRNL to NL
2013-12-16 15:12:51 -05:00
Zardosht Kasheff
6721a2c1e7
Merge branch 'bugs/115'
2013-12-09 15:46:56 -05:00
Zardosht Kasheff
41364a4ba8
refs #115 , don't allow mempools to grow unbounded by restricting their size in
...
omt_compress_kvspace.
2013-12-09 15:46:49 -05:00
Zardosht Kasheff
046f70889d
Merge branch 'bugs/113'
2013-12-06 15:01:39 -05:00
Zardosht Kasheff
439e846e3d
refs #113 , add a callback function to the cursor to check for interrupts.
...
This allows callers to prevent a cursor that churns through many many committed
deletes to run amok.
2013-12-06 15:01:28 -05:00
Leif Walsh
a0aa7c8558
changed logformat to link statically with portability #112
...
fixes #112
2013-12-04 11:26:20 -05:00
Rich Prohaska
78bfa5e78c
#107 use frwlock as checkpoint_safe_lock
2013-11-18 09:31:36 -05:00
Leif Walsh
f5ca05e283
Merge pull request #100 from Tokutek/mongo/650
...
remove fullhash from rollback_log_nodes
fixes Tokutek/mongo#650
2013-11-05 13:28:58 -08:00
Yoni Fogel
a3dec7add8
Refs Tokutek/mongo#650 simplify test, fix comments
2013-11-05 08:33:08 -08:00
Yoni Fogel
4d89b184e5
Add case for new version
2013-11-04 22:17:02 -05:00
Yoni Fogel
6120239edf
Refs Tokutek/mongo#650 Remove fullhash from rollback_log_nodes; fixes issue with large (or childful) transactions during recovery due to hash_id and filenum being decoupled
2013-11-04 22:17:01 -05:00
zkasheff
b5d8ed6066
refs Tokutek/mongo#645 , change signature of hot_optimize to have output variable
...
of number of loops run
2013-10-21 16:02:14 -04:00
John Esmet
7944bc8a34
Fix build
2013-10-09 11:57:53 -04:00
Zardosht Kasheff
548bc646b2
refs #78 for minicrons with a period of longer than one second (checkpoints),
...
change minicron to count the period from the beginning of
the callback's execution and not the end. For checkpoints, this makes them
reliably start every 60 seconds.
2013-10-07 10:17:03 -04:00
Zardosht Kasheff
6e60da0886
refs #84 , remove some shared variables from logger
2013-10-07 10:16:03 -04:00
rich prohaska
d067419ae9
tokutek/ft-index#80 tokutek/ft-engine#94 impose an upper bound on loader memory reservations
2013-10-07 08:35:52 -04:00
Rich Prohaska
2796c2d35c
tokutek/ft-index#76 add US Patent 8,489,638
2013-10-04 16:49:53 -04:00
Zardosht Kasheff
77903f0860
refs #61 , fix locking bug, add write list lock before reintegrating PAIRs into the cachetable on a open
2013-10-04 11:34:49 -04:00
Zardosht Kasheff
64cdcbc261
refs #61 ,
...
- have closed cachefiles not immedietely free pairs, but set them to the side
- leave freeing of pairs to the evictor and/or shutdown
- should a cachefile be reopened before all pairs are freed,
the pairs belonging to that cachefile are reintegrated into the cachetable
2013-10-02 09:53:00 -04:00
Zardosht Kasheff
bdd2260da3
This checkin was meant for a branch. Undoing
...
Revert "stuff"
This reverts commit 2423c9d0ef
.
2013-09-26 11:33:47 -04:00
Zardosht Kasheff
51495a5493
stuff
2013-09-26 11:27:25 -04:00
Zardosht Kasheff
fbadc9f864
refs #61 , remove test helper function toku_cachefile_flush,
...
fix tests that use it to not need it
2013-09-26 11:10:12 -04:00